![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| HP Tru64 NFS help | Stin | HP-UX | 1 | 05-13-2008 10:44 AM |
| Tru64-unix | adak2010 | UNIX for Dummies Questions & Answers | 0 | 03-17-2008 07:46 AM |
| HP-UX and Tru64 | antani | HP-UX | 1 | 08-04-2007 04:24 PM |
| Top in Tru64 | fidodido | UNIX for Dummies Questions & Answers | 3 | 05-17-2006 08:28 AM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
ps report (on tru64)
hi,
i have 10 processes running on a tru64 machine with 16 cpu. when i am checking the states of these processes with ps command, i saw that almost never more than 3 of them are in the R(unning) state. (generally they are in the S(leeping) state). although there are many other processes running on the same machine, my expectation is to see most of my processes in the running state, because top reports generally we have 20%-50% idle cpu, even if they are waiting for some resource (e.g: io), they should be in U(ninterruptable) state, am i wrong? how can this sleeping state problem can be explained? |
| Forum Sponsor | ||
|
|
|
|||
|
S(leeping) state means that process is waiting for a resource.
then, is it possible to determine what is that resource? process is waiting for what? using lsof, iostat,netstat,vmstat or something else on tru64? thanks in advance |
|
||||
|
Well, I have never used Tru64, so I'm not sure how hard that will be. But at some level the answer is yes, it is possible. A sleeping process will have a value usually called a "wait channel" that relates to what it is waiting for. ps often can display this field labelled "WCHAN" or something like that. It is a address in the kernel's memory space. Sometimes you can figure it out with adb. Some recent BSD versions actually decode this field. HP has a product called Glance that can decode it for HP-UX. I know that HP has a version of Glance for Solaris. I don't know if they have one for Tru64 or not. If they do, it is worth getting. It is the best performance tool I have seen.
|
||||
| Google UNIX.COM |