- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- What is the command for getting the details of all...
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
07-02-2009 01:49 AM
07-02-2009 01:49 AM
What is the command for getting the details of all the processes using the top command?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2009 01:58 AM
07-02-2009 01:58 AM
Re: What is the command for getting the details of all the processes using the top command?
Put this is cron :
testing:/#more /opt/topscript
echo ====================================== >>/tmp/topout
top -f /tmp/topout
you will get the o/p colleected in /tmp/topout , or which ever u specify
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2009 02:05 AM
07-02-2009 02:05 AM
Re: What is the command for getting the details of all the processes using the top command?
Take all output into a file using
top -f top.out
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2009 02:33 AM
07-02-2009 02:33 AM
Re: What is the command for getting the details of all the processes using the top command?
You might want to look at the ps command
Example script. Look at the ps section for HP-UX
http://www.hpux.ws/?p=8
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2009 02:45 AM
07-02-2009 02:45 AM
Re: What is the command for getting the details of all the processes using the top command?
One might appeare something broadly similar to the top output with ps. Try the following for example:
UNIX95= ps -eo tty,pid,user,pri,nice,vsz,sz,state,time,pcpu,comm | sed 1d | sort -nr -k 10,10
redirect to a file as appropriate... see the man page for ps to understand all the columns
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2009 04:13 AM
07-02-2009 04:13 AM
Re: What is the command for getting the details of all the processes using the top command?
http://www.cmve.net/merijn/downloads.html
Thanks
Jitesh