• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 635
  • Last Modified:

About command top

whats the meaning of %CPU?

  PID USER      PR  NI  VIRT  RES  SHR S           %CPU %MEM    TIME+  COMMAND
31550 drweb     25   0  352m 301m  736 R       99.6 14.9   5:08.07 drwebd.real
 8380 popuser   16   0  7176 1172  932 S         4.8  0.1   0:00.14 imapd
 8321 root      15   0  2336 1088  796 R             0.4  0.1   0:00.08 top
 8379 root      15   0  4952 1832 1528 S            0.4  0.1   0:00.05 couriertls
14764 root      15   0  2336 1008  720 S            0.4  0.0   2:56.85 top
24297 root      15   0  5944  588  536 S             0.4  0.0   1:31.86 couriertcp

3 Solutions
The task's share of the elapsed CPU time since the last  screen
          update, expressed as a percentage of total CPU time.  
In a true SMP environment, if 'Irix mode' is Off,  top  will  operate  in
          ´Solaris  mode' where a task's cpu usage will be divided by the
          total number of CPUs.  You toggle 'Irix/Solaris' modes with the
          'I' interactive command.

(from manpage)

Remember to run the 'top' command as root if you want to see all processes from all users.

Regards, Tobias
CPU% is the percentage of the total CPU time being taken by a particular service or app.
A proven path to a career in data science

At Springboard, we know how to get you a job in data science. With Springboard’s Data Science Career Track, you’ll master data science  with a curriculum built by industry experts. You’ll work on real projects, and get 1-on-1 mentorship from a data scientist.

To elaborate more, the higher the number, the more CPU time the process is taking. In your example: drwebd.real (process ID 31550) is taking 99.6% of your CPU time.
Fadi SODAH (aka madunix)Chief Information Security Officer, CISA, CISSP, CFR, ICATE, MCSE, CCNA, CCNP and CCIPCommented:
install sysstat to find more about CPU usage. If you are using SMP (Multiple CPU) system, use mpstat command to display the utilization of each CPU individually. You can display CPU activity, with sar.
You are running Dr.Web anti virus scan that is consuming much of the CPU resources.
Fadi SODAH (aka madunix)Chief Information Security Officer, CISA, CISSP, CFR, ICATE, MCSE, CCNA, CCNP and CCIPCommented:
Are you sure the AV scan  it's not doing  a scheduled background scan or updating his engine...?
VMWAREit security administratorAuthor Commented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now