- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: process status
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
тАО01-03-2011 05:12 AM
тАО01-03-2011 05:12 AM
process status
I want to know one particular process status.top tools showing nothing of the same.Please suggest on the same.
Regards
Pavan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2011 05:30 AM
тАО01-03-2011 05:30 AM
Re: process status
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2011 05:41 AM
тАО01-03-2011 05:41 AM
Re: process status
Thanks for the response.
Unfortunately glance not available.But when ps -efl shows process status as 'S'[2nd flag in output].But how can we find that whether its sleeping or stopped and whats the reason for the same.
Regards
himacs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2011 06:02 AM
тАО01-03-2011 06:02 AM
Re: process status
# ps -el |more
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2011 06:07 AM
тАО01-03-2011 06:07 AM
Re: process status
I have already tried with ps -el and found process is in S status.Now tell me whehter S means stopped or sleeping.In either case how to know the reason for the same.How to get history of a particular process.
Please help me on this.
Regards
Pavan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2011 06:24 AM
тАО01-03-2011 06:24 AM
Re: process status
S is for Sleeping
T is for sTopped
(full list in ps(1))
If you want more details you can try:
- tusc for the current syscall
- pstack/gdb for the process stack.
Regards,
Mounaam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2011 06:32 AM
тАО01-03-2011 06:32 AM
Re: process status
> Now tell me whether S means stopped or sleeping
You need to learn to consult the manpages. You might be surprised by the amount of information that's there.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2011 06:41 AM
тАО01-03-2011 06:41 AM
Re: process status
S means; State of the process (running,sleeping, stopped, etc.).
R : Running
S : Sleeping ..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2011 06:30 PM
тАО01-03-2011 06:30 PM
Re: process status
1) ps -ef > psout.txt.
more or vi psout.txt to search required processes name
2) # ps -ef |more
3) man ps <-- this will definately help you
4) If you are running HPUX then try glance and follow the screen
HTH
Regards,
INH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2011 08:10 PM
тАО01-03-2011 08:10 PM
Re: process status
Hi,
To get detail you need glance.
You can install it for a trial period no charge.
The best tool would be ps using the XPG4 behavior.
e.g.
UNIX95= ps -e -o comm,stime,vsz,pcpu
Man ps for details.
Cheers//
Taifur