Hello, on my openvz server, i can output load averages of containers:
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:
processname processpath cpuusage iodiskusageinmbytes bandwidth runtime
to do an command on one container i can use this:
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
[Updated on: Sat, 01 March 2014 10:52]
Report message to a moderator