On 12/30/2014 10:09 AM, Chandana De Silva wrote:
[...]
I am curious as to why I can't query some of the proc values from a remote host.
$ pminfo -f -h gateway01.prod.mel.au.m4u.com.au proc.memory.vmsize
proc.memory.vmsize
Error: No permission to perform requested operation
$ pminfo -f -h gateway01.prod.mel.au.m4u.com.au proc.nprocs
proc.nprocs
value 76
most likely pmdaproc on the remote host is running as the pcp user,
which doesn't have access to all of the /proc/<pid>/... data for users
other than pcp. The proc.nprocs metric is extracted from /proc/stat,
which doesn't have such access restrictions (world readable).
Regards
-- Mark
|