Discovering TOP process on virtual machine

  • Thread starter Thread starter postcd
  • Start date Start date
P

postcd

Hello, on my openvz server, i can output load averages of containers:

Code:

Code:
# vzlist -o laverage,ctid -H
0.00/0.00/0.00 130
0.10/0.10/0.10 150
2.26/2.28/2.28 190
please which command/script to use so it outputs top 1 or 2 processes on the linux system with 2.26 laverage?

i mean, i want to see something like:
Code:
processname processpath cpuusage iodiskusageinmbytes bandwidth runtime
to do an command on one container i can use this:
Code:
vzctl exec 190 commandhere
im looking for classic linux command or script to grab vzlist output and extract the process and its data

Thank you

Continue reading...
 
Back
Top