|
Last change
on this file since 12552 was 12548, checked in by Daniela Dorner, 14 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 |
|
|---|
| 3 | diskusage=( `df /loc_data | grep /loc_data` )
|
|---|
| 4 | # check if more than 100 GB are left on /loc_data
|
|---|
| 5 | if [ ${diskusage[2]} -lt 104857600 ]
|
|---|
| 6 | then
|
|---|
| 7 | echo "WARN less than 100 GB left on /loc_data on node "$HOSTNAME
|
|---|
| 8 | fi
|
|---|
| 9 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.