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 are the general commands in using unix os for a beginner?
what is the difference between SED and GREP ? Which one is more better and why?
how many internal commands is there in UNIX?
A file has 1000 lines and i want to display only 1st line how to do it? pls ..tel me
Write a command that will display files in the current directory, in a colored, long format.
Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?
How do you stop a running process?
How do I search for text in vi?
What is the behavioural difference between cmp and diff commands?
in a growing log file how will you see the 1st 99 lines?
what is the command to print last 8 lines of any text file.
What command will change your prompt to myprompt?