Usefull Commands

Check system usage, updated every second:

vmstat 1

Check jow much free ram you have on your system:

free -m

Check I/O utilization on your drive(s):

iostat -dkx
  • James Voss

    Clear Memory Cache,

    sync
    echo 3 > /proc/sys/vm/drop_caches

    -
    Preview:
    ===========================================================================
    BEFORE:

    [root@localhost ~]# free -m
    total used free shared buffers cached
    Mem: 1884 1779 105 0 26 1562
    -/+ buffers/cache: 189 1695
    Swap: 3775 0 3775
    ===========================================================================
    AFTER:

    [root@localhost ~]# sync
    [root@localhost ~]# echo 3 > /proc/sys/vm/drop_caches
    [root@localhost ~]# free -m
    total used free shared buffers cached
    Mem: 1884 154 1730 0 0 19
    -/+ buffers/cache: 134 1750
    Swap: 3775 0 3775