- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ps Question
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
тАО12-17-2001 12:20 PM
тАО12-17-2001 12:20 PM
ps Question
I have attached a file for the process output from ps. Can somebody exaplain the output header.
e.g. what does it mean F,WCHAN etc
Thanks a lot
George
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2001 12:23 PM
тАО12-17-2001 12:23 PM
Re: ps Question
Do a "man ps".
Hope this helps.
regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2001 12:33 PM
тАО12-17-2001 12:33 PM
Re: ps Question
wchan - The event for which the process is waiting or sleeping; if there is none, a hyphen (-) is displayed !
See man ps for all details.
or see this:
http://www.docs.hp.com/hpux/onlinedocs/B2355-90680/B2355-90680.html
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2001 12:39 PM
тАО12-17-2001 12:39 PM
Re: ps Question
guess what, the man page is not that helpful, is it? ;-)
Well, "F" is the easier one, since there are only a few values possible states:
0=Nonexistent, S=Sleeping, W=Waiting, R=Running, I=Intermediate, Z=Zombie=Terminated, T=Traced, X=Growing
The states "S" and "W" are the ones where you are interested in the "WCHAN", which is the "Wait CHANnel". Take a file I/O, for example: your process reads or writes to/from a file. Of course, this means a buffer in the UNIX buffer cache is used in between your process and the real hardware to buffer that I/O. So on reading your process "waits" on that buffer to become available - then "WCHAN" is the address of that buffer in kernel memory (well, it is that buffer's "hash bucket", but that does not really matter). The important fact is, that two processes waiting on the same WCHAN do actually wait for the same thing to happen.
BTW, do not worry about that state "Z" as "zombie" AND as "terminated" - every process, when dieing, send a signal (SIGCHLD = Death of a Child) to its parent process and then stays in state "Z" until that signal has been processed by the parent process. Then the child dies and rots away immediately. That's just how processes die in UN*X! Only if the parent process CANNOT process the signal, the child STAYS as a zombie (due to errors) and these nobody likes :-(
HTH,
Wodisc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2001 12:47 PM
тАО12-17-2001 12:47 PM
Re: ps Question
Hope that helps,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-14-2004 09:34 PM
тАО04-14-2004 09:34 PM
Re: ps Question
Is "Wait CHANnel" = Take a file I/O ?