- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- monitor CPU 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
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-12-2006 09:42 AM
12-12-2006 09:42 AM
I have a HP rp3460 server running hpux11.23 with 4 processors. How to monitor the cpu usage and send alerts to my emailbox, when a single CPU is over 75% usage for 1 hour, or total cpu over 75% usage for 15 min? Thank you.
Regards,
Jan
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2006 01:04 PM
12-12-2006 01:04 PM
Re: monitor CPU usage
sar 1 10
you can vary the duration or intervals
you might monitor the CPU RunQ, this is more important than just busy work cpu.
if RunQ is long, then you have a real problem. If CPU is busy, then not a big problem. Well, unless you have 100% spinning CPU that might be related to a a Java Thread via SpinLock deadlock.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2006 01:29 PM
12-12-2006 01:29 PM
Re: monitor CPU usage
I can run sar command, but I am not sure how to create a job to grep the sar result and send alerts to my pager if CPU is above 85% busy for more than 1 hour.
Thanks,
Regards,
Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2006 02:48 AM
12-13-2006 02:48 AM
Re: monitor CPU usage
The usage of CPU is depending on the interval when you collect data. i.e over 15 minutes, avg maybe 30%, within this 15 minutes, it is possible 100% busy for a couple of seconds. Usually one collect data for days for capacity planning. That means you set script to collect data, then review it.over 75% or 85% usage of CPU is very good thing. If you want catch a runaway process, it will be another approching..
If you have measureware loaded, then there are data on CPU..Hope help. Cheers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2006 02:53 AM
12-13-2006 02:53 AM
Re: monitor CPU usage
Regards,
Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2006 02:53 AM
12-13-2006 02:53 AM
SolutionCHeck out the following thread...Victor attached a script that monitors resources including CPU. You could probably apply at least a part of it to suit your needs.
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1035476
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2006 03:02 AM
12-13-2006 03:02 AM
Re: monitor CPU usage
regards,
Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2006 03:04 AM
12-13-2006 03:04 AM