LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 11-12-2004, 06:14 AM   #1
gaitan10
LQ Newbie
 
Registered: Nov 2004
Posts: 1

Rep: Reputation: 0
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
 
Old 11-12-2004, 06:23 AM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,990

Rep: Reputation: 67
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.)
 
Old 11-12-2004, 10:45 AM   #3
spariggio82
Member
 
Registered: Apr 2004
Location: Camporotondo Etneo, Sicily
Distribution: SuSE 8.2 SuSE 9.1 Fedora C1 Slackware 10.1 Knoppix 3.9
Posts: 174

Rep: Reputation: 30
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
 
Old 11-12-2004, 04:46 PM   #4
starionwolf
Member
 
Registered: Nov 2004
Location: Washington D.C., USA
Distribution: S.u.S.E, Ubantu, Puppy
Posts: 47

Rep: Reputation: 15
I think "PS" also shows some useful information.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
stopping basic commands like mv, cp and tar from using 100% cpu darkleaf Linux - Software 9 06-22-2005 06:41 PM
Sendmail and cpu load JJX Debian 3 01-30-2005 09:51 AM
strange cpu load mindcry Linux - Software 4 08-07-2004 12:57 AM
Random CPU load RandomLinuxNewb Slackware 0 03-24-2004 12:48 AM
CPU, Load and Memory ... KnightAzul Linux - General 1 09-17-2003 12:57 PM


All times are GMT -5. The time now is 07:56 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration