- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: function libraries for gathering system resour...
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
12-31-2008 02:47 PM
12-31-2008 02:47 PM
I'm looking for info on the function libraries that are used to collect data on system resource usage. I'm specifically looking for info on stuff like cpu usage, paging, network usage, etc.
Yes, I am familiar with all of the various utilities like sar, vmstat, swapinfo, iostat, netstat, uptime, etc. These will not work for my needs as they are too slow.
I would be very grateful if you could point me in the right direction.
thanks,
kev
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2008 03:04 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2008 03:07 PM
12-31-2008 03:07 PM
Re: function libraries for gathering system resource usage?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2008 03:19 PM
12-31-2008 03:19 PM
Re: function libraries for gathering system resource usage?
> What is DSPP?
http://h21007.www2.hp.com/portal/site/dspp
...which Google would have found :-)
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2008 03:30 PM
12-31-2008 03:30 PM
Re: function libraries for gathering system resource usage?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2009 09:50 AM
01-07-2009 09:50 AM
Re: function libraries for gathering system resource usage?
Happy New Year to you all!
I appreciate all of the replies so far and it looks like the pstat() interface is what I'm looking for.
I've looked at the man pages, and the .h files, and the examples and I've gotten most of my stuff working at this point.
I am still working on one final piece: obtaining the cpu usage. From the interface it looks as though one must collect the cpu usage of each currently active process and then add it up. Does that make sense or am I totally clueless?
kev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2009 10:16 AM
01-07-2009 10:16 AM
Re: function libraries for gathering system resource usage?
In the event that you haven't seen this, here it is:
http://docs.hp.com/en/1216/pstat_whitepaper.pdf
I had forgotten, and the whitepaper suggests, that you fetch the source code for 'lsof' as a guide to probing interesting things!
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.81/
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2009 10:22 AM
01-07-2009 10:22 AM
Re: function libraries for gathering system resource usage?
Thanks for the info! ;o)
kev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2009 10:22 AM
01-07-2009 10:22 AM
Re: function libraries for gathering system resource usage?
Please don't forget to evaulate the answers to this and your previous question about 'adb' and performance probes:
http://forums13.itrc.hp.com/service/forums/questionanswer.do?threadId=1300895
http://forums13.itrc.hp.com/service/forums/helptips.do?#28
Happy New Year!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2009 10:24 AM
01-07-2009 10:24 AM
Re: function libraries for gathering system resource usage?
Thanks for the reminder!
kev