source: trunk/DataCheck/CheckDU.sh@ 12551

Last change on this file since 12551 was 12548, checked in by Daniela Dorner, 13 years ago
added (script to check disk usage on data taking machines)
  • Property svn:executable set to *
File size: 223 bytes
Line 
1#!/bin/bash
2
3diskusage=( `df /loc_data | grep /loc_data` )
4# check if more than 100 GB are left on /loc_data
5if [ ${diskusage[2]} -lt 104857600 ]
6then
7 echo "WARN less than 100 GB left on /loc_data on node "$HOSTNAME
8fi
9
Note: See TracBrowser for help on using the repository browser.