- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Re: Process per CPU
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
тАО11-14-2006 03:56 AM
тАО11-14-2006 03:56 AM
Process per CPU
Thanks,
Juan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2006 01:09 PM
тАО11-14-2006 01:09 PM
Re: Process per CPU
'top' is the easiest, if you can find it.
The official tool is 'ps -o pid,psr,args'
Sometimes the 'ps -o pid,rad,args'
Why woudl you like to know? Maybe we can help you address the underlying problem.
Check out 'man runon' and the man pages it points to on pset's and numa.
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2006 05:02 PM
тАО11-14-2006 05:02 PM
Re: Process per CPU
you can also use glance
glance -R
then specify the PID
You can then view in realtime, the CPU which is servicing the process as well as the switches.
e.g.
Running CPU : 0
hope this helps!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2006 07:40 PM
тАО11-14-2006 07:40 PM
Re: Process per CPU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-15-2006 04:14 AM
тАО11-15-2006 04:14 AM
Re: Process per CPU
The thing is I just migrated to a new GS1280 server and I'm trying to monitor the CPU load with multiple tools (sar, collect, vmstat, top, etc) and I'm noticing a couple of CPUs with heavy load in comparisson of the other ones and was wondering how to trace which processes (specially user's process) are running on those 2 CPUs.
Is there any other way to do that, any idea is more than welcome.
Thanks
Juan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-15-2006 08:18 AM
тАО11-15-2006 08:18 AM
Re: Process per CPU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-15-2006 05:00 PM
тАО11-15-2006 05:00 PM
Re: Process per CPU
When you run top, you do get the required info
CPU TTY PID USERNAME PRI NI SIZE RES STATE TIME %WCPU %CPU COMMAND
0 ? 14616 ora10g 154 20 2059M 7408K sleep 0:19 7.99 7.98 oracle
1 ? 14692 ora10g 189 20 2058M 7992K run 0:49 7.49 7.48 oracle
1 ? 26710 ora10g 154 20 2058M 6700K sleep 0:06 5.48 5.47 oracle
In fact, the very first column is "CPU"
note also that one PID cannot be run on 2 or more CPUs concurrently.
If you are running Oracle you can further drill down on the processes at the application level.
hope this helps too!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-15-2006 05:06 PM
тАО11-15-2006 05:06 PM
Re: Process per CPU
load averages: 10.91, 7.49, 6.68 00:04:47
500 processes: 7 running, 1 waiting, 275 sleeping, 217 idle
CPU states: 30.3% user, 0.0% nice, 13.8% system, 55.8% idle
Memory: Real: 15G/20G act/tot Virtual: 69052M use/tot Free: 2729M
PID USERNAME PRI NICE SIZE RES STATE TIME CPU COMMAND
5340 oracle 44 0 5818M 14M run 4:36 88.80% oracle
5514 oracle 44 0 5807M 4431K sleep 0:34 5.10% oracle
If that's the case, which is the latest version ?
Thanks
Juan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-16-2006 01:17 AM
тАО11-16-2006 01:17 AM
Re: Process per CPU
I do not see a processor comuln, or a way to get there, on a Tru64 box. Sorry to mislead you.
Just use ps -o and select the options you like, notably psr for the processor.
What problem(s) are you trying to solve?
Regards,
Hein.