Solaris Monitoring: различия между версиями
Материал из noname.com.ua
Перейти к навигацииПерейти к поискуSirmax (обсуждение | вклад) |
Sirmax (обсуждение | вклад) |
||
Строка 27: | Строка 27: | ||
trapstat |
trapstat |
||
</PRE> |
</PRE> |
||
+ | |||
+ | |||
+ | <PRE> |
||
+ | mpstat |
||
+ | vmstat |
||
+ | netstat |
||
+ | sar |
||
+ | </PRE> |
||
+ | |||
+ | cputrack |
||
+ | cpustat |
||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ==Microstates== |
||
+ | ● Fine-grained state tracking for processes/threads |
||
+ | ● Off by default in Solaris 8 and Solaris 9 |
||
+ | ● On by default in Solaris 10 |
||
+ | ● Can be enabled per-process via /proc |
||
+ | ● prstat -m reports microstates |
||
+ | ● As a percentage of time for the sampling period |
||
+ | ● USR – user mode |
||
+ | ● SYS - kernel mode |
||
+ | ● TRP – trap handling |
||
+ | ● TFL – text page faults |
||
+ | ● DFL – data page faults |
||
+ | ● LCK – user lock wait |
||
+ | ● SLP - sleep |
||
+ | ● LAT – waiting for a processor (sitting on a run queue) |
Версия 15:15, 1 марта 2011
pargs pflags pcred pldd psig pstack pmap pfiles
pwdx pstop prun
pwait ptree ptime preap pkill
trapstat
mpstat vmstat netstat sar
cputrack cpustat
Microstates
● Fine-grained state tracking for processes/threads ● Off by default in Solaris 8 and Solaris 9 ● On by default in Solaris 10 ● Can be enabled per-process via /proc ● prstat -m reports microstates ● As a percentage of time for the sampling period ● USR – user mode ● SYS - kernel mode ● TRP – trap handling ● TFL – text page faults ● DFL – data page faults ● LCK – user lock wait ● SLP - sleep ● LAT – waiting for a processor (sitting on a run queue)