By using which command we can find the CPU utilization time?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is nr in awk command?

608


What does the command '$ls | wc –l > file1' do?

684


Who command in unix operating system?

667


What are the dos commands?

652


What is the comma to show the space allocation of files?

562






What do chgrp command do?

593


How do you grep a case insensitive?

544


When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system. How can i findthe right soluion??? My pgm: #include # include int main() { int pid; pid=fork(); if(pid < 0) {exit(-1);} else if(pid==0) { printf("Child Process is Sleeping ..."); sleep(10); printf("Orphan Child's Parent ID : %u ",getppid()); } else { printf("Parent Process Completed ... %u ",getpid()); exit(0); } return 0; } Output:

1764


What is grep r?

593


How does pipe () work?

597


Name the unix command to find how many days the server has been up.

608


Why is it called a shebang?

574


Is grep faster than awk?

563


Is command prompt unix?

586


What are reported commands?

569