>>>>> "ARB" == Ali Raza Butt <butta@xxxxxxxxxxxxxx> writes:
ARB> I am working on a system monitoring project and am thinking about
ARB> utilizing PCP. What I want to inquire is that what level of changes are
ARB> required to provide for running pcp as a non privilged user.
Limited - you'd have to make sure that you can read and write a few
files (pmlogger stuff comes to mind first). And you can miss on few
linux metrics but the infrastructure itself should be Ok.
ARB> The goal is
ARB> to be able to monitor a systems resources without having any privileged
ARB> acess at all, not even for installation etc.
RPM would want to write to /var/lib/rpm so this one will be
difficult.
To try, I'd start with installing RPM as root, commenting out line 85
in /etc/rc.d/init.d/pcp (it say 'exit').
then just
/etc/rc.d/init.d/pcp start
as user. It will complain but pmcd will start and will actually
work. It's now up to you to decide how much you're mising.
max
|