Portal Home > Knowledgebase > Articles Database > Disable mingetty on CentOS6
Disable mingetty on CentOS6
Posted by SerayaHost, 04-06-2012, 03:27 AM |
Hello,
Currently I'm using XEN PV with CentOS6 installed as the OS..
May I know how to disable the mingetty (2-6) to preserve more memory.
------------------------------
[root@venus ~]# ps aux | grep tty
root 772 0.0 0.2 1964 484 tty1 Ss+ 03:18 0:00 /sbin/mingetty /dev/tty1
root 774 0.0 0.2 1964 476 tty2 Ss+ 03:18 0:00 /sbin/mingetty /dev/tty2
root 776 0.0 0.2 1964 480 tty3 Ss+ 03:18 0:00 /sbin/mingetty /dev/tty3
root 778 0.0 0.2 1964 480 tty4 Ss+ 03:18 0:00 /sbin/mingetty /dev/tty4
root 780 0.0 0.2 1964 484 tty5 Ss+ 03:18 0:00 /sbin/mingetty /dev/tty5
root 782 0.0 0.2 1964 476 tty6 Ss+ 03:18 0:00 /sbin/mingetty /dev/tty6
root 787 0.0 0.2 1976 540 hvc0 Ss+ 03:18 0:00 /sbin/agetty /dev/hvc0 38400 vt100-nav
root 818 0.0 0.3 2236 568 pts/0 R+ 03:27 0:00 grep tty
[root@venus ~]#
------------------------------
On CentOS 5, we can edit file on /etc/inittab.. but on CentOS 6, they seems using different configuration..
Any help please?
Thanks...
|
Posted by astrovps, 04-06-2012, 09:23 AM |
You can check ACTIVE_CONSOLES in /etc/sysconfig/init.
|
Posted by SerayaHost, 04-06-2012, 10:26 AM |
Hello AstroVPS,
It works... thanks..
|
Add to Favourites Print this Article
Also Read