[prev] 60 [next]

Exercise 6: Examining memory usage in Linux

Examine the memory usage of your favourite program in linux by using the command

/usr/bin/time -v ./myprogram 

Examine the memory usage of processes running on your system with the following commands

  • top
  • ps -o min_flt,maj_flt,cmd