Top will show you stats re: memory on the top:
Code:
top - 20:41:24 up 22:34, 2 users, load average: 0.00, 0.01, 0.00
Tasks: 71 total, 1 running, 70 sleeping, 0 stopped, 0 zombie
Cpu(s): 2.3% us, 0.2% sy, 0.0% ni, 97.4% id, 0.1% wa, 0.0% hi, 0.0% si
Mem: 1295700k total, 1211884k used, 83816k free, 41340k buffers
Swap: 524280k total, 0k used, 524280k free, 945716k cached
If the Swap line shows a lot used, then you're swapping. vmstat 5 5 will show you how your swapping, but it's kinda hard to read if you're not used to it.
GAD