LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Commands to get CPU Load (https://www.linuxquestions.org/questions/linux-general-1/commands-to-get-cpu-load-253950/)

gaitan10 11-12-2004 05:14 AM

Commands to get CPU Load
 
Hi!

Im working with a MPC855T Service Processor that is within a Sun Fire V20Z machine. This Sun Fire Machine (with an IP address xx.xx.xx.xx.) has a Microprocessor runnning embedded linux.

This MPC855T Service Processor has a Management Port that it is accesible through a LAN. And this port has itīs own IP Adress for the Service Processor.

I connect to this Processor from a NFS Server doing a SSH connection and logging in as "sun6" user, so I type:

#ssh <IP-address Service Processor> -l sun6

then I give my password and now Im in connected to the MPC855T which is physically connected to two AMD Opteron CPUs.

Being connected to the MPC855T I need to run some commands, so I can know the CPUs Load, how much charge is in each one, etc...

I tried the #top command but it says this command is not found in the Service Processor...

Iīll appreciate your help with this commands Im looking for.

Thank you very much

rjlee 11-12-2004 05:23 AM

You can get some very low level information about each CPU from the files in /proc/cpu0/ and /proc/cpu1; this includes the current load (although I'm not sure if it's in human-readable format.)

spariggio82 11-12-2004 09:45 AM

Try using the command:

top

It shows you all the process and not only that running on you system and other infos. However the best solution is rjlee's one.

Good luck

starionwolf 11-12-2004 03:46 PM

I think "PS" also shows some useful information.


All times are GMT -5. The time now is 11:40 AM.