473,484 Members | 1,661 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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

365 Contributor
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 6687
AmberJain
884 Recognized Expert Contributor
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 Recognized Expert Moderator Specialist
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 Contributor
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 Recognized Expert Contributor
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
4061
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
2924
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
3721
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
3707
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
1411
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
3340
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
24491
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
13250
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
6164
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
7082
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6953
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
6813
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7214
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5407
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing,...
1
4845
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
3041
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1359
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
592
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.