- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: MRTG and GCC for HPUX 11.11
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
Forums
Discussions
Discussions
Discussions
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
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
05-25-2004 03:55 AM
05-25-2004 03:55 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2004 03:57 AM
05-25-2004 03:57 AM
SolutionMRTG:
http://hpux.cs.utah.edu/hppd/hpux/Networking/Admin/mrtg-2.10.13/
GCC:
http://hpux.cs.utah.edu/hppd/hpux/Gnu/gcc-3.3.2/
HTH
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2004 07:17 AM
05-25-2004 07:17 AM
Re: MRTG and GCC for HPUX 11.11
The disk part reads a file generated from the following out of cron every 5 minutes:
# cat /usr/local/bin/mrtg-disk
#!/bin/sh
# check root disk on $SERVER
SERVER=`uname -n`
LOG=/tmp/$SERVER.disk.mrtg
# MRTG scripts are supposed to print 4 values, each on a line. The first
# two are the 2 that are graphed. The third is a string showint the uptime
# "in any human readable format". The fourth is "the name of the target".
df -k / |grep "total allocated" |awk '{print $5/1024}' >$LOG
df -k / |grep "free allocated" |awk '{print $1/1024}' >>$LOG
uptime | awk '{print $3,$4,$5}' |sed s/,//g >>$LOG
echo $SERVER >>$LOG
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2004 04:41 PM
05-25-2004 04:41 PM
Re: MRTG and GCC for HPUX 11.11
Cheers,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2007 02:53 AM
04-18-2007 02:53 AM