![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Wait for Background Process to complete | gozer13 | Shell Programming and Scripting | 3 | 02-14-2005 04:25 PM |
| PERL: wait for process to complete | dangral | Shell Programming and Scripting | 2 | 04-21-2004 03:37 PM |
| Process Wait on DG UX | fabbas | UNIX for Dummies Questions & Answers | 4 | 01-07-2004 06:56 AM |
| Time Wait interval | eloquent99 | SUN Solaris | 1 | 12-05-2003 09:56 PM |
| default time in Solaris 8 for time-wait | eloquent99 | UNIX for Dummies Questions & Answers | 1 | 04-01-2003 09:45 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Process wait time
Hi all,
I am trying to find out the process wait time on Unix(AIX/SOLARIS) machine( only sh/ksh/csh): Like EXAMPLE 1 : $ vmstat 2 System configuration: lcpu=16 mem=32000MB kthr memory page faults cpu ----- ----------- ------------------------ ------------ ----------- r b avm fre re pi po fr sr cy in sy cs us sy id wa 0 0 2172424 3312438 0 0 0 0 0 0 9 1187 158 0 0 99 0 0 0 2172426 3312436 0 0 0 0 0 0 3 1042 112 0 0 99 0 1 0 2172426 3312431 0 0 0 0 0 0 6 1413 120 9 0 91 0 The red colored numbers here shows the cpu wait. We can find out which process is waiting using ps -el , but it gives the event address in the system EXAMPLE 2 : ps -el F S UID PID PPID C PRI NI ADDR SZ WCHAN TTY TIME CMD 200003 A 0 1 0 0 60 20 18001400 688 - 3:11 init 240001 A 0 147682 1 0 60 20 4828b400 520 * - 242:01 syncd 240001 A 0 274448 258308 0 60 20 380272400 1404 - 229:46 dtgreet 240001 A 0 299146 331868 0 60 20 b8395400 284 f100060004374208 - 0:00 writesrv 240001 A 1 311410 331868 0 60 20 1283a7400 1380 - 0:00 rpc.statd But I want to know the process wait time. Any help in this regard is appreciated. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|