- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Monitoring disk space usage
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2006 05:48 AM
тАО02-21-2006 05:48 AM
Solved! Go to Solution.
- Tags:
- bdf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2006 05:51 AM
тАО02-21-2006 05:51 AM
Re: Monitoring disk space usage
start with
# bdf
# du -akx | sort -n
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2006 05:53 AM
тАО02-21-2006 05:53 AM
Re: Monitoring disk space usage
http://directory.fsf.org/diskfree.html
Or create a shell script based on bdf.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2006 06:23 AM
тАО02-21-2006 06:23 AM
Re: Monitoring disk space usage
There are several HP products that will do monitoring and send you email.
EMS is one.
You can find out more information about it here:
http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B8678BA:B7612-90009
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2006 06:49 AM
тАО02-21-2006 06:49 AM
Re: Monitoring disk space usage
/etc/opt/resmon/lbin/monconfig
and you can setup monitoring that will e-mail the results. You can setup a mail alias in /etc/mail/aliases to point to an external mail address, provided you have sendmail or something similar running point to a pop3 mail server.
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2006 08:13 AM
тАО02-21-2006 08:13 AM
Re: Monitoring disk space usage
bdf, df, du are most of the commands which can help you to monitor the file stems manually. How ever you can make use of EMS to report the statistics.
And also there are many freewares available in net like "Big Brother" which helps you to give graphical display alerts. Better try it, it's good tool
Regards,
Sunil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2006 08:27 AM
тАО02-21-2006 08:27 AM
Re: Monitoring disk space usage
http://www.bb4.org/
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2006 09:22 AM
тАО02-21-2006 09:22 AM
Re: Monitoring disk space usage
you cand download it and check it out more here:
http://bb4.org
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2006 09:24 AM
тАО02-21-2006 09:24 AM
Re: Monitoring disk space usage
you can download it and check it out more here:
http://bb4.org
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2006 09:30 AM
тАО02-21-2006 09:30 AM
SolutionIf the disk usage is above 89% I get paged.
Could easily be change to send email to me
just change techpgr@domain.com to mylogin@domain.com
#!/usr/bin/ksh
/usr/bin/bdf -l | grep -iv filesystem |
awk '{if (NF!=1){if (NF==5){print $4"\t" $5"\t"}
else{print $5"\t\t" $6"\t"}}}' |
sed 's/'%'/''/' > /tmp/bdf_info
#
function check {
while read percent dir
do
if [[ $percent -ge 89 ]] ; then
echo "File system full-`hostname`:$dir is at $percent%" | /usr/bin/mailx -s "Server disks" t
echpgr@domain.com
fi
done
} < /tmp/bdf_info
check
rm /tmp/bdf_info