- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: TOP Process on CPU/Memory
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
тАО08-13-2010 01:51 AM
тАО08-13-2010 01:51 AM
1.How to find Top Process on CPU i.e greater than 100 mins of CPU time?
2.How to find top process on memory i.e greater than 100MB?
Thanks,
Ganesh
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2010 02:00 AM
тАО08-13-2010 02:00 AM
Re: TOP Process on CPU/Memory
1. Use top -h and see the processes consuming the resources.
2. Use tool like Glance/gpm to see and sort the processes, glance will also give you the process details.
3. UNIX95=1 ps -e -o vsz,pid,ruser,args | sort -rn |head
Regards,
VVS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-15-2010 08:45 PM
тАО08-15-2010 08:45 PM
Re: TOP Process on CPU/Memory
If look at man TOP, this what describes memory and time taken
n: %MEM -- Memory usage (RES)
A task's currently used share of available physical memory.
l: TIME -- CPU Time
Total CPU time the task has used since it started. When 'Cumulative
mode' is On, each process is listed with the cpu time that it and
its dead children has used. You toggle 'Cumulative mode' with 'S',
which is a command-line option and an interactive command. See the
'S' interactive command for additional information regarding this
mode.
So looking at these two statistcis in TOP you can figure out whatever you are looking for.
-Pramod.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-15-2010 10:59 PM
тАО08-15-2010 10:59 PM
Re: TOP Process on CPU/Memory
>> ps -ef|head -20|sort -rk8
so this would list you the process took maximum CPU time.
2.How to find top process on memory i.e greater than 100MB?
just check top RES
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-15-2010 11:00 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-16-2010 09:05 AM
тАО08-16-2010 09:05 AM
Re: TOP Process on CPU/Memory
I thing you want to say: ps -ef | sort -rnk 8
Regards.