Waiting time of Process

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 last column 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 f100060000437420 8 - 0:00 writesrv
240001 A 1 311410 331868 0 60 20 1283a7400 1380 - 0:00 rpc.statd

(Event Address in Red coloured letters shows event Address in system)
But I want to know the process wait time. Any help in this regard is appreciated.

I thought the last column was "Wait I/O"

Your vmstat shows no wait for I/O; I don't understand either.

The last 4 columns show the way the cpu / cpus are being sliced. User / Sys / idle / wait. With the idle at 99% this machine is not working to hard! A high figure in the wait column would be the machine is usually I/O bound either memory or disk.

Hiiii Johnf & Zaxxon...

I want waiting time of any user defined process i dont want CPU's waiting time.

If you have any idea, pl. let me know.
Bye,
Chandra