How to find the processes running in system mode or wio?

With sar I can get an overview about the cpu-load divided in system mode, user mode and wait on i/o.

While I have a performace problem on Solaris systems, top or sdtprocess would show those processes, which are using cpu. There is no distinction between user-mode and system-mode.

How can the processes be identified causing wio or which are running in system mode?

(Solutions for Solaris 8-10 and Linux would be of interest.)

Thanks for any hints,

Hermann

[501 byte] By [herb.] at [2007-11-25 23:39:35]
# 1

Partially I find solutions by myself:

Solaris 8- 10: Processes in system mode:prstat -v (or -m)

Solaris 10: Processes and I/O : prustat (from http://users.tpg.com.au/adsln4yb/dtrace.html#DTraceToolkit)

Still missing:

Solaris 8-9: Processes and I/O

Linux: Processes in system mode

Linux: Processes and I/O

herb at 2007-7-5 18:47:35 > top of Java-index,General,Talk to the Sysop...