Red Hat NETSCAPE MANAGEMENT SYSTEM 6.2 - COMMAND-LINE Guida di Installazione Pagina 57

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 82
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 56
958 ? S 0:46 \_ named −u named
959 ? S 0:47 \_ named −u named
960 ? S 0:00 \_ named −u named
961 ? S 0:11 \_ named −u named
1051 ? S 0:30 /usr/libexec/postfix/master
1703 ? S 0:00 \_ tlsmgr −l −t fifo −u −c
1704 ? S 0:00 \_ qmgr −l −t fifo −u −c
1955 ? S 0:00 \_ pickup −l −t fifo −c
1863 ? S 0:00 \_ trivial−rewrite −n rewrite −t unix −u −c
2043 ? S 0:00 \_ cleanup −t unix −u −c
2049 ? S 0:00 \_ local −t unix
2062 ? S 0:00 \_ smtpd −n smtp −t inet −u −c
A couple of things to note here. We have two by now familiar daemons here: named and postfix (smtpd).
Both are spawning sub−processes. In the case of named, what we are seeing is threads, various
sub−processes that it always spawns. Postfix is also spawning sub−processes, but not as "threads". Each
sub−process has its own specific task. It is worth noting that child processes are dependent on the parent
process. So killing the parent PID, will in turn kill all child processes.
If all this has not shed any light, we might also try locate:
$ locate /master
/etc/postfix/master.cf
/var/spool/postfix/pid/master.pid
/usr/libexec/postfix/master
/usr/share/vim/syntax/master.vim
/usr/share/vim/vim60z/syntax/master.vim
/usr/share/doc/postfix−20010202/html/master.8.html
/usr/share/doc/postfix−20010202/master.cf
/usr/share/man/man8/master.8.gz
find is perhaps the most flexible file finding utility, but doesn't use a database the way locate does, so is
much slower:
$ find / −name master
/usr/libexec/postfix/master
If lsof is installed, it is another command that is useful for finding who owns processes or ports:
# lsof −i :631
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
cupsd 1315 root 0u IPv4 3734 TCP *:631 (LISTEN)
This is again telling us that the cupsd print daemon is the owner of port 631. Just a different way of getting at
it. Yet one more way to get at this is with fuser, which should be installed:
# fuser −v −n tcp 631
Security Quick−Start HOWTO for Red Hat Linux
8.3.2. Port and Process Owners 54
Vedere la pagina 56
1 2 ... 52 53 54 55 56 57 58 59 60 61 62 ... 81 82

Commenti su questo manuale

Nessun commento