- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: the CPU time of each process
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
тАО04-06-2008 06:56 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2008 07:02 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2008 11:16 PM
тАО04-06-2008 11:16 PM
Re: the CPU time of each process
Appreciate your reply.
I had tried your suggestion.
UNIX95=1 ps -eo pcpu,pid,args | sort -rn
you say pcpu is the same with "top" command.
What does this colume mapping ? "%WCPU" or "%CPU" ?
May I do some explain for these cases?
Case A
UNIX95=1 ps -eo pcpu,pid,args | sort -rn |grep 10957
4.82 10957 fglrun /u/tiptop/csf/4gi41/csfra01
Explain A: pid:10957 use 4.82% of last cpu time interval.
If cpu time interval is 60 sec then this pid use 60*4.82% secs.
Case B
ps -ef|head -n 1 ;ps -ef | grep 10957
UID PID PPID C STIME TTY TIME COMMAND
s0486 10957 10956 30 14:41:28 pts/tKb 0:53 fglrun /u/tiptop/csf/4gi41/csfra01
Explain B:the pid:10957 use total CPU time is 53 min.
Lucas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-07-2008 01:06 AM
тАО04-07-2008 01:06 AM
Re: the CPU time of each process
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-07-2008 02:25 AM
тАО04-07-2008 02:25 AM
Re: the CPU time of each process
Ya from TOP command you can see.
Also you can use the "kmeminfo" script which will tell you the details of each process of cpu usage and memory usage.
Thanks & Regards
Aashique
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-07-2008 07:44 AM
тАО04-07-2008 07:44 AM
Re: the CPU time of each process
http://forums12.itrc.hp.com/service/forums/questionanswer.do?threadId=57634&admit=109447627+1207582693776+28353475
However, top is a crude measure of system performance and becomes quite difficult to interpret with multiple processors. Also, CPU time is misleading except for processes that use almost 100% CPU time. You can have 4 processes running at the same time, each consuming 100% CPU while it is running. But like most multiprocessing systems, these CPU-cbound processes will be interrupted and timeshared with other processes. Thus, logins and vi editing, etc, seems to run at full speed even though more than 100% of CPU time is required.
If you want accurate measurements, get a copy of Glance from HP.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2008 03:32 AM
тАО04-08-2008 03:32 AM
Re: the CPU time of each process
An interresting alternative to the use of top :
http://i1.dk/download/isjtop
regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2008 12:07 PM
тАО04-08-2008 12:07 PM
Re: the CPU time of each process
U can also check the below URL link:-
http://forums12.itrc.hp.com/service/forums/questionanswer.do?threadId=1220246
Thanks--Yaqub
HP Support!!!