By using which command we can find the CPU utilization time?
Answers were Sorted based on User's Feedback
top - display top CPU processes
DESCRIPTION
top provides an ongoing look at processor activity in real
time. It displays a listing of the most CPU-intensive tasks
on the system, and can provide an interactive interface for
manipulating processes. It can sort the tasks by CPU usage,
memory usage and runtime. can be better configured than the
standard top from the procps suite. Most features can either
be selected by an interactive command or by specifying the
feature in the personal or system-wide configuration file.
See below for more information.
| Is This Answer Correct ? | 9 Yes | 0 No |
Answer / racks
sar -u
The above command will display the current CPU usage.
# sar
The above command will display the entire day’s CPU usage.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / shh
ps -eo pcpu,pid,user,args | sort -k 1 -r |head -10
to get top 10 processes
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / yogesh
using prstat command one can display the cpu utilization of
process running on the server
| Is This Answer Correct ? | 8 Yes | 9 No |
How can we use grep command in unix?
How to delete a directory containing files and folders?
What is grep in bash?
how to sort the content of the file based on numeric values
what is the meaning of this command rm -rf / what will it do ?
What happens when we execute a unix command?
How does a user get the current date, time in UNIX?
What is grep and sed command?
How do you move or rename a file or directory?
Assume the following files are in the working directory prompt> ls -l tasks -rw-r--r-- 1 alex student 1423 Feb 21 14:01 tasks What command can Alex use to give everyone permission to write to the file? What will the ls -l command display if he does so?
How to get the operating system's information in unix?
How does one process we can start an executable file? How to get the PID process, which we started?