- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- monitor cpu's status with programming
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
тАО10-05-2004 04:43 AM
тАО10-05-2004 04:43 AM
thanks,
Jerry
Solved! Go to Solution.
- Tags:
- Monitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2004 04:52 AM
тАО10-05-2004 04:52 AM
Solutioncpu stats available with built in HP-UX:
vmstat
top
glance
Do a man on those fore usage - easy to write a script to gather info.
Rgds...Geoff
- Tags:
- vmstat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2004 05:09 AM
тАО10-05-2004 05:09 AM
Re: monitor cpu's status with programming
I want to write one C program to monitor the status of system resources, such as CPU, memory,disk,ect.
I wonder what tools I should choose, SIM, Sight manager, Service control manager or others.
Bds
Jerry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2004 05:10 AM
тАО10-05-2004 05:10 AM
Re: monitor cpu's status with programming
HPUX has built in features for resource monitoring like top,vmstat,glance. There are also third party softwares which are available in the market.
Glance gives detailed output about the resource usage.
Rgds
Gopi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2004 05:14 AM
тАО10-05-2004 05:14 AM
Re: monitor cpu's status with programming
If you are into C, and wish to write some C code then do a:
man pstat
You will find all you need...
Good luck
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2004 05:20 AM
тАО10-05-2004 05:20 AM
Re: monitor cpu's status with programming
look also at sar...
man sar
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2004 05:23 AM
тАО10-05-2004 05:23 AM
Re: monitor cpu's status with programming
Bds
Jerry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2004 05:34 AM
тАО10-05-2004 05:34 AM
Re: monitor cpu's status with programming
You can go get the source code and port it to HP-UX.
The reason people are recommending other tools, sar, top etc is the standard "been there done that got the tee-shirt" argument.
Most sysadmins see little reason to re-invent the wheel.
There may be some useful tools at http://www.hpux.ws/merijn
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2004 05:53 AM
тАО10-05-2004 05:53 AM
Re: monitor cpu's status with programming
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2004 06:22 AM
тАО10-05-2004 06:22 AM
Re: monitor cpu's status with programming
Best Wishes,
jerry