- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- 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
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
10-16-2001 07:22 AM
10-16-2001 07:22 AM
On one of my HPUX servers, glance plus is intsalled and gives me the avarage and high CPU utilization.
Can anyone advise me as to how can I find this out on all my other servers (none of which have glance plus)
Thanks for your help
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2001 07:28 AM
10-16-2001 07:28 AM
SolutionYou can use the old UNIX standby's - sar and sadc.
sadc (System activity data collector) can be used to take snapshots on a fixed interval. This does not mean that you will capture peak just what ever the metric happens to be at that point in time.
Man sar and sadc for details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2001 07:29 AM
10-16-2001 07:29 AM
Re: CPU utilization
Plan B - you can install the 30-day trial version of Glance on your other boxes from the Application CD's.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2001 07:31 AM
10-16-2001 07:31 AM
Re: CPU utilization
You can use sar command. sar -u 5 10
You can also use top cammand
man sar for details.
Goodluck..
-USA...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2001 07:32 AM
10-16-2001 07:32 AM
Re: CPU utilization
# sar 5 5
measures 5 times the CPU utilization for 5 second each (good for average)
# sar 1 5
measures 5 times the CPU utilization for 1 second each (good for peak)
Alternatively you can use top(1m) or could install the trial license of Glance on your other unix boxes (expires after some weeks).
Carsten
In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move. -- HhGttG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2001 07:37 AM
10-16-2001 07:37 AM
Re: CPU utilization
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/yamm-2.6.0
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2001 07:41 AM
10-16-2001 07:41 AM
Re: CPU utilization
For online monitoring you can use
#sar -u 1 5 or #top
If possible install glance on rest systems from app. CD.
You can capture/store history using measureware software or using sadc (/usr/lbin/sa1 and /usr/lbin/sa2 commands) in cronjobs.
Thanks.
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2001 05:10 AM
10-17-2001 05:10 AM
Re: CPU utilization
I have been able to find out what I need from using sar, but I would now like to be able to run this as a cron job and monitor the systems for 24hours.
I have tried the command /usr/lbin/sa/sa1 and get thef following message :
sadc: Can't create/open data file: No such file or directory
Also, for 24hour monitoring, what would be the best intervalsto add in the cron job
Thanks for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2001 05:18 AM
10-17-2001 05:18 AM
Re: CPU utilization
You simply need to create the directrory /var/adm/sa assuming that is where the sa1 script has defined the datafiles directory.
I typically use a 20 min sampling interval.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2001 05:33 AM
10-17-2001 05:33 AM
Re: CPU utilization
This has created a file /var/adm/sa/sa17,
which is a binary file.
How do I then get the information I want from this file
Again, thankyou.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2001 05:35 AM
10-17-2001 05:35 AM
Re: CPU utilization
if you want a surveiliance for several systems and may be even statistics later, you might consider to try
http://www.bb4.com
Several monitoring agents for this tool appear at http://www.deadcat.net
Hope this helps
Volker
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2001 05:51 AM
10-17-2001 05:51 AM
Re: CPU utilization
You can also try sarcheck utility for a month free.
www.sarcheck.com for more details.
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2001 06:03 AM
10-17-2001 06:03 AM
Re: CPU utilization
Any options that sar supports with a number of samples/sampling period set of arguments will not work instrad on today's file by default.
Man sar for all the possible options.
Clay