TOP
TOP command is use to see the process status..But it is not
used in solaris 10 in solaris 10 it is replaced by prstat
top for checking the current system status like process,cpu
and memory...
if you want to run in Solaris.we need add the pkg.
the pkg is "SUNW SMCtop".
PRSTAT
you can use prstat to identify which processes are consuming the CPU resources. The prstat -s cpu -n 5 command is used to list the five processes that are consuming the most CPU resources. The -s cpu flag tells prstat to sort the output by CPU usage. The -n 5 flag tells prstat to restrict the output to the top five processes.
$ prstat -s cpu -n 5
Load Average::
For example, one can interpret a load average of "1.73 0.50 7.98" on a single-CPU system as:
· during the last minute, the CPU was overloaded by 73% (1 CPU with 1.73 runnable processes, so that 0.73 processes had to wait for a turn)
· during the last 5 minutes, the CPU was underloaded 50% (no processes had to wait for a turn)
· during the last 15 minutes, the CPU was overloaded 698% (1 CPU with 7.98 runnable processes, so that 6.98 processes had to wait for a turn)
This means that this CPU could have handled all of the work scheduled for the last minute if it were 1.73 times as fast, or if there were two (the ceiling of 1.73) times as many CPUs, but that over the last five minutes it was twice as fast as necessary to prevent runnable processes from waiting their turn. In a system with four CPUs, a load average of 3.73 would indicate that there were, on average, 3.73 processes ready to run, and each one could be scheduled into a CPU