/l3/users/27-07-2009/nt-fbsdnet/fbsd6.net.nt/user :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 :13 :14 :15 :16 :17 :18 :19 :20 :21 :22 :23 :24 :25 :26 :27 :28 :29 :30 :31 :32 :33 :34 :35 :36 :37 :38 :39 :40 :41 :42 :43 :44 :45 :46 :47 :48 :49 :50 :51 :52 :53 :54 :55 :56 :57 :58 :59 :60 :61 :62 :63 :64 :65 |
|
#pkg_info -i namedb
pkg_info: can't find package 'namedb' installed or in a file! |
#pkg_info -i namedb
pkg_info: can't find package 'namedb' installed or in a file! |
#pkg_info -i named
pkg_info: can't find package 'named' installed or in a file! |
#pkg_info -i named
pkg_info: can't find package 'named' installed or in a file! |
#pkg_info -i bind
pkg_info: can't find package 'bind' installed or in a file! |
#pkg_info -i bind
pkg_info: can't find package 'bind' installed or in a file! |
#pkg_info -i clamav
pkg_info: can't find package 'clamav' installed or in a file! |
#pkg_info -i clamav
pkg_info: can't find package 'clamav' installed or in a file! |
#pkg_info -i spam*
pkg_info: can't find package 'spam*' installed or in a file! |
#pkg_info -i spam*
pkg_info: can't find package 'spam*' installed or in a file! |
$su
Password: |
#shutdown -r now
Shutdown NOW! shutdown: [pid 87096] wall: /dev/:2: No such file or directory |
#shutdown -r now
Shutdown NOW! shutdown: [pid 87096] wall: /dev/:2: No such file or directory |
#pkg_info -a | less
|
#pkg_info -a | grep mail
WWW: http://www.inf.enst.fr/~demaille/a2ps/ clamav with sendmail. An integrated mail, calendar and address book distributed suite management solution for UNIX. Evolution seamlessly integrates email, create and save powerful contextual views of email messages. The data backends for the Evolution integrated mail/PIM suite Evolution integrated mail/PIM suite, including the Berkeley database users can access public folders, Global Address Lists, email, calendar, our electronic mailing list. Mailing list members are notified of updates part slrn, part everything else) is an interactive screen-oriented mailer ... Perl5 modules for dealing with Internet e-mail messages e-mail messages. parsing e-mail addresses, parsing mailcap files, manipulating Unix mail and sendmail commands, reading mbox mail boxes, and Razor Filtering Agents (end-users and MTAs) check their incoming mail against speech data (e.g. voice mail), and audio books. In some sense, it is There is a mailing list that receives announcements whenever a new This package contains xbiff, which displays a little image of a mailbox in the X Window System. The flag on the mailbox is down when there is no mail, and the flag goes up when new mail arrives. |
#pkg_info -a | grep mail
WWW: http://www.inf.enst.fr/~demaille/a2ps/ clamav with sendmail. An integrated mail, calendar and address book distributed suite management solution for UNIX. Evolution seamlessly integrates email, create and save powerful contextual views of email messages. The data backends for the Evolution integrated mail/PIM suite Evolution integrated mail/PIM suite, including the Berkeley database users can access public folders, Global Address Lists, email, calendar, our electronic mailing list. Mailing list members are notified of updates part slrn, part everything else) is an interactive screen-oriented mailer ... Perl5 modules for dealing with Internet e-mail messages e-mail messages. parsing e-mail addresses, parsing mailcap files, manipulating Unix mail and sendmail commands, reading mbox mail boxes, and Razor Filtering Agents (end-users and MTAs) check their incoming mail against speech data (e.g. voice mail), and audio books. In some sense, it is There is a mailing list that receives announcements whenever a new This package contains xbiff, which displays a little image of a mailbox in the X Window System. The flag on the mailbox is down when there is no mail, and the flag goes up when new mail arrives. |
#cd /usr/ports
|
#cd /usr/ports
|
#cd mail
|
#cd mail
|
#ls
kiltdown raysfilter kshowmail razor-agents lbdb rbl-milter lens rblcheck libdomainkeys regm libesmtp relay-ctrl libetpan relaydb libnewmail renattach libpst reply-o-matic librfc822 rftp ... p5-IMAP-Client xfce4-mailwatch-plugin p5-IMAP-Sieve xfmail p5-LMAP-CID2SPF xlbiff p5-Log-Procmail xmail p5-MIME-Charset xmailbox p5-MIME-EncWords xmailwatcher p5-MIME-Explode xpbiff p5-MIME-Fast xpi-displayquota p5-MIME-Lite zabit p5-MIME-Lite-HTML zmailer |
#ls
kiltdown raysfilter kshowmail razor-agents lbdb rbl-milter lens rblcheck libdomainkeys regm libesmtp relay-ctrl libetpan relaydb libnewmail renattach libpst reply-o-matic librfc822 rftp ... p5-IMAP-Client xfce4-mailwatch-plugin p5-IMAP-Sieve xfmail p5-LMAP-CID2SPF xlbiff p5-Log-Procmail xmail p5-MIME-Charset xmailbox p5-MIME-EncWords xmailwatcher p5-MIME-Explode xpbiff p5-MIME-Fast xpi-displayquota p5-MIME-Lite zabit p5-MIME-Lite-HTML zmailer |
#ls | less
|
#ls | less
|
#ls
Makefile distinfo pkg-descr pkg-plist bsd.milter.mk files pkg-message |
#ls
Makefile distinfo pkg-descr pkg-plist bsd.milter.mk files pkg-message |
#pkg_info -i
pkg_info: missing package name(s) usage: pkg_info [-bcdDEfgGiIjkKLmopPqQrRsvVxX] [-e package] [-l prefix] [-t template] -a | pkg-name ... pkg_info [-qQ] -W filename pkg_info [-qQ] -O origin pkg_info |
#pkg_info -i
pkg_info: missing package name(s) usage: pkg_info [-bcdDEfgGiIjkKLmopPqQrRsvVxX] [-e package] [-l prefix] [-t template] -a | pkg-name ... pkg_info [-qQ] -W filename pkg_info [-qQ] -O origin pkg_info |
#pkg_info
scripts-1.0.1 Various X related scripts scrnsaverproto-1.1.0 ScrnSaver extension headers sdl-1.2.11_1,2 Cross-platform multi-media development API sdocbook-xml-1.1,1 "Simplified" DocBook XML DTD seahorse-2.20.1 GNOME application for managing encryption keys (PGP, SSH) sessreg-1.0.3 Manage utmp/wtmp entries for non-init X clients setxkbmap-1.0.4 Set the keyboard using the X Keyboard Extension sgmlformat-1.7_2 Generates groff and HTML from linuxdoc and docbook SGML doc shared-mime-info-0.22_1 A MIME type database from the FreeDesktop project showfont-1.0.1 Font dumper for the X font server ... xtrans-1.0.4 Abstract network code for X xtrap-1.0.2 XTrap sample clients for X xvid-1.1.3,1 An opensource MPEG-4 codec, based on OpenDivx xvidtune-1.0.1 Video mode tuner for X xvinfo-1.0.2 Print out X-Video extension adaptor information xwd-1.0.1 Dump an image of an X window xwininfo-1.0.3 Window information utility for X xwud-1.0.1 Image displayer for X yelp-2.20.0 A help browser for the GNOME 2 desktop zenity-2.20.0 Display GNOME dialogs from the command line |
#pkg_info
scripts-1.0.1 Various X related scripts scrnsaverproto-1.1.0 ScrnSaver extension headers sdl-1.2.11_1,2 Cross-platform multi-media development API sdocbook-xml-1.1,1 "Simplified" DocBook XML DTD seahorse-2.20.1 GNOME application for managing encryption keys (PGP, SSH) sessreg-1.0.3 Manage utmp/wtmp entries for non-init X clients setxkbmap-1.0.4 Set the keyboard using the X Keyboard Extension sgmlformat-1.7_2 Generates groff and HTML from linuxdoc and docbook SGML doc shared-mime-info-0.22_1 A MIME type database from the FreeDesktop project showfont-1.0.1 Font dumper for the X font server ... xtrans-1.0.4 Abstract network code for X xtrap-1.0.2 XTrap sample clients for X xvid-1.1.3,1 An opensource MPEG-4 codec, based on OpenDivx xvidtune-1.0.1 Video mode tuner for X xvinfo-1.0.2 Print out X-Video extension adaptor information xwd-1.0.1 Dump an image of an X window xwininfo-1.0.3 Window information utility for X xwud-1.0.1 Image displayer for X yelp-2.20.0 A help browser for the GNOME 2 desktop zenity-2.20.0 Display GNOME dialogs from the command line |
#man pkg_info
|
#man pkg_info
|
#ls
Makefile distinfo pkg-descr pkg-plist bsd.milter.mk files pkg-message |
#ls
Makefile distinfo pkg-descr pkg-plist bsd.milter.mk files pkg-message |
#ee distinfo
|
#ee distinfo
|
#LANG=C
|
#LANG=C
|
#ls
Makefile distinfo pkg-descr pkg-plist bsd.milter.mk files pkg-message |
#ls
Makefile distinfo pkg-descr pkg-plist bsd.milter.mk files pkg-message |
#ee pkg-escr
|
#ee pkg-escr
|
#ls
Makefile distinfo pkg-descr pkg-plist bsd.milter.mk files pkg-message |
#ls
Makefile distinfo pkg-descr pkg-plist bsd.milter.mk files pkg-message |
#ls -F
Makefile distinfo pkg-descr pkg-plist bsd.milter.mk files/ pkg-message |
#ls -F
Makefile distinfo pkg-descr pkg-plist bsd.milter.mk files/ pkg-message |
#ee pkg_plist
|
#ee pkg_plist
|
#ls -F
Makefile distinfo pkg-descr pkg-plist bsd.milter.mk files/ pkg-message |
#ls -F
Makefile distinfo pkg-descr pkg-plist bsd.milter.mk files/ pkg-message |
#ee pkg-list
|
#ee pkg-list
|
#ls -F
Makefile distinfo pkg-descr pkg-plist bsd.milter.mk files/ pkg-message |
#ls -F
Makefile distinfo pkg-descr pkg-plist bsd.milter.mk files/ pkg-message |
#ee pkg-message
|
#ee pkg-message
|
#ls -F
Makefile distinfo pkg-descr pkg-plist bsd.milter.mk files/ pkg-message |
#ls -F
Makefile distinfo pkg-descr pkg-plist bsd.milter.mk files/ pkg-message |
#cd files
|
#cd files
|
#ls -F
CYRUS_LOOKUP sendmail.sh site.config.m4.ldap site.config.m4.ssl cyruslookup.patch sharedlibrary.m4 site.config.m4.milter site.config.m4.tls patch-aa site.config.m4 site.config.m4.pre4 sm-client.sh pkg-milter site.config.m4.ipv6 site.config.m4.sasl2 tls-install.sh |
#ls -F
CYRUS_LOOKUP sendmail.sh site.config.m4.ldap site.config.m4.ssl cyruslookup.patch sharedlibrary.m4 site.config.m4.milter site.config.m4.tls patch-aa site.config.m4 site.config.m4.pre4 sm-client.sh pkg-milter site.config.m4.ipv6 site.config.m4.sasl2 tls-install.sh |
#ee sendmail.sh
|
#ee sendmail.sh
|
#sendmail start
|
#sendmail start
|
$su
Password: |
#tail -f /var/log/maillog
Aug 13 15:20:11 host1 spamd[941]: spamd: server successfully spawned child process, pid 1075 Aug 13 15:20:11 host1 spamd[941]: prefork: child states: II Aug 13 18:30:27 host1 sendmail[1325]: n7DFURCS001325: from=root, size=332, class=0, nrcpts=1, msgid=<200908131530.n7DFURCS001325@host1.dima.net.nt>, relay=root@localhost Aug 13 18:30:28 host1 sm-mta[1326]: n7DFURf9001326: from=<root@host1.dima.net.nt>, size=631, class=0, nrcpts=1, msgid=<200908131530.n7DFURCS001325@host1.dima.net.nt>, proto=ESMTP, daemon=Daemon0, relay=localhost.net.nt [127.0.0.1] Aug 13 18:30:28 host1 sendmail[1325]: n7DFURCS001325: to=root, ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30332, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n7DFURf9001326 Message accepted for delivery) Aug 13 18:30:28 host1 sm-mta[1327]: n7DFURf9001326: to=<root@host1.dima.net.nt>, ctladdr=<root@host1.dima.net.nt> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30901, relay=local, dsn=2.0.0, stat=Sent Aug 13 18:40:28 host1 sendmail[1625]: n7DFeRcS001625: from=root, size=330, class=0, nrcpts=1, msgid=<200908131540.n7DFeRcS001625@host1.dima.net.nt>, relay=root@localhost Aug 13 18:40:28 host1 sm-mta[1626]: n7DFeSNB001626: from=<root@host1.dima.net.nt>, size=629, class=0, nrcpts=1, msgid=<200908131540.n7DFeRcS001625@host1.dima.net.nt>, proto=ESMTP, daemon=Daemon0, relay=localhost.net.nt [127.0.0.1] Aug 13 18:40:28 host1 sendmail[1625]: n7DFeRcS001625: to=root, ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=30330, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n7DFeSNB001626 Message accepted for delivery) Aug 13 18:40:28 host1 sm-mta[1627]: n7DFeSNB001626: to=<root@host1.dima.net.nt>, ctladdr=<root@host1.dima.net.nt> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30899, relay=local, dsn=2.0.0, stat=Sent ... Aug 13 18:53:17 host1 sendmail[2029]: n7DFrAxY002029: from=user, size=0, class=0, nrcpts=1, relay=root@localhost Aug 13 19:00:28 host1 sendmail[2086]: n7DG0SmG002086: from=root, size=330, class=0, nrcpts=1, msgid=<200908131600.n7DG0SmG002086@host1.dima.net.nt>, relay=root@localhost Aug 13 19:00:29 host1 sm-mta[2087]: n7DG0Skm002087: from=<root@host1.dima.net.nt>, size=629, class=0, nrcpts=1, msgid=<200908131600.n7DG0SmG002086@host1.dima.net.nt>, proto=ESMTP, daemon=Daemon0, relay=localhost.net.nt [127.0.0.1] Aug 13 19:00:29 host1 sendmail[2086]: n7DG0SmG002086: to=root, ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30330, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n7DG0Skm002087 Message accepted for delivery) Aug 13 19:00:29 host1 sm-mta[2088]: n7DG0Skm002087: to=<root@host1.dima.net.nt>, ctladdr=<root@host1.dima.net.nt> (0/0), delay=00:00:01, xdelay=00:00:00, mailer=local, pri=30899, relay=local, dsn=2.0.0, stat=Sent Aug 13 19:10:27 host1 sendmail[2123]: n7DGARRL002123: from=root, size=330, class=0, nrcpts=1, msgid=<200908131610.n7DGARRL002123@host1.dima.net.nt>, relay=root@localhost Aug 13 19:10:27 host1 sm-mta[2124]: n7DGARrY002124: from=<root@host1.dima.net.nt>, size=629, class=0, nrcpts=1, msgid=<200908131610.n7DGARRL002123@host1.dima.net.nt>, proto=ESMTP, daemon=Daemon0, relay=localhost.net.nt [127.0.0.1] Aug 13 19:10:27 host1 sendmail[2123]: n7DGARRL002123: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30330, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n7DGARrY002124 Message accepted for delivery) Aug 13 19:10:27 host1 sm-mta[2125]: n7DGARrY002124: to=<root@host1.dima.net.nt>, ctladdr=<root@host1.dima.net.nt> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30899, relay=local, dsn=2.0.0, stat=Sent ^C |
#tail -f /var/log/maillog
Aug 13 15:20:11 host1 spamd[941]: spamd: server successfully spawned child process, pid 1075 Aug 13 15:20:11 host1 spamd[941]: prefork: child states: II Aug 13 18:30:27 host1 sendmail[1325]: n7DFURCS001325: from=root, size=332, class=0, nrcpts=1, msgid=<200908131530.n7DFURCS001325@host1.dima.net.nt>, relay=root@localhost Aug 13 18:30:28 host1 sm-mta[1326]: n7DFURf9001326: from=<root@host1.dima.net.nt>, size=631, class=0, nrcpts=1, msgid=<200908131530.n7DFURCS001325@host1.dima.net.nt>, proto=ESMTP, daemon=Daemon0, relay=localhost.net.nt [127.0.0.1] Aug 13 18:30:28 host1 sendmail[1325]: n7DFURCS001325: to=root, ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30332, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n7DFURf9001326 Message accepted for delivery) Aug 13 18:30:28 host1 sm-mta[1327]: n7DFURf9001326: to=<root@host1.dima.net.nt>, ctladdr=<root@host1.dima.net.nt> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30901, relay=local, dsn=2.0.0, stat=Sent Aug 13 18:40:28 host1 sendmail[1625]: n7DFeRcS001625: from=root, size=330, class=0, nrcpts=1, msgid=<200908131540.n7DFeRcS001625@host1.dima.net.nt>, relay=root@localhost Aug 13 18:40:28 host1 sm-mta[1626]: n7DFeSNB001626: from=<root@host1.dima.net.nt>, size=629, class=0, nrcpts=1, msgid=<200908131540.n7DFeRcS001625@host1.dima.net.nt>, proto=ESMTP, daemon=Daemon0, relay=localhost.net.nt [127.0.0.1] Aug 13 18:40:28 host1 sendmail[1625]: n7DFeRcS001625: to=root, ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=30330, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n7DFeSNB001626 Message accepted for delivery) Aug 13 18:40:28 host1 sm-mta[1627]: n7DFeSNB001626: to=<root@host1.dima.net.nt>, ctladdr=<root@host1.dima.net.nt> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30899, relay=local, dsn=2.0.0, stat=Sent ... Aug 13 18:53:17 host1 sendmail[2029]: n7DFrAxY002029: from=user, size=0, class=0, nrcpts=1, relay=root@localhost Aug 13 19:00:28 host1 sendmail[2086]: n7DG0SmG002086: from=root, size=330, class=0, nrcpts=1, msgid=<200908131600.n7DG0SmG002086@host1.dima.net.nt>, relay=root@localhost Aug 13 19:00:29 host1 sm-mta[2087]: n7DG0Skm002087: from=<root@host1.dima.net.nt>, size=629, class=0, nrcpts=1, msgid=<200908131600.n7DG0SmG002086@host1.dima.net.nt>, proto=ESMTP, daemon=Daemon0, relay=localhost.net.nt [127.0.0.1] Aug 13 19:00:29 host1 sendmail[2086]: n7DG0SmG002086: to=root, ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30330, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n7DG0Skm002087 Message accepted for delivery) Aug 13 19:00:29 host1 sm-mta[2088]: n7DG0Skm002087: to=<root@host1.dima.net.nt>, ctladdr=<root@host1.dima.net.nt> (0/0), delay=00:00:01, xdelay=00:00:00, mailer=local, pri=30899, relay=local, dsn=2.0.0, stat=Sent Aug 13 19:10:27 host1 sendmail[2123]: n7DGARRL002123: from=root, size=330, class=0, nrcpts=1, msgid=<200908131610.n7DGARRL002123@host1.dima.net.nt>, relay=root@localhost Aug 13 19:10:27 host1 sm-mta[2124]: n7DGARrY002124: from=<root@host1.dima.net.nt>, size=629, class=0, nrcpts=1, msgid=<200908131610.n7DGARRL002123@host1.dima.net.nt>, proto=ESMTP, daemon=Daemon0, relay=localhost.net.nt [127.0.0.1] Aug 13 19:10:27 host1 sendmail[2123]: n7DGARRL002123: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30330, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n7DGARrY002124 Message accepted for delivery) Aug 13 19:10:27 host1 sm-mta[2125]: n7DGARrY002124: to=<root@host1.dima.net.nt>, ctladdr=<root@host1.dima.net.nt> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30899, relay=local, dsn=2.0.0, stat=Sent ^C |
#tail -f /var/log/maillog
Aug 13 15:20:11 host1 spamd[941]: spamd: server successfully spawned child process, pid 1075 Aug 13 15:20:11 host1 spamd[941]: prefork: child states: II Aug 13 18:30:27 host1 sendmail[1325]: n7DFURCS001325: from=root, size=332, class=0, nrcpts=1, msgid=<200908131530.n7DFURCS001325@host1.dima.net.nt>, relay=root@localhost Aug 13 18:30:28 host1 sm-mta[1326]: n7DFURf9001326: from=<root@host1.dima.net.nt>, size=631, class=0, nrcpts=1, msgid=<200908131530.n7DFURCS001325@host1.dima.net.nt>, proto=ESMTP, daemon=Daemon0, relay=localhost.net.nt [127.0.0.1] Aug 13 18:30:28 host1 sendmail[1325]: n7DFURCS001325: to=root, ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30332, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n7DFURf9001326 Message accepted for delivery) Aug 13 18:30:28 host1 sm-mta[1327]: n7DFURf9001326: to=<root@host1.dima.net.nt>, ctladdr=<root@host1.dima.net.nt> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30901, relay=local, dsn=2.0.0, stat=Sent Aug 13 18:40:28 host1 sendmail[1625]: n7DFeRcS001625: from=root, size=330, class=0, nrcpts=1, msgid=<200908131540.n7DFeRcS001625@host1.dima.net.nt>, relay=root@localhost Aug 13 18:40:28 host1 sm-mta[1626]: n7DFeSNB001626: from=<root@host1.dima.net.nt>, size=629, class=0, nrcpts=1, msgid=<200908131540.n7DFeRcS001625@host1.dima.net.nt>, proto=ESMTP, daemon=Daemon0, relay=localhost.net.nt [127.0.0.1] Aug 13 18:40:28 host1 sendmail[1625]: n7DFeRcS001625: to=root, ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=30330, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n7DFeSNB001626 Message accepted for delivery) Aug 13 18:40:28 host1 sm-mta[1627]: n7DFeSNB001626: to=<root@host1.dima.net.nt>, ctladdr=<root@host1.dima.net.nt> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30899, relay=local, dsn=2.0.0, stat=Sent ... Aug 13 18:53:17 host1 sendmail[2029]: n7DFrAxY002029: from=user, size=0, class=0, nrcpts=1, relay=root@localhost Aug 13 19:00:28 host1 sendmail[2086]: n7DG0SmG002086: from=root, size=330, class=0, nrcpts=1, msgid=<200908131600.n7DG0SmG002086@host1.dima.net.nt>, relay=root@localhost Aug 13 19:00:29 host1 sm-mta[2087]: n7DG0Skm002087: from=<root@host1.dima.net.nt>, size=629, class=0, nrcpts=1, msgid=<200908131600.n7DG0SmG002086@host1.dima.net.nt>, proto=ESMTP, daemon=Daemon0, relay=localhost.net.nt [127.0.0.1] Aug 13 19:00:29 host1 sendmail[2086]: n7DG0SmG002086: to=root, ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30330, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n7DG0Skm002087 Message accepted for delivery) Aug 13 19:00:29 host1 sm-mta[2088]: n7DG0Skm002087: to=<root@host1.dima.net.nt>, ctladdr=<root@host1.dima.net.nt> (0/0), delay=00:00:01, xdelay=00:00:00, mailer=local, pri=30899, relay=local, dsn=2.0.0, stat=Sent Aug 13 19:10:27 host1 sendmail[2123]: n7DGARRL002123: from=root, size=330, class=0, nrcpts=1, msgid=<200908131610.n7DGARRL002123@host1.dima.net.nt>, relay=root@localhost Aug 13 19:10:27 host1 sm-mta[2124]: n7DGARrY002124: from=<root@host1.dima.net.nt>, size=629, class=0, nrcpts=1, msgid=<200908131610.n7DGARRL002123@host1.dima.net.nt>, proto=ESMTP, daemon=Daemon0, relay=localhost.net.nt [127.0.0.1] Aug 13 19:10:27 host1 sendmail[2123]: n7DGARRL002123: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30330, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n7DGARrY002124 Message accepted for delivery) Aug 13 19:10:27 host1 sm-mta[2125]: n7DGARrY002124: to=<root@host1.dima.net.nt>, ctladdr=<root@host1.dima.net.nt> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30899, relay=local, dsn=2.0.0, stat=Sent ^C |
#tail -f /var/log/maillog
Aug 13 15:20:11 host1 spamd[941]: spamd: server successfully spawned child process, pid 1075 Aug 13 15:20:11 host1 spamd[941]: prefork: child states: II Aug 13 18:30:27 host1 sendmail[1325]: n7DFURCS001325: from=root, size=332, class=0, nrcpts=1, msgid=<200908131530.n7DFURCS001325@host1.dima.net.nt>, relay=root@localhost Aug 13 18:30:28 host1 sm-mta[1326]: n7DFURf9001326: from=<root@host1.dima.net.nt>, size=631, class=0, nrcpts=1, msgid=<200908131530.n7DFURCS001325@host1.dima.net.nt>, proto=ESMTP, daemon=Daemon0, relay=localhost.net.nt [127.0.0.1] Aug 13 18:30:28 host1 sendmail[1325]: n7DFURCS001325: to=root, ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30332, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n7DFURf9001326 Message accepted for delivery) Aug 13 18:30:28 host1 sm-mta[1327]: n7DFURf9001326: to=<root@host1.dima.net.nt>, ctladdr=<root@host1.dima.net.nt> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30901, relay=local, dsn=2.0.0, stat=Sent Aug 13 18:40:28 host1 sendmail[1625]: n7DFeRcS001625: from=root, size=330, class=0, nrcpts=1, msgid=<200908131540.n7DFeRcS001625@host1.dima.net.nt>, relay=root@localhost Aug 13 18:40:28 host1 sm-mta[1626]: n7DFeSNB001626: from=<root@host1.dima.net.nt>, size=629, class=0, nrcpts=1, msgid=<200908131540.n7DFeRcS001625@host1.dima.net.nt>, proto=ESMTP, daemon=Daemon0, relay=localhost.net.nt [127.0.0.1] Aug 13 18:40:28 host1 sendmail[1625]: n7DFeRcS001625: to=root, ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=30330, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n7DFeSNB001626 Message accepted for delivery) Aug 13 18:40:28 host1 sm-mta[1627]: n7DFeSNB001626: to=<root@host1.dima.net.nt>, ctladdr=<root@host1.dima.net.nt> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30899, relay=local, dsn=2.0.0, stat=Sent ... Aug 13 18:53:17 host1 sendmail[2029]: n7DFrAxY002029: from=user, size=0, class=0, nrcpts=1, relay=root@localhost Aug 13 19:00:28 host1 sendmail[2086]: n7DG0SmG002086: from=root, size=330, class=0, nrcpts=1, msgid=<200908131600.n7DG0SmG002086@host1.dima.net.nt>, relay=root@localhost Aug 13 19:00:29 host1 sm-mta[2087]: n7DG0Skm002087: from=<root@host1.dima.net.nt>, size=629, class=0, nrcpts=1, msgid=<200908131600.n7DG0SmG002086@host1.dima.net.nt>, proto=ESMTP, daemon=Daemon0, relay=localhost.net.nt [127.0.0.1] Aug 13 19:00:29 host1 sendmail[2086]: n7DG0SmG002086: to=root, ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30330, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n7DG0Skm002087 Message accepted for delivery) Aug 13 19:00:29 host1 sm-mta[2088]: n7DG0Skm002087: to=<root@host1.dima.net.nt>, ctladdr=<root@host1.dima.net.nt> (0/0), delay=00:00:01, xdelay=00:00:00, mailer=local, pri=30899, relay=local, dsn=2.0.0, stat=Sent Aug 13 19:10:27 host1 sendmail[2123]: n7DGARRL002123: from=root, size=330, class=0, nrcpts=1, msgid=<200908131610.n7DGARRL002123@host1.dima.net.nt>, relay=root@localhost Aug 13 19:10:27 host1 sm-mta[2124]: n7DGARrY002124: from=<root@host1.dima.net.nt>, size=629, class=0, nrcpts=1, msgid=<200908131610.n7DGARRL002123@host1.dima.net.nt>, proto=ESMTP, daemon=Daemon0, relay=localhost.net.nt [127.0.0.1] Aug 13 19:10:27 host1 sendmail[2123]: n7DGARRL002123: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30330, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n7DGARrY002124 Message accepted for delivery) Aug 13 19:10:27 host1 sm-mta[2125]: n7DGARrY002124: to=<root@host1.dima.net.nt>, ctladdr=<root@host1.dima.net.nt> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30899, relay=local, dsn=2.0.0, stat=Sent ^C |
#mutt
---Mutt: /var/mail/user [Msgs:0]---(date/date)---------------------------------------------------(all)--- Mailbox is unchanged. |
#mutt
---Mutt: /var/mail/user [Msgs:0]---(date/date)---------------------------------------------------(all)--- Mailbox is unchanged. |
#telnet localhost 110
Trying 127.0.0.1... telnet: connect to address 127.0.0.1: Connection refused Trying ::1... telnet: connect to address ::1: Connection refused telnet: Unable to connect to remote host |
#telnet localhost 110
Trying 127.0.0.1... telnet: connect to address 127.0.0.1: Connection refused Trying ::1... telnet: connect to address ::1: Connection refused telnet: Unable to connect to remote host |
#telnet localhost 110
Trying 127.0.0.1... telnet: connect to address 127.0.0.1: Connection refused Trying ::1... telnet: connect to address ::1: Connection refused telnet: Unable to connect to remote host |
#telnet localhost 110
Trying 127.0.0.1... telnet: connect to address 127.0.0.1: Connection refused Trying ::1... telnet: connect to address ::1: Connection refused telnet: Unable to connect to remote host |
#telnet localhost 25
Trying 127.0.0.1... Connected to localhost.net.nt. Escape character is '^]'. 220 host1.dima.net.nt ESMTP Sendmail 8.14.2/8.14.2; Thu, 13 Aug 2009 18:47:44 +0300 (EEST) ^] 500 5.5.1 Command unrecognized: "^]" quit 221 2.0.0 host1.dima.net.nt closing connection Connection closed by foreign host. |
#telnet localhost 25
Trying 127.0.0.1... Connected to localhost.net.nt. Escape character is '^]'. 220 host1.dima.net.nt ESMTP Sendmail 8.14.2/8.14.2; Thu, 13 Aug 2009 18:47:44 +0300 (EEST) ^] 500 5.5.1 Command unrecognized: "^]" quit 221 2.0.0 host1.dima.net.nt closing connection Connection closed by foreign host. |
#telnet localhost 25
Trying 127.0.0.1... Connected to localhost.net.nt. Escape character is '^]'. 220 host1.dima.net.nt ESMTP Sendmail 8.14.2/8.14.2; Thu, 13 Aug 2009 18:47:44 +0300 (EEST) ^] 500 5.5.1 Command unrecognized: "^]" quit 221 2.0.0 host1.dima.net.nt closing connection Connection closed by foreign host. |
#ps waux
USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND root 10 99.0 0.0 0 8 ?? RL 6:20PM 28:15.27 [idle: cpu0] root 0 0.0 0.0 0 0 ?? WLs 6:20PM 0:00.00 [swapper] root 1 0.0 0.1 768 388 ?? ILs 6:20PM 0:00.01 /sbin/init -- root 2 0.0 0.0 0 8 ?? DL 6:20PM 0:00.14 [g_event] root 3 0.0 0.0 0 8 ?? DL 6:20PM 0:00.95 [g_up] root 4 0.0 0.0 0 8 ?? DL 6:20PM 0:01.68 [g_down] root 5 0.0 0.0 0 8 ?? DL 6:20PM 0:00.00 [thread taskq] root 6 0.0 0.0 0 8 ?? DL 6:20PM 0:00.00 [xpt_thrd] root 7 0.0 0.0 0 8 ?? DL 6:20PM 0:00.00 [acpi_task_0] ... root 1153 0.0 0.3 1804 1424 p2 I 6:20PM 0:00.01 su root 1154 0.0 0.2 1348 936 p2 S+ 6:20PM 0:00.30 script -t 0 -q /root/.lilalo//3090051133190621372-1250166038.script root 1191 0.0 0.4 3332 2136 p3 Ss 6:20PM 0:00.18 /usr/local/bin/bash -i root 1810 0.0 0.2 1496 972 p3 R+ 6:48PM 0:00.00 ps waux user 1634 0.0 0.2 1348 936 p4 Ss+ 6:40PM 0:00.03 script -t 0 -q /home/user/.lilalo//13124157952761327150-1250178034.sc user 1677 0.0 0.4 3300 2136 p5 Is 6:40PM 0:00.02 /usr/local/bin/bash -i root 1698 0.0 0.3 1804 1424 p5 I 6:40PM 0:00.01 su root 1699 0.0 0.2 1348 936 p5 S+ 6:40PM 0:00.03 script -t 0 -q /root/.lilalo//280871319135214558-1250178037.script root 1736 0.0 0.4 3316 2156 p6 Is 6:40PM 0:00.02 /usr/local/bin/bash -i root 1757 0.0 0.1 1288 684 p6 S+ 6:40PM 0:00.00 tail -f /var/log/maillog |
#ps waux
USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND root 10 99.0 0.0 0 8 ?? RL 6:20PM 28:15.27 [idle: cpu0] root 0 0.0 0.0 0 0 ?? WLs 6:20PM 0:00.00 [swapper] root 1 0.0 0.1 768 388 ?? ILs 6:20PM 0:00.01 /sbin/init -- root 2 0.0 0.0 0 8 ?? DL 6:20PM 0:00.14 [g_event] root 3 0.0 0.0 0 8 ?? DL 6:20PM 0:00.95 [g_up] root 4 0.0 0.0 0 8 ?? DL 6:20PM 0:01.68 [g_down] root 5 0.0 0.0 0 8 ?? DL 6:20PM 0:00.00 [thread taskq] root 6 0.0 0.0 0 8 ?? DL 6:20PM 0:00.00 [xpt_thrd] root 7 0.0 0.0 0 8 ?? DL 6:20PM 0:00.00 [acpi_task_0] ... root 1153 0.0 0.3 1804 1424 p2 I 6:20PM 0:00.01 su root 1154 0.0 0.2 1348 936 p2 S+ 6:20PM 0:00.30 script -t 0 -q /root/.lilalo//3090051133190621372-1250166038.script root 1191 0.0 0.4 3332 2136 p3 Ss 6:20PM 0:00.18 /usr/local/bin/bash -i root 1810 0.0 0.2 1496 972 p3 R+ 6:48PM 0:00.00 ps waux user 1634 0.0 0.2 1348 936 p4 Ss+ 6:40PM 0:00.03 script -t 0 -q /home/user/.lilalo//13124157952761327150-1250178034.sc user 1677 0.0 0.4 3300 2136 p5 Is 6:40PM 0:00.02 /usr/local/bin/bash -i root 1698 0.0 0.3 1804 1424 p5 I 6:40PM 0:00.01 su root 1699 0.0 0.2 1348 936 p5 S+ 6:40PM 0:00.03 script -t 0 -q /root/.lilalo//280871319135214558-1250178037.script root 1736 0.0 0.4 3316 2156 p6 Is 6:40PM 0:00.02 /usr/local/bin/bash -i root 1757 0.0 0.1 1288 684 p6 S+ 6:40PM 0:00.00 tail -f /var/log/maillog |
#ps waux
USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND root 10 99.0 0.0 0 8 ?? RL 6:20PM 28:15.27 [idle: cpu0] root 0 0.0 0.0 0 0 ?? WLs 6:20PM 0:00.00 [swapper] root 1 0.0 0.1 768 388 ?? ILs 6:20PM 0:00.01 /sbin/init -- root 2 0.0 0.0 0 8 ?? DL 6:20PM 0:00.14 [g_event] root 3 0.0 0.0 0 8 ?? DL 6:20PM 0:00.95 [g_up] root 4 0.0 0.0 0 8 ?? DL 6:20PM 0:01.68 [g_down] root 5 0.0 0.0 0 8 ?? DL 6:20PM 0:00.00 [thread taskq] root 6 0.0 0.0 0 8 ?? DL 6:20PM 0:00.00 [xpt_thrd] root 7 0.0 0.0 0 8 ?? DL 6:20PM 0:00.00 [acpi_task_0] ... root 1153 0.0 0.3 1804 1424 p2 I 6:20PM 0:00.01 su root 1154 0.0 0.2 1348 936 p2 S+ 6:20PM 0:00.30 script -t 0 -q /root/.lilalo//3090051133190621372-1250166038.script root 1191 0.0 0.4 3332 2136 p3 Ss 6:20PM 0:00.18 /usr/local/bin/bash -i root 1810 0.0 0.2 1496 972 p3 R+ 6:48PM 0:00.00 ps waux user 1634 0.0 0.2 1348 936 p4 Ss+ 6:40PM 0:00.03 script -t 0 -q /home/user/.lilalo//13124157952761327150-1250178034.sc user 1677 0.0 0.4 3300 2136 p5 Is 6:40PM 0:00.02 /usr/local/bin/bash -i root 1698 0.0 0.3 1804 1424 p5 I 6:40PM 0:00.01 su root 1699 0.0 0.2 1348 936 p5 S+ 6:40PM 0:00.03 script -t 0 -q /root/.lilalo//280871319135214558-1250178037.script root 1736 0.0 0.4 3316 2156 p6 Is 6:40PM 0:00.02 /usr/local/bin/bash -i root 1757 0.0 0.1 1288 684 p6 S+ 6:40PM 0:00.00 tail -f /var/log/maillog |
#ps waux
USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND root 10 99.0 0.0 0 8 ?? RL 6:20PM 28:15.27 [idle: cpu0] root 0 0.0 0.0 0 0 ?? WLs 6:20PM 0:00.00 [swapper] root 1 0.0 0.1 768 388 ?? ILs 6:20PM 0:00.01 /sbin/init -- root 2 0.0 0.0 0 8 ?? DL 6:20PM 0:00.14 [g_event] root 3 0.0 0.0 0 8 ?? DL 6:20PM 0:00.95 [g_up] root 4 0.0 0.0 0 8 ?? DL 6:20PM 0:01.68 [g_down] root 5 0.0 0.0 0 8 ?? DL 6:20PM 0:00.00 [thread taskq] root 6 0.0 0.0 0 8 ?? DL 6:20PM 0:00.00 [xpt_thrd] root 7 0.0 0.0 0 8 ?? DL 6:20PM 0:00.00 [acpi_task_0] ... root 1153 0.0 0.3 1804 1424 p2 I 6:20PM 0:00.01 su root 1154 0.0 0.2 1348 936 p2 S+ 6:20PM 0:00.30 script -t 0 -q /root/.lilalo//3090051133190621372-1250166038.script root 1191 0.0 0.4 3332 2136 p3 Ss 6:20PM 0:00.18 /usr/local/bin/bash -i root 1810 0.0 0.2 1496 972 p3 R+ 6:48PM 0:00.00 ps waux user 1634 0.0 0.2 1348 936 p4 Ss+ 6:40PM 0:00.03 script -t 0 -q /home/user/.lilalo//13124157952761327150-1250178034.sc user 1677 0.0 0.4 3300 2136 p5 Is 6:40PM 0:00.02 /usr/local/bin/bash -i root 1698 0.0 0.3 1804 1424 p5 I 6:40PM 0:00.01 su root 1699 0.0 0.2 1348 936 p5 S+ 6:40PM 0:00.03 script -t 0 -q /root/.lilalo//280871319135214558-1250178037.script root 1736 0.0 0.4 3316 2156 p6 Is 6:40PM 0:00.02 /usr/local/bin/bash -i root 1757 0.0 0.1 1288 684 p6 S+ 6:40PM 0:00.00 tail -f /var/log/maillog |
#ps waux | grep sen
root 1009 0.0 0.6 3508 2936 ?? Ss 6:20PM 0:00.03 sendmail: accepting connections (sendmail) smmsp 1013 0.0 0.5 3408 2800 ?? Is 6:20PM 0:00.00 sendmail: Queue runner@00:30:00 for /var/spool/clientmqueue (sendmail |
#ps waux | grep sen
root 1009 0.0 0.6 3508 2936 ?? Ss 6:20PM 0:00.03 sendmail: accepting connections (sendmail) smmsp 1013 0.0 0.5 3408 2800 ?? Is 6:20PM 0:00.00 sendmail: Queue runner@00:30:00 for /var/spool/clientmqueue (sendmail |
#ps waux | grep sen
root 1009 0.0 0.6 3508 2936 ?? Ss 6:20PM 0:00.03 sendmail: accepting connections (sendmail) smmsp 1013 0.0 0.5 3408 2800 ?? Is 6:20PM 0:00.00 sendmail: Queue runner@00:30:00 for /var/spool/clientmqueue (sendmail |
#ps waux | grep sen
root 1009 0.0 0.6 3508 2936 ?? Ss 6:20PM 0:00.03 sendmail: accepting connections (sendmail) smmsp 1013 0.0 0.5 3408 2800 ?? Is 6:20PM 0:00.00 sendmail: Queue runner@00:30:00 for /var/spool/clientmqueue (sendmail |
#sockstat
USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS user sshd 1632 3 tcp4 192.168.16.26:22 192.168.16.51:1343 user sshd 1632 4 stream -> ?? root sshd 1629 3 tcp4 192.168.16.26:22 192.168.16.51:1343 root sshd 1629 5 stream -> ?? user sshd 1091 3 tcp4 192.168.16.26:22 192.168.16.51:1102 user sshd 1091 4 stream -> ?? root sshd 1088 3 tcp4 192.168.16.26:22 192.168.16.51:1102 root sshd 1088 5 stream -> ?? root xconsole 1086 3 stream -> /tmp/.X11-unix/X0 ... bind named 843 26 tcp4 127.0.0.1:953 *:* bind named 843 27 tcp6 ::1:953 *:* root syslogd 781 4 dgram /var/run/log root syslogd 781 5 dgram /var/run/logpriv root syslogd 781 6 dgram /var/run/log root syslogd 781 7 dgram /var/named/var/run/log root syslogd 781 8 udp6 *:514 *:* root syslogd 781 9 udp4 *:514 *:* root devd 706 4 stream /var/run/devd.pipe root moused 631 4 stream /var/run/devd.pipe |
#sockstat
USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS user sshd 1632 3 tcp4 192.168.16.26:22 192.168.16.51:1343 user sshd 1632 4 stream -> ?? root sshd 1629 3 tcp4 192.168.16.26:22 192.168.16.51:1343 root sshd 1629 5 stream -> ?? user sshd 1091 3 tcp4 192.168.16.26:22 192.168.16.51:1102 user sshd 1091 4 stream -> ?? root sshd 1088 3 tcp4 192.168.16.26:22 192.168.16.51:1102 root sshd 1088 5 stream -> ?? root xconsole 1086 3 stream -> /tmp/.X11-unix/X0 ... bind named 843 26 tcp4 127.0.0.1:953 *:* bind named 843 27 tcp6 ::1:953 *:* root syslogd 781 4 dgram /var/run/log root syslogd 781 5 dgram /var/run/logpriv root syslogd 781 6 dgram /var/run/log root syslogd 781 7 dgram /var/named/var/run/log root syslogd 781 8 udp6 *:514 *:* root syslogd 781 9 udp4 *:514 *:* root devd 706 4 stream /var/run/devd.pipe root moused 631 4 stream /var/run/devd.pipe |
#sockstat
USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS user sshd 1632 3 tcp4 192.168.16.26:22 192.168.16.51:1343 user sshd 1632 4 stream -> ?? root sshd 1629 3 tcp4 192.168.16.26:22 192.168.16.51:1343 root sshd 1629 5 stream -> ?? user sshd 1091 3 tcp4 192.168.16.26:22 192.168.16.51:1102 user sshd 1091 4 stream -> ?? root sshd 1088 3 tcp4 192.168.16.26:22 192.168.16.51:1102 root sshd 1088 5 stream -> ?? root xconsole 1086 3 stream -> /tmp/.X11-unix/X0 ... bind named 843 26 tcp4 127.0.0.1:953 *:* bind named 843 27 tcp6 ::1:953 *:* root syslogd 781 4 dgram /var/run/log root syslogd 781 5 dgram /var/run/logpriv root syslogd 781 6 dgram /var/run/log root syslogd 781 7 dgram /var/named/var/run/log root syslogd 781 8 udp6 *:514 *:* root syslogd 781 9 udp4 *:514 *:* root devd 706 4 stream /var/run/devd.pipe root moused 631 4 stream /var/run/devd.pipe |
#sockstat
USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS user sshd 1632 3 tcp4 192.168.16.26:22 192.168.16.51:1343 user sshd 1632 4 stream -> ?? root sshd 1629 3 tcp4 192.168.16.26:22 192.168.16.51:1343 root sshd 1629 5 stream -> ?? user sshd 1091 3 tcp4 192.168.16.26:22 192.168.16.51:1102 user sshd 1091 4 stream -> ?? root sshd 1088 3 tcp4 192.168.16.26:22 192.168.16.51:1102 root sshd 1088 5 stream -> ?? root xconsole 1086 3 stream -> /tmp/.X11-unix/X0 ... bind named 843 26 tcp4 127.0.0.1:953 *:* bind named 843 27 tcp6 ::1:953 *:* root syslogd 781 4 dgram /var/run/log root syslogd 781 5 dgram /var/run/logpriv root syslogd 781 6 dgram /var/run/log root syslogd 781 7 dgram /var/named/var/run/log root syslogd 781 8 udp6 *:514 *:* root syslogd 781 9 udp4 *:514 *:* root devd 706 4 stream /var/run/devd.pipe root moused 631 4 stream /var/run/devd.pipe |
#sockstat -n
sockstat: illegal option -- n Usage: sockstat [-46clu] [-p ports] |
#sockstat -n
sockstat: illegal option -- n Usage: sockstat [-46clu] [-p ports] |
#sockstat -n
sockstat: illegal option -- n Usage: sockstat [-46clu] [-p ports] |
#sockstat -n
sockstat: illegal option -- n Usage: sockstat [-46clu] [-p ports] |
#man stat
|
#man stat
|
Время первой команды журнала | 14:29:55 2009- 8-13 | ||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 17:49:25 2009- 8-13 | ||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | ||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 24.75 | ||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 0.00 | ||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 0.52 | ||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 3.25 | ||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.
Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
$ l s-l bash: l: command not found |
Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
$ test 5 -lt 4 |
Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
$ find / -name abc find: /home/devi-orig/.gnome2: Keine Berechtigung find: /home/devi-orig/.gnome2_private: Keine Berechtigung find: /home/devi-orig/.nautilus/metafiles: Keine Berechtigung find: /home/devi-orig/.metacity: Keine Berechtigung find: /home/devi-orig/.inkscape: Keine Berechtigung ^C |
Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
# id uid=0(root) gid=0(root) Gruppen=0(root) |
Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
$ vi ~/.bashrc
|
Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
$ patch ~/.bashrc |
Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.
Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.
Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.
Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора
Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.
Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.
Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:
$ whoami
user
$ #^ Интересно, кто я?в журнале это будет выглядеть так:
$ whoami
user
Интересно, кто я? |
Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:
$ whoami
user
$ cat > /dev/null #^ Интересно, кто я?
Программа whoami выводит имя пользователя, под которым мы зарегистрировались в системе. - Она не может ответить на вопрос о нашем назначении в этом мире.В журнале это будет выглядеть так:
$ whoami user
|
Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=
1 2 3 4Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.
LiLaLo (L3) расшифровывается как Live Lab Log.
Программа разработана для повышения эффективности обучения Unix/Linux-системам.
(c) Игорь Чубин, 2004-2008