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

What are the commands?

Questions by Mariasf   answers by Mariasf

Showing Answers 1 - 6 of 6 Answers


  • Dec 12th, 2007


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


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 .


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

  Was this answer useful?  Yes


  • Sep 10th, 2008

Use iostat

iostat 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.

  Was this answer useful?  Yes

Give your answer:

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


Related Answered Questions


Related Open Questions