- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: CPU utilisation
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
02-05-2001 07:16 AM
02-05-2001 07:16 AM
CPU utilisation
Are there any commands which give output of CPU utilisation that can be used as input for other commands.
I tried top but it could not be piped.
Please help...
Thanks in advance.
..Praveen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2001 07:19 AM
02-05-2001 07:19 AM
Re: CPU utilisation
You can use sar -u .
Also vmstat gives you CPU utilization.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2001 08:00 AM
02-05-2001 08:00 AM
Re: CPU utilisation
If you have measureware installed on your systems you
can make use of the "extract" command.
Pls try. It gives you very good reports of resource utilization. That eliminates the need to pipe any output
to any other command. You can, then, generate nice and informative reports, that help you in capacity planning.
Rgds,...
Suhas.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2001 02:20 PM
02-05-2001 02:20 PM
Re: CPU utilisation
sar -uM 5 5 if multiple processors.
Jon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2001 02:52 PM
02-05-2001 02:52 PM
Re: CPU utilisation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2001 09:02 PM
02-05-2001 09:02 PM
Re: CPU utilisation
If you would like to plot cpu load averages graphically on the web, you can feed a MRTG grapher with the OID value of 1.3.6.1.4.1.11.2.3.1.1.3.0 via snmpget over the network.
Be sure however to check that the snmp daemon is running on that system.
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2001 05:46 AM
02-06-2001 05:46 AM
Re: CPU utilisation
$topout=`export TERM=ansi; /usr/bin/top -d 1 |/usr/bin/grep avg`;
I use this to get the line with avg cpu time on it and then run it through perl to get the avg times...