- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to check CPU utilization
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
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
тАО08-06-2009 02:21 AM
тАО08-06-2009 02:21 AM
how to check CPU utilization
I run the glance command to check CPU utilization there I got CPU utilization as follows Current=7% Average=21% and High=100%.Is there any command or tool from which we can check for which perticular process it got 100% .I want to check this 100% even after one day also.
Regards
Vishal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2009 02:30 AM
тАО08-06-2009 02:30 AM
Re: how to check CPU utilization
You can use top command or sar utility.
Refer the man pages of sar and top.
Regards
Sunny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2009 02:33 AM
тАО08-06-2009 02:33 AM
Re: how to check CPU utilization
top.
sar
glance/gpm
Check out this script set:
http://www.hpux.ws/?p=6
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
тАО08-06-2009 02:34 AM
тАО08-06-2009 02:34 AM
Re: how to check CPU utilization
you can use perfview to analyse the historical data - glance is just for real time analyses.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2009 03:25 AM
тАО08-06-2009 03:25 AM
Re: how to check CPU utilization
By using sar ,top command i can see only present running process but not yesterdays process. I want to see previous days process for which CPU utilizationgoes high(100%).For that any specific commnad .How i need install following script http://www.hpux.ws/?p=6.What exactly it will do .
Regards
Vishal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2009 03:56 AM
тАО08-06-2009 03:56 AM
Re: how to check CPU utilization
You need OVPA, perfview to get the historical data. OVPA will work with glance to store the historical data.
Top, sar, glance will not give you the historical data.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2009 09:01 AM
тАО08-06-2009 09:01 AM
Re: how to check CPU utilization
0,10,20,30,40,50 * * * * /usr/lib/sa/sa1
45 23 * * 1-5 /usr/lib/sa/sa2 -i 1200 -A
You can just view the files in /var/adm/sa which has the info of cpu for last 30 days.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2009 09:31 AM
тАО08-06-2009 09:31 AM
Re: how to check CPU utilization
Hint: While glance is running, press the ? character. It shows you all the shortcut keys like d for disk or l for lan or i for filesystem I/O.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2009 09:37 PM
тАО08-06-2009 09:37 PM
Re: how to check CPU utilization
As per the steps I run glance then pressed small letter "o" then pressed the return till goes to main menu .In main menu I able to see todays process but I what want is two days back processes.Is there any option where i can get date & time wise process list
So that i can identify the process which took more time
Regards
Vishal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2009 04:13 PM
тАО08-07-2009 04:13 PM
Re: how to check CPU utilization
Bill Hassell, sysadmin