Our reading of PCP doesn't uncover any means of supporting a set of
metrics which are visible to some users and not others.
Though there seems to be some sort of "context" concept with the PMAPI,
it doesn't appear to include a user ID context to use in such occasions.
Instead monitoring happens in the agent process (itself a daemon) owner,
which is too coarse if there is only one such daemon.
Has any thought been put into this aspect? If not, then we'd like to
investigate including this somehow, possibly based on modifying
pmNewContext()
to accept and use a user ID for the PM_CONTEXT_HOST type. We'd be
seeking to have a relevent agent forked off with a particular user ID in
order to handle
requests in the user's context.
We're not as familiar with the architecture as we'd need to be, but does
this sound feasible?
--
Peter J. MASON, Senior S/W Architect, Aurema Pty Ltd.
email: petem@xxxxxxxxxx
phone: +61-2-9698 2322
|