- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Sorting CPU utilization per process
Operating System - HP-UX
1822529
Members
2669
Online
109642
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
Forums
Discussions
юдл
back
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
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО03-09-2000 01:39 AM
тАО03-09-2000 01:39 AM
Sorting CPU utilization per process
What command can you use to sort the processes per CPU utilization from the
highest to the lowest in percent used?
The command on AIX is: ps gu
This will list out processes from highest to lowest on which ones are using the
most of the CPU time in percentage.
Thanks
highest to the lowest in percent used?
The command on AIX is: ps gu
This will list out processes from highest to lowest on which ones are using the
most of the CPU time in percentage.
Thanks
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2000 02:55 AM
тАО03-09-2000 02:55 AM
Re: Sorting CPU utilization per process
Try "ps -el | sort -nr +5 | head" .
It will sort processes by the CPU usage, but not in percentage. If you really
want to use %, modify the output from 'ps' with -o option using %pcpu.
It will sort processes by the CPU usage, but not in percentage. If you really
want to use %, modify the output from 'ps' with -o option using %pcpu.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2000 02:55 AM
тАО03-09-2000 02:55 AM
Re: Sorting CPU utilization per process
If you are using teh command interactively, then "top" will sort processes by
cpu utilization.
cpu utilization.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2000 10:07 PM
тАО03-09-2000 10:07 PM
Re: Sorting CPU utilization per process
If your company wants to spend the money, the measureware/glance/perfview
openview product(s) are a great tool for performance tuning, process tracking,
etc. Call HP for a 60day demo to justify.
openview product(s) are a great tool for performance tuning, process tracking,
etc. Call HP for a 60day demo to justify.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP