Use prstat to display processes ordered by memory used, and show a summary output of memory consumption by user.
#prstat -a -s rss
if you want to see what procs are using most memory, use this command so u have a sorted list of procs.
#prstat -s size
Use prtconf to display the total physical memory installed on the machine
#prtconf -v | head -3
Use memstat to have a peek at what the kernel memory usage is
#echo "::memstat" |mdb -k
If you’re using ZFS check how much is being used by the ARCcache.
# kstat -m zfs |grep size
Am I swapping? watch the swap in/out columns; if they’re not 0, you need more RAM
#vmstat 3
#swap -l
#df -kh swap
use sar to reports kernel memory allocation (KMA) activities:
#sar -k 1 5
prerequisites package: - gettext - libpanel-applet2-dev - libgnomeui-dev - gnome-network-admin command #sudo apt-get install gettext libpanel-applet2-dev libgnomeui-dev gnome-network-admin donlod g2ipmsg from here i'm using the g2ipmsg-0.9.6 source package and ubuntu intrepid 8.10 after that untar the package with: #tar zxvf g2ipmsg-0.9.6.tar.gz #cd g2ipmsg-0.9.6 # ./configure --prefix=/usr --sysconfdir=/etc --enable-systray \ --with-ext-charcode=CP932 --disable-doxygen-doc Check if the configure command is working with no errors and after there are no errors go to the next step which is: #make Check if this has errors too hopefully the prerequisites are helping, and after a sucessfull 'make' the next step is: #make install after this u will be able to check if the installation successfull or not simply just try to find an icon on your desktop or list this file 'g2ipmsg' in /usr/bin folder. after u are able to find the file try to run in with: $sudo /usr/...
Comments