Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-01-2014, 05:42 AM   #1
Registered: Oct 2013
Posts: 443

Rep: Reputation: Disabled
Command to output process name, path which uses most cpu, memory, traffic

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

# 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

Thank you
Old 03-02-2014, 04:43 AM   #2
LQ Newbie
Registered: Mar 2014
Posts: 1

Rep: Reputation: Disabled
# 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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Memory and CPU Utilization by a particular Process/Command in Linux/UNIX LXer Syndicated Linux News 0 05-30-2013 05:32 AM
Linux command to get Process name & Process executable path ArunChacko Fedora 2 08-26-2011 12:09 PM
SNMP MRTG RRDTOOL Configu of CPU memory Disk Port data traffic doc traffic manish_2479 Linux - Networking 1 06-19-2007 08:08 AM
cpu and memory ratio of a process phoenix_fei Other *NIX 0 06-28-2005 02:04 AM
Help Configuring the Memory Used by a Process in RedHat? (Cache Memory on CPU) geogecko Linux - General 3 02-23-2005 04:32 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:15 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration