GeekInterview.com
Series: Subject: Topic:
Question: 54 of 183

How do you get current CPU utilization, memory and disk space usage in Linux/Unix?

What are the commands?
Asked by: Mariasf | Member Since Nov-2007 | Asked on: Dec 4th, 2007

View all questions by Mariasf   View all answers by Mariasf

Showing Answers 1 - 6 of 6 Answers
gthosani1

Answered On : Dec 12th, 2007

View all answers by gthosani1

Quota All are allocated a certain amount of disk space on the file system for their personal files, usually about 100Mb. If you go over your quota, you are given 7 days to remove excess files. To check your current quota and how much of it you have used, type % quota -v df The df command reports on the space left on the file system. For example, to find out how much space is left on the fileserver, type % df . du The du command outputs the number of kilobyes used by each subdirectory. Useful if you have gone over quota and you want to find out which directory has the most files. In your home-directory, type % du

  
Login to rate this answer.
vthegde

Answered On : Dec 14th, 2007

View all answers by vthegde

Use prstat

  
Login to rate this answer.
vinod_rapolu

Answered On : Feb 14th, 2008

View all answers by vinod_rapolu

For CPU utilization "top" can be used

Yes  1 User has rated as useful.
  
Login to rate this answer.
san_jay27

Answered On : Sep 10th, 2008

View all answers by san_jay27

Use iostatiostat command which report Central Processing Unit (CPU) statistics and input/output statistics for devices and partitions. It can be used to find out your system's average CPU utilization since the last reboot.

  
Login to rate this answer.

We can find the CPU utilization by using topas command.and memory utilization by svmon command

  
Login to rate this answer.
cmanne

Answered On : Sep 2nd, 2009

View all answers by cmanne

TOP VMSTAT IOSTAT SAR MPSTATfor Disk usage : DF & DU

  
Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.