Como descobrir o que inunda o terminal?

2

Quando conectado via SSH a um AIX 6.1:

0:root@SERVER:/root # 
   Message from root on SERVER (UNKNOWN) [Fri Sep 18 08:00:17 2015] ...
Message from qdaemon:

: (WARNING) Connection to server failed.
rembak: errno = 81: No route to host
<EOT>

   Message from root on SERVER (UNKNOWN) [Fri Sep 18 08:00:17 2015] ...
Message from qdaemon:
/usr/lib/lpd/rembak -T20 -S xx10 -P xx10 -N /usr/lib/lpd/bsdshort /var/spool/qdaemon/PRINTERNAME <EOT>

   Message from root on SERVER (UNKNOWN) [Fri Sep 18 08:00:17 2015] ...
Message from qdaemon:
Queue xx10:@xx10 went down, job is still queued:
  Backend: /usr/lib/lpd/rembak -T20 -S xx10 -P xx10 -N /usr/lib/lpd/bsdshort \
                    /var/spool/qdaemon/PRINTERNAME 
  Backend Exit Value: EXITFATAL (0100)
  Job Submit Time: Sep 11 14:54:52 2015,  Current Time: Sep 18 08:00:17 2015
Use local problem reporting procedures.
<EOT>

0:root@SERVER:/root # 

Pergunta : Como posso descobrir o que está inundando a tela / terminal?

    
por LoukiosValentine79 18.09.2015 / 08:05

1 resposta

3

Parece que qdaemon é mensagens de spam. qdaemon processa a impressão principalmente. Há detalhes aqui em que qdaemon está configurado para fazer isso: link

The qdaemon print spooler always uses the sysnot routine to send messages.

The backend can send messages directly to the user with the sysnot routine. The sysnot routine can either mail the message to the user or write the message to the user's terminal. The sysnot routine is called with the following syntax:

The value of the pref parameter should be DOMAIL or DOWRITE. DOMAIL mails the error message to the user. DOWRITE writes the message to the user's terminal if the user is logged on. If the user is not logged on, the message is mailed to the user. The DOMAIL and DOWRITE constants are defined in the /usr/include/IN/backend.h file.

    
por 18.09.2015 / 08:37