We help IT Professionals succeed at work.

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

Sid ikram
Sid ikram asked
on
43 Views
Last Modified: 2017-05-07
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.
Comment
Watch Question

Application Development and Automation Management
CERTIFIED EXPERT
Commented:
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION
MURUGESAN NApplication Development and Automation Management
CERTIFIED EXPERT

Commented:
@Sid ikram
Question inactive for 14 days.
If receiving same mail again, given solution will be accepted forcefully.
MURUGESAN NApplication Development and Automation Management
CERTIFIED EXPERT

Commented:
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]