AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
Expand all | Collapse all

sar command not working?

  • 1.  sar command not working?

    Posted Thu December 04, 2008 05:52 AM

    Originally posted by: chandru0078


    Dear Experts

    I having error when executing sar command from the root.So after googling someone recommended to peform command /usr/lib/sa/sa1 to solve this issue.But after i did that only its work but no output with sar command only. Please advice .

    http://unix.ittoolbox.com/groups/technical-functional/ibm-aix-l/sarcmd-its-not-working-1295222

    1. sar
    sar: 0551-201 Cannot open /var/adm/sa/sa04.
    sar: 0551-213 Try running /usr/lib/sa/sa1 <increment> <number>

    #/usr/lib/sa/sa1
    root:/ >sar

    AIX PRDALCA1 3 5 00CE827A4C00 12/04/08

    System configuration: lcpu=8 ent=3.00 mode=Uncapped

    12:18:31 %usr %sys %wio %idle physc %entc
    18:36:40 %usr %sys %wio %idle physc %entc
    18:36:41 36 3 0 61 1.29 43.1
    18:36:42 32 3 0 65 1.18 39.3
    18:36:43 36 5 0 59 1.39 46.2
    18:36:44 33 5 0 62 1.28 42.8
    #AIX-Forum


  • 2.  Re: sar command not working?

    Posted Thu December 04, 2008 10:54 AM

    Originally posted by: hdkutz


    Hi,
    simply activate the entries in adm Users crontab.
    http://www.ibm.com/developerworks/aix/library/au-unix-perfmonsar.html
    Use the above examine for education.

    Cheers,
    ku
    #AIX-Forum