- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: CPU on which a process runs
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
тАО07-19-2008 09:35 PM
тАО07-19-2008 09:35 PM
In the server there are 6 CPUs.
A process that runs in the server is supposed to be run on a single process, so its bound to the CPU number 5.
This process started to give trouble recently, so I want to check weather it runs on multiple CPUs.
Any idea how to do this?
Thanks and Regards
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2008 10:13 PM
тАО07-19-2008 10:13 PM
Re: CPU on which a process runs
glance -g
press F6 and select or type the process ID no., Enter
Look for CPU info (Running CPU, etc).
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2008 10:37 PM
тАО07-19-2008 10:37 PM
Re: CPU on which a process runs
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=192125
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2008 11:00 PM
тАО07-19-2008 11:00 PM
Re: CPU on which a process runs
I don't have glance at the moment.
So is there any other way to check weather it runs on multiple processes?
Thanks and Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2008 11:12 PM
тАО07-19-2008 11:12 PM
Re: CPU on which a process runs
top -h
Do you have caliper.
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2008 11:13 PM
тАО07-19-2008 11:13 PM
Re: CPU on which a process runs
#export UNIX95=1;ps -ef -o comm,pcpu,vsz,args | grep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2008 11:27 PM
тАО07-19-2008 11:27 PM
Re: CPU on which a process runs
Why do you think you need to limit it? Does it use several Gb of memory? You have already experimented with it using psrset(1M) and it works better?
>This process started to give trouble recently
What type of trouble? Performance?
>I want to check whether it runs on multiple CPUs.
If you use threading, you want multiple CPUs.
>ahsan: #export UNIX95=1;ps -ef ... | grep
You don't want to export UNIX95, just set it for one command:
UNIX95=1 ps -ef -o comm,pcpu,vsz,args -C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2008 11:52 PM
тАО07-19-2008 11:52 PM
Re: CPU on which a process runs
pcpu with UNIX95 would give the CPU percentage.
I tried it before with just cpu option, but was not sure whether I can rely on it. That is why did not give that info to him.
UNIX95=1 ps -ef -o comm,pid,cpu,vsz,args |grep 15540
UNIX95=1 ps -ef -o comm,pid,cpu,vsz,args |more
Comparing the result with glance -R (Process Resources) does not give the correct result.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2008 01:28 PM
тАО07-20-2008 01:28 PM
SolutionNOTE: Unless a process was written for multi-threaded operation, it will never use more than one processor at a time.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2008 05:04 PM
тАО07-20-2008 05:04 PM
Re: CPU on which a process runs
You are confused. Depending on the type of the machine and application, there could be massive overhead. First there is the cache, if it hasn't already been flushed out due to other processes. But the most important issue is with cell based memory, which could cause access time issues if the new processor isn't in the same cell.