Not one command. You may create a new role for running sar and give it to the user. Then the user should log in again to get access to sar.
As root:
# create a new role for statistic tools$ mkrole authorizations=aix.system.stat aixstat# load the role definition into kernel$ setkst# give the role to the user$ chuser roles=aixstat default_roles=aixstat userThen login (or re-login) as normal user:
# check if the role is there$ rolelist -eaixstat$ sar -P ALL 1 1You must have AIX 6.1 at least with enabled enhanced RBAC (by default it is enabled).
Best regards
Andrey
------------------------------
Andrey Klyachkin
https://www.power-devops.com------------------------------