mortimer7
20-10-2014, 13:06
Salve,
su un vecchio notebook uso DSL con JWM come windows manager.
se all'avvio del sistema lancio il comando "free", questo è il risultato:
$ free
total used free shared buffers
Mem: 118552 30356 88196 0 1500
Swap: 273096 0 273096
Total: 391648 30356 361292
quindi 30MB di RAM in uso.
ma ho notato che sommando tutta la RAM usata dai processi attivi, viene molto meno di 30MB:
$ top
[H[JMem: 30408K used, 88144K free, 0K shrd, 1500K buff, 14740K cached
Load average: 0.36 0.14 0.05 (Status: S=sleeping R=running, W=waiting)
[7m PID USER STATUS RSS PPID %CPU %MEM COMMAND[0m
419 root S 4956 418 0.9 4.1 Xvesa
369 dsl S 1692 1 0.0 1.4 bash
422 dsl S 1592 418 0.0 1.3 jwm
446 dsl S 1536 445 0.0 1.2 bash
445 dsl S 1508 1 0.0 1.2 aterm
405 dsl S 1084 369 0.0 0.9 startx
443 dsl S 924 1 0.0 0.7 torsmo
450 dsl R 728 446 0.0 0.6 top
63 root S 712 1 0.0 0.5 cardmgr
364 root S 664 1 0.0 0.5 pump
418 dsl S 644 405 0.0 0.5 xinit
354 root S 560 1 0.0 0.4 syslogd
1 root S 76 0 0.0 0.0 init
2 root SW 0 1 0.0 0.0 keventd
6 root SW 0 1 0.0 0.0 kupdated
3 root SWN 0 1 0.0 0.0 ksoftirqd_CPU0
4 root SW 0 1 0.0 0.0 kswapd
5 root SW 0 1 0.0 0.0 bdflush
68 root SW 0 1 0.0 0.0 khubd
80 root SW 0 1 0.0 0.0 knodemgrd_0
dunque chi è che succhia la restante RAM? forse i processi root? sono tutti indispensabili o posso disabilitarne qualcuno?
Grazie.
questo è il mio .xinitrc:
# put X windows programs that you want started here.
# Be sure to add at the end of each command the &
KEYTABLE="$(getknoppixparam.lua KEYTABLE)"
DESKTOP="$(getoption.lua $HOME/.desktop wm)"
ICONS="$(getoption.lua $HOME/.desktop icons)"
umix -lf .umix 2>/dev/null
[ -f .mouse_config ] && sh .mouse_config &
# sudo sh /opt/eth0.sh
# /usr/bin/start_firewall
# For non-US Keyboards
if [ ${KEYTABLE:0:2} != "us" ]; then
xmodmap -e "clear Mod4" -e "add Mod5 = Mode_switch" &
fi
#if [ "$ICONS" == "xtdesk" ]; then
# for x in `ls -1 .xtdesktop/*.hide 2>/dev/null`; do rm -f ${x%.*}; done
# iconsnap.lua &>/dev/null &
# xtdesk.sh
#elif [ "$ICONS" == "dfm" ]; then
# /usr/bin/dfm &
#else
# [ "$DESKTOP" == "jwm" ] && echo '<?xml version="1.0"?><JWM></JWM>' > .jwmrc-icons
#fi
if egrep -qv lowram /proc/cmdline 2>/dev/null; then
# dillo /usr/share/doc/dsl/getting_started.html &>/dev/null &
torsmo 2>/dev/null &
fi
[ -f ".$DESKTOP.inc" ] && ~/".$DESKTOP.inc"
exec "${DESKTOP:=jwm}" 2>/dev/null
su un vecchio notebook uso DSL con JWM come windows manager.
se all'avvio del sistema lancio il comando "free", questo è il risultato:
$ free
total used free shared buffers
Mem: 118552 30356 88196 0 1500
Swap: 273096 0 273096
Total: 391648 30356 361292
quindi 30MB di RAM in uso.
ma ho notato che sommando tutta la RAM usata dai processi attivi, viene molto meno di 30MB:
$ top
[H[JMem: 30408K used, 88144K free, 0K shrd, 1500K buff, 14740K cached
Load average: 0.36 0.14 0.05 (Status: S=sleeping R=running, W=waiting)
[7m PID USER STATUS RSS PPID %CPU %MEM COMMAND[0m
419 root S 4956 418 0.9 4.1 Xvesa
369 dsl S 1692 1 0.0 1.4 bash
422 dsl S 1592 418 0.0 1.3 jwm
446 dsl S 1536 445 0.0 1.2 bash
445 dsl S 1508 1 0.0 1.2 aterm
405 dsl S 1084 369 0.0 0.9 startx
443 dsl S 924 1 0.0 0.7 torsmo
450 dsl R 728 446 0.0 0.6 top
63 root S 712 1 0.0 0.5 cardmgr
364 root S 664 1 0.0 0.5 pump
418 dsl S 644 405 0.0 0.5 xinit
354 root S 560 1 0.0 0.4 syslogd
1 root S 76 0 0.0 0.0 init
2 root SW 0 1 0.0 0.0 keventd
6 root SW 0 1 0.0 0.0 kupdated
3 root SWN 0 1 0.0 0.0 ksoftirqd_CPU0
4 root SW 0 1 0.0 0.0 kswapd
5 root SW 0 1 0.0 0.0 bdflush
68 root SW 0 1 0.0 0.0 khubd
80 root SW 0 1 0.0 0.0 knodemgrd_0
dunque chi è che succhia la restante RAM? forse i processi root? sono tutti indispensabili o posso disabilitarne qualcuno?
Grazie.
questo è il mio .xinitrc:
# put X windows programs that you want started here.
# Be sure to add at the end of each command the &
KEYTABLE="$(getknoppixparam.lua KEYTABLE)"
DESKTOP="$(getoption.lua $HOME/.desktop wm)"
ICONS="$(getoption.lua $HOME/.desktop icons)"
umix -lf .umix 2>/dev/null
[ -f .mouse_config ] && sh .mouse_config &
# sudo sh /opt/eth0.sh
# /usr/bin/start_firewall
# For non-US Keyboards
if [ ${KEYTABLE:0:2} != "us" ]; then
xmodmap -e "clear Mod4" -e "add Mod5 = Mode_switch" &
fi
#if [ "$ICONS" == "xtdesk" ]; then
# for x in `ls -1 .xtdesktop/*.hide 2>/dev/null`; do rm -f ${x%.*}; done
# iconsnap.lua &>/dev/null &
# xtdesk.sh
#elif [ "$ICONS" == "dfm" ]; then
# /usr/bin/dfm &
#else
# [ "$DESKTOP" == "jwm" ] && echo '<?xml version="1.0"?><JWM></JWM>' > .jwmrc-icons
#fi
if egrep -qv lowram /proc/cmdline 2>/dev/null; then
# dillo /usr/share/doc/dsl/getting_started.html &>/dev/null &
torsmo 2>/dev/null &
fi
[ -f ".$DESKTOP.inc" ] && ~/".$DESKTOP.inc"
exec "${DESKTOP:=jwm}" 2>/dev/null