March 20, 201214 yr Hey guys, Was curious as to how much RAM i was using so I had a look at unmenu but I dont really understand the results. memory Info (from /usr/bin/free) total used free shared buffers cached Mem: 3049856 2240052 809804 0 254252 1775500 -/+ buffers/cache: 210300 2839556 Swap: 0 0 0 top Processes PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 22755 root 20 0 234m 56m 3464 S 4 1.9 40:14.09 python 1 root 20 0 704 308 264 S 0 0.0 0:05.41 init 2 root 20 0 0 0 0 S 0 0.0 0:00.00 kthreadd 3 root RT 0 0 0 0 S 0 0.0 0:09.16 migration/0 4 root 20 0 0 0 0 S 0 0.0 6:34.86 ksoftirqd/0 5 root RT 0 0 0 0 S 0 0.0 0:09.19 migration/1 6 root 20 0 0 0 0 S 0 0.0 6:44.37 ksoftirqd/1 7 root 20 0 0 0 0 S 0 0.0 0:00.00 events/0 8 root 20 0 0 0 0 S 0 0.0 0:00.00 events/1 9 root 20 0 0 0 0 S 0 0.0 0:00.02 khelper 14 root 20 0 0 0 0 S 0 0.0 0:00.00 async/mgr 116 root 20 0 0 0 0 S 0 0.0 4:57.90 sync_supers 118 root 20 0 0 0 0 S 0 0.0 0:00.10 bdi-default 120 root 20 0 0 0 0 S 0 0.0 0:00.15 kblockd/0 121 root 20 0 0 0 0 S 0 0.0 0:00.02 kblockd/1 122 root 20 0 0 0 0 S 0 0.0 0:00.00 kacpid 123 root 20 0 0 0 0 S 0 0.0 0:00.00 kacpi_notify 124 root 20 0 0 0 0 S 0 0.0 0:00.00 kacpi_hotplug 232 root 20 0 0 0 0 S 0 0.0 0:00.00 ata/0 233 root 20 0 0 0 0 S 0 0.0 0:00.00 ata/1 234 root 20 0 0 0 0 S 0 0.0 0:00.00 ata_aux 238 root 20 0 0 0 0 S 0 0.0 0:00.00 ksuspend_usbd 243 root 20 0 0 0 0 S 0 0.0 0:00.01 khubd 246 root 20 0 0 0 0 S 0 0.0 0:00.00 kseriod 279 root 20 0 0 0 0 S 0 0.0 0:00.00 rpciod/0 280 root 20 0 0 0 0 S 0 0.0 0:00.00 rpciod/1 312 root 20 0 0 0 0 S 0 0.0 13:53.39 kswapd0 357 root 20 0 0 0 0 S 0 0.0 0:00.00 aio/0 358 root 20 0 0 0 0 S 0 0.0 0:00.00 aio/1 364 root 20 0 0 0 0 S 0 0.0 0:00.00 nfsiod 369 root 15 -5 0 0 0 S 0 0.0 0:00.00 kslowd000 370 root 15 -5 0 0 0 S 0 0.0 0:00.00 kslowd001 583 root 20 0 0 0 0 S 0 0.0 0:00.00 usbhid_resumer 622 root 16 -4 2004 856 480 S 0 0.0 0:00.11 udevd 688 root 20 0 0 0 0 S 0 0.0 0:00.00 scsi_eh_0 689 root 20 0 0 0 0 S 0 0.0 0:00.24 usb-storage 786 root 20 0 0 0 0 S 0 0.0 0:00.00 scsi_eh_1 787 root 20 0 0 0 0 S 0 0.0 0:00.00 scsi_eh_2 788 root 20 0 0 0 0 S 0 0.0 0:00.00 scsi_eh_3 789 root 20 0 0 0 0 S 0 0.0 0:00.00 scsi_eh_4 790 root 20 0 0 0 0 S 0 0.0 0:00.00 scsi_eh_5 791 root 20 0 0 0 0 S 0 0.0 0:00.00 scsi_eh_6 1206 root 20 0 1688 596 504 S 0 0.0 0:01.02 syslogd 1210 root 20 0 1636 408 340 S 0 0.0 0:00.02 klogd 1249 root 20 0 1660 468 392 S 0 0.0 0:17.35 ifplugd 1257 bin 20 0 1748 472 392 S 0 0.0 0:00.00 rpc.portmap 1261 nobody 20 0 1804 700 608 S 0 0.0 0:00.00 rpc.statd 1271 root 20 0 1672 536 464 S 0 0.0 0:00.01 inetd 1281 root 20 0 1632 536 468 S 0 0.0 0:00.00 acpid 1288 root 20 0 1812 656 548 S 0 0.0 0:00.33 crond 1290 daemon 20 0 1668 380 304 S 0 0.0 0:00.00 atd 1295 root 20 0 8492 1924 1320 S 0 0.1 0:17.47 nmbd 1297 root 20 0 13608 3408 2652 S 0 0.1 0:00.36 smbd 1302 root 20 0 36376 1572 1036 S 0 0.1 0:06.73 emhttp 1306 root 20 0 13608 1720 964 S 0 0.1 0:00.01 smbd 1322 root 20 0 0 0 0 S 0 0.0 9:09.43 mdrecoveryd 1323 root 20 0 0 0 0 S 0 0.0 0:00.00 spinupd 1324 root 20 0 0 0 0 S 0 0.0 0:00.00 spinupd 1325 root 20 0 0 0 0 S 0 0.0 0:00.00 spinupd 1330 root 20 0 2296 488 316 S 0 0.0 0:00.00 uu 1331 root 20 0 1616 536 468 S 0 0.0 0:00.00 logger 1334 root 20 0 4812 3832 892 S 0 0.1 0:10.74 awk 1377 root 20 0 0 0 0 S 0 0.0 68:26.12 unraidd 1469 root 20 0 0 0 0 S 0 0.0 0:15.49 reiserfs/0 1470 root 20 0 0 0 0 S 0 0.0 0:04.42 reiserfs/1 1634 root 20 0 56472 4040 776 S 0 0.1 24:31.23 shfs 1703 root 20 0 3916 1276 996 S 0 0.0 0:13.51 ntpd 10883 root 20 0 2512 1004 616 S 0 0.0 0:00.00 go 10885 root 20 0 1636 536 468 S 0 0.0 0:00.00 agetty 10886 root 20 0 1632 532 468 S 0 0.0 0:00.00 agetty 10887 root 20 0 1632 532 468 S 0 0.0 0:00.00 agetty 10888 root 20 0 1636 536 468 S 0 0.0 0:00.00 agetty 10889 root 20 0 1636 536 468 S 0 0.0 0:00.02 agetty 10890 root 20 0 1628 528 468 S 0 0.0 0:00.00 agetty 10898 root 20 0 2504 996 616 S 0 0.0 0:00.00 go 10914 root 20 0 1744 640 504 S 0 0.0 0:00.00 inotifywait 10915 root 20 0 2532 1088 680 S 0 0.0 0:00.04 go 10920 root 20 0 1736 608 480 S 0 0.0 0:00.00 inotifywait 10921 root 20 0 2504 620 240 S 0 0.0 0:00.00 go 14465 root 20 0 189m 26m 3324 S 0 0.9 0:05.16 python 15073 root 20 0 0 0 0 S 0 0.0 0:00.00 scsi_eh_11 19976 root 20 0 1872 548 488 S 0 0.0 0:00.00 sleep 19982 root 20 0 1876 552 488 S 0 0.0 0:00.00 sleep 19984 root 20 0 1872 548 488 S 0 0.0 0:00.00 sleep 19986 root 20 0 1872 548 488 S 0 0.0 0:00.00 sleep 19998 root 20 0 2100 928 748 S 0 0.0 0:00.01 gawk 20001 root 20 0 2264 1032 892 S 0 0.0 0:00.00 sh 20002 root 20 0 2108 888 692 R 0 0.0 0:00.01 top 20004 root 20 0 1872 548 488 S 0 0.0 0:00.00 sleep 21359 root 20 0 0 0 0 S 0 0.0 0:03.78 flush-8:48 24082 root 20 0 3420 1564 492 S 0 0.1 0:00.89 cache_dirs 24083 root 20 0 3420 1564 492 S 0 0.1 0:01.11 cache_dirs 24085 root 20 0 3420 1564 492 S 0 0.1 0:00.77 cache_dirs 24086 root 20 0 3420 1564 492 S 0 0.1 0:00.92 cache_dirs 24108 root 20 0 3480 1540 408 S 0 0.1 61:45.91 cache_dirs if i count up all the RAM % use in the top processes it only adds to 3.9%. I know thats top process and not all processes but I just wanna know whats using my ram and how much? I got sick beard, SAB and cache dirs running only (to the best of my knowledge) Thanks!
March 20, 201214 yr linux will fill all your ram by default, on a unix system you will typically always see all your ram used..
March 20, 201214 yr Author ah okey thank you. I havent had any issues but sometimes wonder whether I have sufficient ram for everything. cheers
March 20, 201214 yr There is some good information on buffers and cache here: http://www.linuxhowtos.org/System/Linux%20Memory%20Management.htm The main thing to be aware of in regards to buffers and cache is that linux will free up the memory when other processes need it.
Archived
This topic is now archived and is closed to further replies.