473,320 Members | 1,896 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

How can I cheack CPU load on LINUX like "Windows Task manager" on Windows?

365 100+
How can I cheack CPU load on LINUX like "Windows Task manager" on Windows?. Windows task manager shows CPU load (percentage) and etc, any tool in LINux?. I know "top" command which shows which process running at highest priority right?. thanks.
Dec 8 '09 #1
4 6681
AmberJain
884 Expert 512MB
Apart from top, there's 'ps -aux', htop, gnome system monitor, conky,KDE system guard, ktask for KDE, atop, gkrellm etc.

To see running processes and kill them etc, use ps, kill, killall, pkill etc.
'top' is nice too.
I also like conky. In conky.conf, you can always add lines something like:
Expand|Select|Wrap|Line Numbers
  1. ${color grey}CPU Usage:$color $cpu% ${cpubar 4}
  2.  
Dec 9 '09 #2
numberwhun
3,509 Expert Mod 2GB
I agree with Amber....top is excellent to see this. The top of the output gives you something like this:

Expand|Select|Wrap|Line Numbers
  1. top - 12:07:13 up  2:29,  2 users,  load average: 0.62, 0.40, 0.21
  2. Tasks: 134 total,   2 running, 132 sleeping,   0 stopped,   0 zombie
  3. Cpu(s): 12.3%us,  3.3%sy,  0.0%ni, 84.1%id,  0.3%wa,  0.0%hi,  0.0%si,  0.0%st
  4. Mem:   1026428k total,   902172k used,   124256k free,    92464k buffers
  5. Swap:   996020k total,        0k used,   996020k free,   452440k cached
  6.  
Regards,

Jeff
Dec 9 '09 #3
tvnaidu
365 100+
I am pounding my process, but when I see CPU utilization using "ps -aux" command, I can see "0.0" always, does it correct?.

any other command to see CPU usage?.
Dec 9 '09 #4
AmberJain
884 Expert 512MB
As far as I know, if ps -aux says 0.0, then CPU utilization should be zero. Let's see what other experts have to say about this.

Moreover, there are many different variants of ps out there. The BSD variant on my system has some notable points:
Expand|Select|Wrap|Line Numbers
  1. ..... CPU time: includes both user and system time
  2. ...........
  3. ..........
  4. keywords:
  5. ..........
  6. %cpu         Alias: pcpu.  The CPU utilization of the process; this is
  7.                      a decaying average over up to a minute of previous (real)
  8.                      time.  Since the time base over which this is computed
  9.                      varies (since processes may be very young) it is possible
  10.                      for the sum of all %cpu fields to exceed 100%.
  11. ..........
  12.  
So look at your system's manpage of ps for more info.
Dec 10 '09 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: jack | last post by:
Hi, I am looking for a task manager written in python that is powerfull and simple enough to schedule a lot of different tests on an every day or many time a day basis. ...
2
by: Julio Allegue | last post by:
I am getting the wrong Count(*) on vb.net using the ExecuteScalar . It returns all the rows. It doesn't seem to look at the WHERE clause. At the same time, I am getting the correct count on "SQL...
0
by: Tom Bower | last post by:
In the Windows Task Manager if I select a Process and right-click, I can choose to "End Process" or "End Process Tree." Is there a VB equivalent for "End Process Tree" if you have a handle to a...
4
by: Leeor Chernov | last post by:
Hi , I Used the object Excell Application(COM INTEROP) and it is staying as an open process, And the owner(User Name) is ASPNET Altough I try to release it with :...
0
by: James Conrad StJohn Foreman | last post by:
Does IBM publish a schema for the database that the DB2 task manager uses? Although we've got the task manager client installed on some windows machines, (a) most of our desktop machines are Apple...
4
by: Niron kag | last post by:
Hi, I have a windows service, which is currently installed, on my local computer. The problem is that when I look at the task manager, I see that the “Mem Usage”, become bigger and bigger....
2
by: Abubakar | last post by:
Hi all, I'm writing an app in vc++ 2k5 (all native/unmanaged). This application does a lot of multithreading and socket programming. Its been months since I'm developing this application, at...
4
by: e-Ricc | last post by:
Hi guys! Im trying to detect when a user "kills" my c# app using windows task manager, i've tried with the form events _closing and _closed managing for example putting an if inside to detect...
4
by: AliRezaGoogle | last post by:
Dear Members I have a critical program written in c#. It runs every time the user log on. But sometimes log-oned user forces my application process to quit by End Process in task manager. How...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shllpp 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.