Job Statistics: vmstat: Descriptions



next up previous contents index
Next: I/O Statistics: iostat Up: Managing the System Previous: Processes: ps

Job Statistics: vmstat

The avm column under memory denotes active virtual memory, that is, memory which resides on the slow, hard disk and not in the fast electronics. The number in the avm column is the number of pages, usually of 4 MB size, being used by that process. This is a good indication of how much memory your system is using; if this number is significantly larger that the size of RAM in your computer, then the system may be spending too much time reading data onto and back from the hard disk (paging). In these cases performance could be increased by adding more RAM. The fre column under memory in the listing is the number of pages, again of 4 MB size, of RAM that is unused.

  • The page columns in the vmstat listing tracks the paging activity of the system.
  • The columns in the vmstat listing under cpu indicate how the CPU is spending its time. The numbers are the percentages of CPU time for the past interval spent on:

    It is illuminating to start vmstat before submitting a large, numerically intensive program and then redirect vmstat's output into a file you can study later. As you observe the reports issued by vmstat every few seconds, you should be able to see how well the system preformed while running your program and possibly spot problems like excessive paging or input/output.



    next up previous contents index
    Next: I/O Statistics: iostat Up: Managing the System Previous: Processes: ps