openSUSEa suomeksi
openSUSE => Asennus ja käyttö => Aiheen aloitti: panttu - 01.05.2007 - klo:00:34
-
Onko normaalia, että KDE työpöytäympäristö käytettäessä, muistia menee perus toimintoihin 900Mt, josta suurimman siivun vie X 400Mt tarpeellaan.
GNomea käytettäessä muistia meni 100-200Mt, kun ohjelmiakin oli jokunen auki ja X ei vienyt muistia juurikaan mitään.
-
Milläs mittaat tuon muistin käytön? Komenna 'free -m' terminaalissa ja vaikka 'ps aux'.
-
http://opensuse.fi/keskustelu/index.php?topic=673.msg4278#msg4278
vaikka 'ps aux'.
Why ps is "wrong" (http://virtualthreads.blogspot.com/2006/02/understanding-memory-usage-on-linux.html)
-
Milläs mittaat tuon muistin käytön? Komenna 'free -m' terminaalissa ja vaikka 'ps aux'.
panttu@xi1546:~> free -m
total used free shared buffers cached
Mem: 1010 970 40 0 56 485
-/+ buffers/cache: 428 582
Swap: 2047 0 2047
panttu@xi1546:~>
panttu@xi1546:~> ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 740 284 ? Ss 15:23 0:01 init [5]
root 2 0.0 0.0 0 0 ? S 15:23 0:00 [migration/0]
root 3 0.0 0.0 0 0 ? SN 15:23 0:00 [ksoftirqd/0]
root 4 0.0 0.0 0 0 ? S 15:23 0:00 [migration/1]
root 5 0.0 0.0 0 0 ? SN 15:23 0:00 [ksoftirqd/1]
root 6 0.0 0.0 0 0 ? S< 15:23 0:00 [events/0]
root 7 0.0 0.0 0 0 ? S< 15:23 0:00 [events/1]
root 8 0.0 0.0 0 0 ? S< 15:23 0:00 [khelper]
root 9 0.0 0.0 0 0 ? S< 15:23 0:00 [kthread]
root 13 0.0 0.0 0 0 ? S< 15:23 0:00 [kblockd/0]
root 14 0.0 0.0 0 0 ? S< 15:23 0:00 [kblockd/1]
root 15 0.0 0.0 0 0 ? S< 15:23 0:00 [kacpid]
root 16 0.0 0.0 0 0 ? S< 15:23 0:00 [kacpi_notify]
root 153 0.0 0.0 0 0 ? S< 15:23 0:00 [cqueue/0]
root 154 0.0 0.0 0 0 ? S< 15:23 0:00 [cqueue/1]
root 155 0.0 0.0 0 0 ? S< 15:23 0:00 [kseriod]
root 201 0.0 0.0 0 0 ? S 15:23 0:00 [pdflush]
root 202 0.0 0.0 0 0 ? S 15:23 0:00 [pdflush]
root 203 0.0 0.0 0 0 ? S< 15:23 0:00 [kswapd0]
root 204 0.0 0.0 0 0 ? S< 15:23 0:00 [aio/0]
root 205 0.0 0.0 0 0 ? S< 15:23 0:00 [aio/1]
root 457 0.0 0.0 0 0 ? S< 15:23 0:00 [kpsmoused]
root 859 0.0 0.0 0 0 ? S< 15:23 0:00 [ata/0]
root 860 0.0 0.0 0 0 ? S< 15:23 0:00 [ata/1]
root 861 0.0 0.0 0 0 ? S< 15:23 0:00 [ata_aux]
root 868 0.0 0.0 0 0 ? S< 15:23 0:00 [scsi_eh_0]
root 869 0.0 0.0 0 0 ? S< 15:23 0:00 [scsi_eh_1]
root 870 0.0 0.0 0 0 ? S< 15:23 0:00 [scsi_eh_2]
root 871 0.0 0.0 0 0 ? S< 15:23 0:00 [scsi_eh_3]
root 882 0.0 0.0 0 0 ? S< 15:23 0:00 [scsi_eh_4]
root 883 0.0 0.0 0 0 ? S< 15:23 0:00 [scsi_eh_5]
root 1047 0.0 0.0 0 0 ? D< 15:24 0:01 [kjournald]
root 1096 0.0 0.0 1936 588 ? S<s 15:24 0:00 /sbin/udevd --d
root 1865 0.0 0.0 0 0 ? S< 15:24 0:00 [khubd]
root 1901 0.0 0.0 0 0 ? S< 15:24 0:00 [khpsbpkt]
root 1966 0.0 0.0 0 0 ? S 15:24 0:00 [knodemgrd_0]
root 1989 0.0 0.0 0 0 ? S< 15:24 0:00 [hda_codec]
root 2009 0.0 0.0 0 0 ? S< 15:24 0:00 [ipw3945/0]
root 2010 0.0 0.0 0 0 ? S< 15:24 0:00 [ipw3945/1]
root 2011 0.0 0.0 0 0 ? S< 15:24 0:00 [ipw3945/0]
root 2012 0.0 0.0 0 0 ? S< 15:24 0:00 [ipw3945/1]
root 2196 0.0 0.0 1640 432 ? S< 15:24 0:00 /sbin/ipw3945d
root 2302 0.0 0.0 1992 840 ? S<s 15:24 0:00 /usr/sbin/hcid
root 2309 0.0 0.0 1656 508 ? S<s 15:24 0:00 /usr/sbin/sdpd
root 2327 0.0 0.0 1816 456 ? S<s 15:24 0:00 /usr/bin/hidd -
root 2333 0.0 0.0 0 0 ? S< 15:24 0:00 [krfcommd]
root 2494 0.0 0.0 0 0 ? S< 15:24 0:00 [kjournald]
root 2496 0.0 0.0 0 0 ? S< 15:24 0:01 [kjournald]
root 3034 0.0 0.0 2104 680 ? Ss 15:24 0:00 /sbin/syslog-ng
root 3063 0.0 0.0 1720 532 ? Ss 15:24 0:00 /sbin/klogd -c
root 3067 0.0 0.0 1584 572 ? Ss 15:24 0:00 /sbin/acpid
root 3072 0.0 0.0 2248 684 ? Ss 15:24 0:00 /sbin/resmgrd
root 3128 0.0 0.1 3564 1528 ? Ss 15:24 0:00 /usr/sbin/polki
100 3129 0.0 0.1 3688 1120 ? Ss 15:24 0:03 /usr/bin/dbus-d
101 3130 0.0 0.4 5800 4196 ? Ss 15:24 0:04 /usr/sbin/hald
root 3134 0.0 0.1 2952 1124 ? S 15:24 0:00 hald-runner
root 3176 0.0 0.0 2588 1008 ? Ss 15:24 0:00 /usr/sbin/dhcdb
root 3209 0.0 0.1 3000 1324 ? Ss 15:24 0:00 /usr/sbin/Netwo
nobody 3247 0.0 0.0 1632 432 ? Ss 15:24 0:00 /sbin/portmap
root 3329 0.0 0.1 106564 1076 ? Ssl 15:24 0:00 /usr/sbin/nscd
root 3359 0.0 0.2 20468 2148 ? Ssl 15:24 0:00 /usr/sbin/Netwo
root 3360 0.0 0.0 0 0 ? S< 15:24 0:00 [kauditd]
root 3380 0.0 0.0 9952 620 ? S<sl 15:24 0:00 /sbin/auditd -n
root 3583 0.0 0.1 4420 1788 ? S 15:24 0:00 /usr/sbin/power
root 3586 0.0 0.1 5812 1300 ? Ss 15:24 0:00 /usr/sbin/sshd
101 3600 0.0 0.0 2252 708 ? S 15:24 0:00 hald-addon-keyb
101 3619 0.0 0.0 2248 704 ? S 15:24 0:00 hald-addon-keyb
root 3622 0.0 0.1 3024 1212 ? S 15:24 0:00 /usr/lib/hal/ha
101 3623 0.0 0.0 2248 760 ? S 15:24 0:00 hald-addon-acpi
root 3654 0.0 0.0 1824 740 ? S 15:24 0:00 hald-addon-stor
root 3664 0.0 0.1 5724 1816 ? Ss 15:24 0:00 /usr/lib/postfi
root 3686 0.0 0.0 1972 564 ? Ss 15:24 0:00 /usr/sbin/cron
root 3740 0.0 0.0 3380 876 ? S 15:24 0:00 /opt/kde3/bin/k
root 3815 0.0 0.1 5208 1924 ? Ss 15:24 0:00 /usr/sbin/cupsd
root 3819 4.8 9.7 111396 100356 ? SL 15:24 9:51 /usr/bin/Xgl -a
root 3820 0.0 0.0 3244 648 ? Ss 15:24 0:00 /usr/sbin/atiev
root 3912 0.1 1.2 23160 12872 tty7 SLs+ 15:24 0:22 /usr/bin/Xorg -
root 3939 0.0 0.0 2060 652 tty1 Ss+ 15:24 0:00 /sbin/mingetty
root 3940 0.0 0.0 2060 652 tty2 Ss+ 15:24 0:00 /sbin/mingetty
root 3941 0.0 0.0 2060 636 tty3 Ss+ 15:24 0:00 /sbin/mingetty
root 3942 0.0 0.0 2060 636 tty4 Ss+ 15:24 0:00 /sbin/mingetty
root 3943 0.0 0.0 2056 632 tty5 Ss+ 15:24 0:00 /sbin/mingetty
root 3944 0.0 0.0 2060 652 tty6 Ss+ 15:24 0:00 /sbin/mingetty
root 4010 0.0 0.1 2172 1088 ? S 15:24 0:00 /sbin/dhclient
root 4022 0.0 0.0 0 0 ? S< 15:24 0:00 [kondemand/0]
root 4023 0.0 0.0 0 0 ? S< 15:24 0:00 [kondemand/1]
root 4051 0.0 0.1 4472 1364 ? S 15:24 0:00 -:0
panttu 4066 0.0 0.1 3304 1452 ? Ss 15:24 0:00 /bin/sh /usr/bi
panttu 4116 0.0 0.0 5152 820 ? Ss 15:24 0:00 /usr/bin/ssh-ag
panttu 4120 0.0 0.0 3772 764 ? Ss 15:24 0:00 /usr/bin/dbus-d
panttu 4160 0.0 0.0 1432 140 ? S 15:24 0:00 start_kdeinit -
panttu 4162 0.0 0.7 23644 7464 ? Ss 15:24 0:00 kdeinit Running
panttu 4165 0.0 0.2 23020 2768 ? S 15:24 0:00 dcopserver [kde
panttu 4167 0.0 0.7 26284 7820 ? S 15:24 0:00 klauncher [kdei
panttu 4183 0.0 1.7 35140 18108 ? S 15:24 0:03 kded [kdeinit]
panttu 4279 0.0 0.0 1568 344 ? S 15:24 0:00 kwrapper ksmser
panttu 4281 0.0 1.0 26360 10768 ? S 15:24 0:00 ksmserver [kdei
panttu 4282 0.1 0.8 15732 8928 ? S 15:24 0:12 gtk-window-deco
panttu 4283 2.2 1.7 21848 18264 ? S 15:24 4:29 compiz --replac
panttu 4289 0.0 0.4 6916 4904 ? S 15:24 0:00 /opt/gnome/lib/
panttu 4292 0.0 1.5 30924 16112 ? S 15:24 0:02 kdesktop [kdein
panttu 4294 0.0 2.6 44264 26916 ? S 15:24 0:08 kicker [kdeinit
panttu 4303 0.0 1.4 31688 14864 ? S 15:25 0:00 kerry [kdeinit]
panttu 4308 0.0 1.1 44688 12344 ? S 15:25 0:00 knotify [kdeini
panttu 4316 0.0 1.3 29180 14448 ? S 15:25 0:00 kmix [kdeinit]
panttu 4321 0.0 1.2 29216 12888 ? S 15:25 0:00 knetworkmanager
panttu 4323 0.0 1.1 28464 11780 ? S 15:25 0:00 klipper [kdeini
panttu 4331 0.0 1.2 28636 12948 ? S 15:25 0:00 kpowersave [kde
panttu 4332 0.0 1.1 23112 12224 ? S 15:25 0:00 opensuseupdater
panttu 4435 0.4 2.2 53380 23260 ? Sl 15:25 0:56 beagled /usr/li
panttu 5213 0.0 1.3 29764 14180 ? S 15:43 0:00 kio_uiserver [k
panttu 5274 0.0 0.2 15552 2928 ? S 15:46 0:00 /opt/kde3/bin/k
postfix 7075 0.0 0.1 5736 1740 ? S 17:04 0:00 qmgr -l -t fifo
panttu 7804 0.0 0.6 24432 6448 ? S 18:04 0:00 kio_file [kdein
panttu 7966 0.0 2.3 39272 24732 ? S 18:06 0:01 konqueror [kdei
panttu 8749 0.6 11.1 292868 114900 ? Sl 18:15 0:11 /usr/bin/mono .
panttu 8760 0.0 0.1 3196 1392 ? Ss 18:15 0:00 /usr/bin/esd -t
panttu 8875 2.2 7.2 121804 75516 ? Sl 18:15 0:41 mono mdhost.exe
panttu 8889 0.0 1.5 39024 16152 ? Sl 18:15 0:00 mono mdhost.exe
panttu 9236 0.0 0.1 3040 1396 ? S 18:18 0:00 /bin/sh /usr/bi
panttu 9241 3.3 4.9 148000 51036 ? Sl 18:18 0:54 /usr/lib/firefo
panttu 10018 0.2 1.5 31988 16072 ? R 18:42 0:00 konsole [kdeini
panttu 10019 0.0 0.1 3776 1924 pts/1 Ss 18:42 0:00 /bin/bash
postfix 10217 0.0 0.1 5696 1704 ? S 18:44 0:00 pickup -l -t fi
root 10218 0.0 0.0 2624 980 ? S 18:45 0:00 /usr/sbin/cron
root 10219 0.0 0.1 2628 1136 ? Ss 18:45 0:00 /bin/sh -c tes
root 10220 0.0 0.1 2632 1276 ? S 18:45 0:00 /bin/bash /usr/
root 10240 0.0 0.1 2628 1236 ? SN 18:45 0:00 /bin/sh /etc/cr
102 10334 0.0 0.1 2832 1124 ? SN 18:45 0:00 su -s /bin/bash
102 10335 16.0 1.7 43704 18468 ? SNl 18:45 0:02 beagle-build-in
panttu 10347 0.0 0.0 2480 856 pts/1 R+ 18:46 0:00 ps aux
-
panttu@xi1546:~> free -m
total used free shared buffers cached
Mem: 1010 970 40 0 56 485
-/+ buffers/cache: 428 582
Swap: 2047 0 2047
panttu@xi1546:~>
Ihan normaalilta näyttää. Kuten tuolla (http://opensuse.fi/keskustelu/index.php?topic=673.msg4278#msg4278) sanoin, Linux käyttää muistia eri tavalla kuin Winblows.
Mulla
osku@koti:~> free -m
total used free shared buffers cached
Mem: 1011 929 82 0 62 647
-/+ buffers/cache: 219 792
Swap: 2055 0 2055
-
No siellä oli kyllä Xgl ja mono hieman rosvoamassa. Onko zmd vielä päällä? Jos joo, niin kannattaa suunnata sivulle http://opensuse.fi/Nopeampi_ohjelmistonhallinta ellei kyseessä ole SLED.