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 |
What is the difference between cat and more command?
Which command is used to create a directory?
Which command is used to copy files?
how many internal commands is there in UNIX?
What command will bring user back to their home directory in UNIX?
How can you see the command line history?
Hi All, Can you please let me know how to grep for a particular pattern in unix. I want to print the dates from the file exp.txt. the date pattern is DD:MM:YYYY, I just want to print all the dates from the file exp.txt.
8 Answers Concentrix, IBM, Symantec, TCS,
Which is the command used to find out currently executing Process in UNIX?
what is the use of "fg" command ?
How to redirect standard error to a file?
Give the command for finding the current date.
Explain mount and unmount command.