you can either use top, where PID is the Managed Server's processid:
or ps:
Unfortunately collectd doesn't seem to be able to collect CPU usage for a specific user or PID.
top -b -p $PID
or ps:
ps -p $PID -o %cpu | tail -n +2
Unfortunately collectd doesn't seem to be able to collect CPU usage for a specific user or PID.