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 do you understand by 'building block primitive'?
Explain the steps that a shell follows while processing a command.
How do I search for text in vi?
in a growing log file how will you see the 1st 99 lines?
What does the md command do?
what is the command to print last 8 lines of any text file.
Which command will you use to change the permissions on file?
what is the command to find out which shell you are running?
Suppose 1000 processes are running on the system out of those if you have to show only certain process ids which command will you use?
How to find the files that are accessed before 10 minutes?
what is Online(STM) and offline diagnostics in HP-UX?
in UNIX,How do you check for processes started by particular user suppose the user name is 'suresh'?