HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- mrtg monitoring of HP UX 11.23 OS
Operating System - HP-UX
1830568
Members
2748
Online
110014
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
11-26-2004 05:56 AM
11-26-2004 05:56 AM
hi,
I run MRTG to monitor router network traffic. Can any one please guide me how to use MRTG to monitor the memory, page, and disk io in my RX 2600 server which uses HP UX 11.23.
will be very grateful.
regards,
Jawed
I run MRTG to monitor router network traffic. Can any one please guide me how to use MRTG to monitor the memory, page, and disk io in my RX 2600 server which uses HP UX 11.23.
will be very grateful.
regards,
Jawed
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2004 08:41 AM
11-26-2004 08:41 AM
Solution
Hi Jawed,
If you are already using MRTG, then all you have to do is to run the programs that feed data to mrtg.
For Memory, you can 'vmstat' and graph 'free memory' and 'page outs'. Your target will be the command below.
Target[memory]:`vmstat |tail -1 |awk '{printf "%d\n%d\n%d\n%d\n", $5,$9,0,0}'`
It yields four values as required by mrtg like
70
2
0
0
First two are free memory in MB and pageouts respectively. You need two more zeroes as required by mrtg.
Disk IO is complicated. Since mrtg allows only two variables to be graphed, you will have to satisfy yourself with 'sar -d'. I would draw Number of IOs and the total data transferred using the following command.
Target[disk]:`sar -d 2 2 |awk '/Average/ {iosum += $5;datasum += $6} END {printf "%d\n%d\n%d\n%d
\n", iosum,datasum/2048,0,0}'`
490
5
0
0
First two values are number of IOs and MB of data transferred to/from the disk system.
If you want to graph multiple values, you can consider 'rrd' by the same author Tobias. You can find it at the same page.
There are some graphing tools available at HP's porting site that you can make use of.
-Sri
If you are already using MRTG, then all you have to do is to run the programs that feed data to mrtg.
For Memory, you can 'vmstat' and graph 'free memory' and 'page outs'. Your target will be the command below.
Target[memory]:`vmstat |tail -1 |awk '{printf "%d\n%d\n%d\n%d\n", $5,$9,0,0}'`
It yields four values as required by mrtg like
70
2
0
0
First two are free memory in MB and pageouts respectively. You need two more zeroes as required by mrtg.
Disk IO is complicated. Since mrtg allows only two variables to be graphed, you will have to satisfy yourself with 'sar -d'. I would draw Number of IOs and the total data transferred using the following command.
Target[disk]:`sar -d 2 2 |awk '/Average/ {iosum += $5;datasum += $6} END {printf "%d\n%d\n%d\n%d
\n", iosum,datasum/2048,0,0}'`
490
5
0
0
First two values are number of IOs and MB of data transferred to/from the disk system.
If you want to graph multiple values, you can consider 'rrd' by the same author Tobias. You can find it at the same page.
There are some graphing tools available at HP's porting site that you can make use of.
-Sri
You may be disappointed if you fail, but you are doomed if you don't try
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2004 06:06 PM
11-27-2004 06:06 PM
Re: mrtg monitoring of HP UX 11.23 OS
dear sir,
thanks..my problem is solved..you have given me a path to proceed on. now I think I can fiddle around with the config maker and get what I want.
once again thanks
Jawed
thanks..my problem is solved..you have given me a path to proceed on. now I think I can fiddle around with the config maker and get what I want.
once again thanks
Jawed
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP