- Home
- Interview Questions
- Linux Server Administrator
16.
How can you check the memory and paging status (free, used, cached)?
Using free -m you will get the current memory status, including free, used, cached both for the physical and swap memory.
17.
How can you get cpu and harddrive activities average report?
iostat gives you information and averages about your system I/O for the CPU and HD.
18.
If you want to get statistical information about your server for the previous days, how can you do that?
In order to get statistical information about your server, you can use sar.
19.
How can you get CPU statistics, per CPU or Core?
In order to get statistical information, per CPU/Core, you can use "mpstat -P ALL"
20.
How can you find which of the directories (top level) on the current directory is the heaviest (kb)?
Use du to get the size of each top level dir, and sort it du -k --max-depth=1 | sort -nr