LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-01-2014, 04:42 AM   #1
postcd
Member
 
Registered: Oct 2013
Posts: 412

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:

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

Thank you
 
Old 03-02-2014, 03:43 AM   #2
sima01529
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
 
  


Reply


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 04:32 AM
Linux command to get Process name & Process executable path ArunChacko Fedora 2 08-26-2011 11:09 AM
SNMP MRTG RRDTOOL Configu of CPU memory Disk Port data traffic doc traffic manish_2479 Linux - Networking 1 06-19-2007 07:08 AM
cpu and memory ratio of a process phoenix_fei Other *NIX 0 06-28-2005 01:04 AM
Help Configuring the Memory Used by a Process in RedHat? (Cache Memory on CPU) geogecko Linux - General 3 02-23-2005 03:32 PM


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

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