top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

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

0 votes
615 views
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.

Syntax

   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

type
taskmgr
in cmd prompt

answer Apr 12, 2016 by Rajnish Kumar
Hello Rajnish, you answered correct but the question is related to Unix operating system.
...