aazevedo1984
(usa Slackware)
Enviado em 13/04/2012 - 15:31h
passando o comando ps -ef | grep ttyACM0
root@darkstar:~# ps -ef | grep ttyACM0
root 9723 1 0 13:28 ttyACM0 00:00:00 /bin/login --
root 10137 9114 0 15:27 pts/1 00:00:00 grep ttyACM0
mas passando ps -af | grep agetty
root@darkstar:~# ps -ef | grep agetty
root 3524 1 0 Apr11 tty2 00:00:00 /sbin/agetty 38400 tty2 linux
root 3525 1 0 Apr11 tty3 00:00:00 /sbin/agetty 38400 tty3 linux
root 3526 1 0 Apr11 tty4 00:00:00 /sbin/agetty 38400 tty4 linux
root 3527 1 0 Apr11 tty5 00:00:00 /sbin/agetty 38400 tty5 linux
root 3528 1 0 Apr11 tty6 00:00:00 /sbin/agetty 38400 tty6 linux
root 10143 9114 0 15:28 pts/1 00:00:00 grep agetty
porém passando o comando direto, as vezes ele aparece, pelo q pude perceber o agetty esta parando e o respawn dentro do inittab esta restartando o comando q em seguida morre(missa dq a 7 dias).
root@darkstar:~# ps -ef | grep agetty
root 3524 1 0 Apr11 tty2 00:00:00 /sbin/agetty 38400 tty2 linux
root 3525 1 0 Apr11 tty3 00:00:00 /sbin/agetty 38400 tty3 linux
root 3526 1 0 Apr11 tty4 00:00:00 /sbin/agetty 38400 tty4 linux
root 3527 1 0 Apr11 tty5 00:00:00 /sbin/agetty 38400 tty5 linux
root 3528 1 0 Apr11 tty6 00:00:00 /sbin/agetty 38400 tty6 linux
root 10338 1 0 15:36 ttyACM0 00:00:00 /sbin/agetty -L ttyACM0 9600 vt100
root 10340 8537 0 15:36 pts/0 00:00:00 grep agetty
root@darkstar:~# ps -ef | grep agetty
root 3524 1 0 Apr11 tty2 00:00:00 /sbin/agetty 38400 tty2 linux
root 3525 1 0 Apr11 tty3 00:00:00 /sbin/agetty 38400 tty3 linux
root 3526 1 0 Apr11 tty4 00:00:00 /sbin/agetty 38400 tty4 linux
root 3527 1 0 Apr11 tty5 00:00:00 /sbin/agetty 38400 tty5 linux
root 3528 1 0 Apr11 tty6 00:00:00 /sbin/agetty 38400 tty6 linux
root 10342 8537 0 15:36 pts/0 00:00:00 grep agetty