SUPPORT

Solaris下如何显示服务器系统事件信息

发布时间:2022-07-15

  Solaris下使用vmstat 命令可以报告虚拟内存统计信息,以及有关系统事件(例如CPU 负载、分页、上下文切换数、设备中断和系统调用)的信息。vmstat 命令还可以显示有关交换、高速缓存刷新和中断的统计信息。

  如何显示系统事件信息(vmstat -s )

  运行vmstat -s 命令,以显示自上次引导系统以来发生的系统事件数。

  $ vmstat -s

  0 swap ins

  0 swap outs

  0 pages swapped in

  0 pages swapped out

  522586 total address trans. faults taken

  17006 page ins

  25 page outs

  23361pages paged in

  28 pages paged out

  45594 total reclaims

  45592 reclaims from free list

  0 micro (hat) faults

  522586 minor (as) faults

  16189 major faults

  98241copy-on-write faults

  137280 zero fill page faults

  45052 pages examined by the clock daemon

  0 revolutions of the clock hand

  26 pages freed by the clock daemon

  2857 forks

  78 vforks

  1647 execs

  34673885 cpu context switches

  65943468 device interrupts

  711250 traps

  63957605 system calls

  3523925 total name lookups (cache hits 99%)

  92590 user cpu

  65952 system cpu

  16085832 idle cpu

  7450 wait cpu

服务器系统

相关信息