Solaris Monitoring: различия между версиями

Материал из noname.com.ua
Перейти к навигацииПерейти к поиску
Строка 55: Строка 55:
   
 
==Microstates==
 
==Microstates==
Fine-grained state tracking for processes/threads
+
*Fine-grained state tracking for processes/threads
Off by default in Solaris 8 and Solaris 9
+
*Off by default in Solaris 8 and Solaris 9
On by default in Solaris 10
+
*On by default in Solaris 10
Can be enabled per-process via /proc
+
*Can be enabled per-process via /proc
prstat -m reports microstates
+
*prstat -m reports microstates
As a percentage of time for the sampling period
+
*As a percentage of time for the sampling period
USR – user mode
+
# USR – user mode
SYS - kernel mode
+
# SYS - kernel mode
TRP – trap handling
+
# TRP – trap handling
TFL – text page faults
+
# TFL – text page faults
DFL – data page faults
+
# DFL – data page faults
LCK – user lock wait
+
# LCK – user lock wait
SLP - sleep
+
# SLP - sleep
LAT – waiting for a processor (sitting on a run queue)
+
# LAT – waiting for a processor (sitting on a run queue)

Версия 15:16, 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
  1. USR – user mode
  2. SYS - kernel mode
  3. TRP – trap handling
  4. TFL – text page faults
  5. DFL – data page faults
  6. LCK – user lock wait
  7. SLP - sleep
  8. LAT – waiting for a processor (sitting on a run queue)