Link to home
Start Free TrialLog in
Avatar of Sid ikram
Sid ikram

asked on

Bash command to generate email alert on DC hard size is low in percentage

i want bash commands to generate alerts for my DC server hard drive size with percentage like

drive total-size free-size  %
C           200          100       50%


kindly help.
ASKER CERTIFIED SOLUTION
Avatar of MURUGESAN N
MURUGESAN N
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
@Sid ikram
Question inactive for 14 days.
If receiving same mail again, given solution will be accepted forcefully.
Closing this query since question being inactive.
Also include full path for
bdf or du or any commands.
[code]
/bin/ls -ld /*/*/bdf /*/*/du /*/bdf /*/du 2>/dev/null
[/code]