Re: confusing processes
Amish Rughoonundon <axr0284@rit.edu> writes:
> I was wondering where all these processes /sbin/getty ... came from since I
> did not start them
> . Anybody could enlighten me. Thanks
> Amish
> ps g
> PID TTY STAT TIME COMMAND
> 1346 tty1 Ss+ 0:00 /sbin/getty 38400 tty1
> 1347 tty2 Ss+ 0:00 /sbin/getty 38400 tty2
> 1348 tty3 Ss+ 0:00 /sbin/getty 38400 tty3
> 1349 tty4 Ss+ 0:00 /sbin/getty 38400 tty4
> 1350 tty5 Ss+ 0:00 /sbin/getty 38400 tty5
> 1351 tty6 Ss+ 0:00 /sbin/getty 38400 tty6
> 16852 pts/0 Ss 0:00 -bash
> 16889 pts/0 T 0:00 emacs proftpd.conf
> 16921 pts/0 R+ 0:00 ps g
"getty opens a tty port, prompts for a login name and invokes the
/bin/login command. It is normally invoked by init(8)."
As you can see, there's one for each of your virtual consoles.
Reply to: