- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Monitor CPU usage over a period of time.
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
05-26-2005 04:22 AM
05-26-2005 04:22 AM
Is there an easy way to monitor CPU usage over the course of an 8hour day? IE - is there anything else other than sar or top that is within HPUX 11.11? This is on a RP5470 server.
Thanks,
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2005 04:29 AM
05-26-2005 04:29 AM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2005 04:32 AM
05-26-2005 04:32 AM
Re: Monitor CPU usage over a period of time.
Glance is "real-time"
top is real time.
sar lets you specify time length and the time increments, if you want to collect every 15 min or every 30 min.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2005 07:57 AM
05-26-2005 07:57 AM
Re: Monitor CPU usage over a period of time.
As the previous reply said PerfView is only fore viewing the stats. MeasureWare or PerformanceAgent actually logs the data.. This data can then be viewed by PerfView, or you can output it into ASCII & importv into MS Excel.
To install MeasureWare you actually install GlancePlus PAK... The PAK bit is important, as it contains the measureware software. If you install GlancePlus you ONLY get glance... Ive come across quite a few servers where people say I have Glance, therefor I have measureware.. this is not so.
Regards
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2005 04:17 PM
05-26-2005 04:17 PM
Re: Monitor CPU usage over a period of time.
for CPU
eg. sar -u >> /{dir}/cpu_filename
for multiporocessor activity
eg. sar -M >> /{dir}/multi_cpu_filename
thanks
Devesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2005 02:58 AM
05-27-2005 02:58 AM
Re: Monitor CPU usage over a period of time.
from cron taking snap shots the are very involved but a simple example is as follows
vmstat |grep -v o >> logfile
that the letter o in grep (it removes the headers)
the output is one line record. you are intereted in the CPU IDLE colume (man vmstat)
I put a header in logfile and have them named
vm01, vm02 ...vm31 so I can track cpu swaping etc for the last 31 days. do montly summary
Got examples for O'Reilly System Performance Tuning (pub Dec 1992).
You can do something similar with "uptime"
Rory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2005 03:08 AM
05-27-2005 03:08 AM
Re: Monitor CPU usage over a period of time.
Can be run for any length of time.
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
05-27-2005 03:13 AM
05-27-2005 03:13 AM
Re: Monitor CPU usage over a period of time.
you can use sar utility. add it in to crontab and get it executed every 1 minute or so. it collects the statistics and stores it in /var/log/ directory
Regards,
Gopi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2005 07:20 AM
05-29-2005 07:20 AM