I answered top because that was the only command I ever used on my Linux boxen. And after the interview, I remembered the uptime command.
So I finally decided to figure out what a good answer would have been in addition to those two commands.
And the winner is:
vmstat
The most important fields here are:
- free - amount of physical memory not in use
- id - percent of CPU time that is idle
- wa - percent of CPU time spent waiting for IO
No comments:
Post a Comment