Discovering TOP process on virtual machine

Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Discovering TOP process on virtual machine
# 1  
Old 03-01-2014
Discovering TOP process on virtual machine

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

im looking for classic linux command or script to grab vzlist output and extract the process and its data

Thank you
# 2  
Old 03-12-2014
The lsof tool allows you to see where sockets arel
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Providing virtual machine priority in kvm based virtual machines

Hi All, Is there any way I can prioritize my VMs when there is resource crunch in host machine so that some VMs will be allocated more vcpu, more memory than other VMs in kvm/qemu hypervisor based virtual machines? Lets say in my cloud environment my Ubuntu 16 compute hosts are running some... (0 Replies)
Discussion started by: SanjayK
0 Replies

2. AIX

IBM Virtual Machine OS on intel x86 and x64? IBM AIX OS on IBM Virtual Machine?

Hi There, I have zero information and zero knowledge for IBM virtual machine except Amazon cloud and VMware ESXi (Only Linux OS available). Anyone could provide me the following answer - Can IBM VM been deploy on X86 and X64 (Intel Chip)? If answer is yes any chance to deploy AIX OS... (13 Replies)
Discussion started by: chenyung
13 Replies

3. UNIX for Advanced & Expert Users

Virtual machine

Can I please get some recommendations on virtual machine software? I am using Fedora. What do you think is the best software and why? I need a windows virtual machine to run some windows software. What do you think is the best Windows version to use and why (xp, vista, 7, 8, 8.1)? Is it hopefully... (2 Replies)
Discussion started by: cokedude
2 Replies

4. Red Hat

My RHEL virtual Machine Does not have Virtual Machine Manager Desktop Tool

My RHEL virtual Machine Does not have Virtual Machine Manager Desktop Tool Hi, I don't seem to have the Virtual Machine Manager Desktop tool set up on my RHEL6 Machine. The Linux machine runs off VMWare player and I'm not sure whether it is a VMWare software issue or a problem with the RHEL6... (2 Replies)
Discussion started by: accipiter1
2 Replies

5. Solaris

Change hostID of Solaris 10 virtual/guest machine installed by Virtual Box 4.1.12 on Windows-XP host

Trying to set or modify the randomly set hostID of a Solaris 10 virtual/guest machine that I installed on a Windows-XP host machine (using Virtual Box 4.1.12). I was able to set/modify the hostname of the Solaris 10 virtual/guest machine during installation as well as via the Virtual Box... (4 Replies)
Discussion started by: Matt_VB
4 Replies

6. Red Hat

Virtual Machine

Hi All, In my Org we are using Xen Hypervisor on RHEL 5.Now now the biggest challenge for us is to take online snapshot of running VM Guests.But this feature is not available in Xen. So i am trying to figure it out with some of the blogs found on net,in one blog its saying to create... (0 Replies)
Discussion started by: ajaincv
0 Replies

7. Solaris

Is there any Virtual data center as we have Virtual Machine?

Do we have any Virtual Data Center software as we have Virtual Machine? I want to practice everything of Solaris practically but i don't have resources like data center which includes Servers, Data storages, switches, and other things. (2 Replies)
Discussion started by: karman0931
2 Replies

8. UNIX for Dummies Questions & Answers

Unix Virtual Machine?

Hey everyone... I'm currently doing a Bachelor of Information Technology at university, and next semesters work is going to involve quite a lot of unix and c. I am a windows XP user and I was wondering if anyone knew of any way to get unix to run as some sort of 'sub operating system' below... (3 Replies)
Discussion started by: Smeeg
3 Replies

9. UNIX for Advanced & Expert Users

About Java Virtual Machine

Can Someone help me for Java VM? How can I see version of JVM and JDK on UNIX AIX 4.3? (2 Replies)
Discussion started by: Niko
2 Replies

10. UNIX for Dummies Questions & Answers

About Java Virtual Machine

How can I Install Java Virtual Machine on Unix AIX 4.3 . (1 Reply)
Discussion started by: Niko
1 Replies
Login or Register to Ask a Question