Friday, 3 January 2014

ENABLING SYSTEM ACTIVE REPORT SERVICE

-bash-4.1# svcs sar
STATE          STIME    FMRI
disabled       Jan_25   svc:/system/sar:default
-bash-4.1# sar -u
sar: can't open /var/adm/sa/sa06
No such file or directory
-bash-4.1# svcadm enable sar
-bash-4.1# svcs sar
STATE          STIME    FMRI
online         10:49:12 svc:/system/sar:default
-bash-4.1# ls -l /var/adm/sa/sa06
-rw-r--r--   1 sys      sys         9184 Feb  6 10:49 /var/adm/sa/sa06
-bash-4.1# sar -u
SunOS solaris 5.11 11.0 sun4v    02/06/2013
10:49:12    %usr    %sys    %wio   %idle
10:49:12        unix restarts

No comments:

Post a Comment