Discussion Locked

solaris admin

0 helpful
9 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
can we kill init process? what is init q?

9 replies

by soleblazer

init q will rescan the /etc/inittab file for changes. Never kill init, it spawns all of your processes. To make init go into different run levels use the telinit "level" command. For instance, to go into single user mode you would issue telinit s

Hoep this helps,

by cc.chang

You can make a test, please
#vi /etc/inittab (add line like) ttya:234:respawn:/usr/lib/saf/ttymon -g -h -p "`uname -n` ttya login:" -T sun -d /dev/term/a -l 9600 -m ldterm,ttycompat
:wq!
#init q
#ps -ef|grep ttya
You can see ttya process.
#vi/etc/inittab
delete ttya this line then save /etc/inittab.
#ps -ef|grep ttya
You can't see any ttya process.

Hope usefully to you

by ivan

We can't kill init process. For reload inittab use init q (or telinit q).

This discussion is closed to new replies.