- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: -f option in ps
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
08-29-2001 06:58 AM
08-29-2001 06:58 AM
-f option in ps
The man of ps say the -f displays
user,pid,ppid,cpu,stime,tty,time,args
and 'cpu' is defined as 'Processor utilization for scheduling'.I had understood that it means that the value under CPU is the cpu number on which the process is running.
Am I correct ?
But the value under cpu for some processes is over 100 !!!! Why is it so.
Thanks in advance
...BPK...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2001 07:11 AM
08-29-2001 07:11 AM
Re: -f option in ps
utilization for scheduling the job.
Use XPG4 version for better output.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2001 07:17 AM
08-29-2001 07:17 AM
Re: -f option in ps
But some of the processes which are using more CPU ( as seen from the glance ) show a value of 0.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2001 07:21 AM
08-29-2001 07:21 AM
Re: -f option in ps
The CPU column is not the cpu utilisation but:-
cpu Processor utilization for scheduling. The default
heading for this column is C.
See man ps
paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2001 07:21 AM
08-29-2001 07:21 AM
Re: -f option in ps
When the system recalculates process priorities , Processes that have recently used the CPU (higher C column values), will
have lower priorities, and processes that have been waiting for the CPU (lower C column values), will have higher priorities.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2001 07:23 AM
08-29-2001 07:23 AM
Re: -f option in ps
It isn't the CPU number. It is the CPU usage of that process. If you execute the command for all your processes, you will see that those that more consumes are also those that bigger value has in this column.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2001 07:32 AM
08-29-2001 07:32 AM
Re: -f option in ps
But as I had said , some processes which are using more CPU ( as seen from Glance ) have a value of 0 in CPU column.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2001 07:53 AM
08-29-2001 07:53 AM
Re: -f option in ps
The C column indicates the recent CPU usage value of a process. It is incremented by 1 each time that process is in control of the CPU when the timer interrupt occurs (every 10 milliseconds). The maximum value of recent CPU usage is 120.
Rgds, Robin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2001 10:15 AM
08-29-2001 10:15 AM
Re: -f option in ps
is the utilization for scheduling the process.
I am not sure if we can see the CPU number with the ps command
-Sri