Operating System - HP-UX
1836604 Members
1888 Online
110102 Solutions
New Discussion

sar -s 9 -e 10 does not work under some user

 
V-tec
New Member

sar -s 9 -e 10 does not work under some user

Hi all,

if I try as root

# sar -s 9 -e 10
12/22/08

09:03:00 %usr %sys %wio %idle
09:13:00 0 0 0 99
...

it works like it should. But if i try the same under another user, it will produce nothing. If I try just sar without any argument, it works even under this user. I'm completely out of clue.

Permissions to /usr/bin/sar are ok as well as to /var/adm/sa/*
2 REPLIES 2
Dennis Handly
Acclaimed Contributor

Re: sar -s 9 -e 10 does not work under some user

>Permissions to /usr/bin/sar are ok as well as to /var/adm/sa/*

What are they? Does sar(1) need setuid?
V-tec
New Member

Re: sar -s 9 -e 10 does not work under some user

-r-xr-xr-x 1 bin bin 122460 May 27 2005 /usr/sbin/sar

drwxr-xr-x 2 root sys 8192 Nov 14 00:13 sa

-rw-r--r-- 1 root sys 21426624 Dec 2 00:03 sa01
-rw-r--r-- 1 root sys 21426624 Dec 3 00:03 sa02
-rw-r--r-- 1 root sys 21129032 Dec 4 00:03 sa03
...

same permissions as on different working box.