The prstat command is used on Solaris systems to monitor processes.
# prstat [ -acJLmRtTv ] [ -C psrsetlist ] [ -j projlist ] [ -k tasklist ] [ -n ntop[,nbottom] ] [ -p pidlist ] [ -P cpulist ] [ -s key | -S key ] [ -u euidlist ] [ -U uidlist ] [ interval [count] ]
prstat -u root -n 5 -P 1,2 1 1
The command above will show 5 root processes on CPU 1 and 2 1 time every 1 second.
