top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration

Facebook Login
Site Registration

How do you find which process is taking how much CPU?

0 votes
How do you find which process is taking how much CPU?
posted Apr 12, 2016 by Jayshree

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

2 Answers

+1 vote

By using "top" command in UNIX. “TOP” command has various interactive options to sort result based upon various parameter.

The top program provides a dynamic real-time view of a running system. It can display system summary information as well as a list of processes or threads currently being managed by the Linux kernel. The types of system summary information shown and the types, order and size of information displayed for processes are all user configurable and that configuration can be made persistent across restarts.


   top -hv|-bcHiOSs -d secs -n max -u|U user -p pid -o fld -w [cols]    
   The traditional switches `-' and whitespace are optional.
answer Apr 12, 2016 by Shivaranjini
0 votes

in cmd prompt

answer Apr 12, 2016 by Rajnish Kumar
Hello Rajnish, you answered correct but the question is related to Unix operating system.
Contact Us
+91 9880187415
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Karnataka INDIA.