Search Results

Search: Posts Made By: markkusi
2,038
Posted By markkusi
Learn Perl! It's the only shell language you...
Learn Perl!
It's the only shell language you have to learn.
You can do "anything" with it!
14,681
Posted By markkusi
My remarks was about your first message: ...
My remarks was about your first message:

d=`df -k |awk '{print $5}' | egrep "[5-9][0-9]" | cut -c-2`
if [ "$d" == "50" ]
then
echo "DISK SPACE STATUS :NOT OK" >>...
14,681
Posted By markkusi
There are at least two errors with your script. ...
There are at least two errors with your script.

1. The if-line compares with exactly 50. But if your disk is 51%, it will not discover that.

2. Your df-command line will display several lines,...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 02:42 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy