- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Top 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
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-12-2007 05:26 PM
08-12-2007 05:26 PM
Top process
Hi,,,
I want to check which are the processes, which are taking maximum time. Or which are the processes is running from the longer time.Only time and process id should be sorted out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2007 05:30 PM
08-12-2007 05:30 PM
Re: Top process
1. issue nice top -h and see the processes consuming the resources.
2. Use the tool like Glance/gpm to see and sort the processes, glance will also give you the process details and other granual details like RSS/VSS
3. UNIX95=1 ps -e -o vsz,pid,ruser,args | sort -rn |head
Best bet is glance!
Anshu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2007 05:31 PM
08-12-2007 05:31 PM
Re: Top process
I hope there are three ways which you can use:
1. issue nice top -h and see the processes consuming the resources.
2. Use the tool like Glance/gpm to see and sort the processes, glance will also give you the process details and other granual details like RSS/VSS
3. UNIX95=1 ps -e -o vsz,pid,ruser,args | sort -rn |head
Best bet is glance!
Anshu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2007 05:37 PM
08-12-2007 05:37 PM
Re: Top process
Glance is more than enough to get the details you are searching for.
Rgds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2007 05:44 PM
08-12-2007 05:44 PM
Re: Top process
Hi Sahabuddin,
Glance is a HP performance tool to help us monitor interative data.
You should consider use this.
To evaluate this product :-
http://openview.hp.com/products/ovperf/download.html
Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2007 09:04 PM
08-12-2007 09:04 PM
Re: Top process
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2007 11:42 PM
08-12-2007 11:42 PM
Re: Top process
Here is the o/p u need. 1st field is PID and 2nd one is time.I have assumed 1000 process running on ur machine.
top -n 1000 -f /tmp/top.out; cat /tmp/top.out|tail +11|awk '{print $2, " ", $9}'|sort +1n -r
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2008 09:51 PM
12-17-2008 09:51 PM