Debian/Memory を節約する
2006/07/16/164801
仮想 console の数を減らす
$ps aux | grep tty[0-9] root 2213 0.0 0.0 1500 484 tty1 Ss+ 09:30 0:00 /sbin/getty 38400 tty1~~ root 2214 0.0 0.0 1500 484 tty2 Ss+ 09:30 0:00 /sbin/getty 38400 tty2~~ root 2215 0.0 0.0 1500 484 tty3 Ss+ 09:30 0:00 /sbin/getty 38400 tty3~~ root 2216 0.0 0.0 1500 484 tty4 Ss+ 09:30 0:00 /sbin/getty 38400 tty4~~ root 2217 0.0 0.0 1500 484 tty5 Ss+ 09:30 0:00 /sbin/getty 38400 tty5~~ root 2218 0.0 0.0 1500 484 tty6 Ss+ 09:30 0:00 /sbin/getty 38400 tty6
とりあえず標準の 6 つから、 2 つに減らしてみる。
#nano /etc/inittab 1:2345:respawn:/sbin/getty 38400 tty1~~ 2:23:respawn:/sbin/getty 38400 tty2~~ #3:23:respawn:/sbin/getty 38400 tty3~~ #4:23:respawn:/sbin/getty 38400 tty4~~ #5:23:respawn:/sbin/getty 38400 tty5~~ #6:23:respawn:/sbin/getty 38400 tty6