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
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
тАО02-19-2004 04:30 AM
тАО02-19-2004 04:30 AM
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2004 05:36 AM
тАО02-19-2004 05:36 AM
Re: vmstat
and you can see at the end of its execution the CPU usage for every CPU
vmstat shows the usage for all CPU, but I am not sure if it is correct or not.
you have to run it for some time... like vmstat 1 10, becasue if you ran it once, you will see a comulative stats
use sched_stat better
Mohamed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2004 03:13 PM
тАО02-19-2004 03:13 PM
Solutionyour better off using collect, which will give you the follwing information per CPU.
( Since you haven't mentioned anything about OS level and version , I'm assuming Tru64 V5.1A > )
Per CPU Section
_________________________________________________________
CPU# Index for scripts.
USER Percent time (ticks) spent in user-level code.
This includes nice ticks.
SYS Percent time (ticks) spent in kernel.
IDLE Percent time (ticks) spent doing nothing.
WAIT Idle ticks while waiting for I/O to happen.
Hope this Helps,
Regards,
Orrin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2004 07:41 PM
тАО02-19-2004 07:41 PM
Re: vmstat
vmstat gives only the overall usage of CPU, Memory et all
#sched_stat
or
#/usr/bin/vmstat -p
gives clearinfo about processors
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2004 07:55 PM
тАО02-19-2004 07:55 PM
Re: vmstat
As far as I know, the vmstat output is correct in multi-cpu systems. The cpu figures are indeed global figures.
This is the average of the sys,user,idle,(wait) times of all cpus.
If you are interested in per CPU statistics, then go for sched_stat or use "collect -sp"
Enjoy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2004 11:15 PM
тАО02-19-2004 11:15 PM
Re: vmstat
Why do you ask?
What makes you think there might be a problem?
And if you really think is it a bug, it would be required to know the OS version and patch levels.
What is the 'real problem' you are trying to solve?
in addition to the previous replies, which are all useful, sometime 'top' is the best smp display tool. Myself I like 'monitor' but that is harder to find.
Cheers,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2004 02:08 AM
тАО02-20-2004 02:08 AM
Re: vmstat
Thanks again for all the info.