Журнал лабораторных работ

Содержание

Журнал

Четверг (08/13/09)

/dev/ttyp1
14:29:55
#pkg_info -i namedb
pkg_info: can't find package 'namedb' installed or in a file!
14:29:55
#pkg_info -i namedb
pkg_info: can't find package 'namedb' installed or in a file!
14:30:04
#pkg_info -i named
pkg_info: can't find package 'named' installed or in a file!
14:30:04
#pkg_info -i named
pkg_info: can't find package 'named' installed or in a file!
14:30:06
#pkg_info -i bind
pkg_info: can't find package 'bind' installed or in a file!
14:30:06
#pkg_info -i bind
pkg_info: can't find package 'bind' installed or in a file!
14:30:12
#pkg_info -i clamav
pkg_info: can't find package 'clamav' installed or in a file!
14:30:12
#pkg_info -i clamav
pkg_info: can't find package 'clamav' installed or in a file!
14:30:17
#pkg_info -i spam*
pkg_info: can't find package 'spam*' installed or in a file!
14:30:17
#pkg_info -i spam*
pkg_info: can't find package 'spam*' installed or in a file!
прошло >2 часов
/dev/ttyp1
17:18:42
$su
Password:
17:18:42
$su
Password:
17:18:47
#shutdown -r now
Shutdown NOW!
shutdown: [pid 87096]
wall: /dev/:2: No such file or directory
17:18:47
#shutdown -r now
Shutdown NOW!
shutdown: [pid 87096]
wall: /dev/:2: No such file or directory
прошло 11 минут
/dev/ttyp1
17:30:34
#pkg_info -a | less
17:30:34
#pkg_info -a | less
17:32:05
#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.
17:32:05
#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.
17:32:12
#cd /usr/ports

17:32:12
#cd /usr/ports

17:32:57
#cd mail

17:32:57
#cd mail

17:33:03
#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
17:33:03
#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
17:33:04
#ls | less
17:33:04
#ls | less
17:34:13
#ls
Makefile        distinfo        pkg-descr       pkg-plist
bsd.milter.mk   files           pkg-message
17:34:13
#ls
Makefile        distinfo        pkg-descr       pkg-plist
bsd.milter.mk   files           pkg-message
17:34:15
#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
17:34:15
#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
17:34:26
#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
17:34:26
#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
17:34:35
#man pkg_info
17:34:35
#man pkg_info
17:35:26
#ls
Makefile        distinfo        pkg-descr       pkg-plist
bsd.milter.mk   files           pkg-message
17:35:26
#ls
Makefile        distinfo        pkg-descr       pkg-plist
bsd.milter.mk   files           pkg-message
17:35:31
#ee distinfo
17:35:31
#ee distinfo
17:35:57
#LANG=C

17:35:57
#LANG=C

17:36:01
#ls
Makefile        distinfo        pkg-descr       pkg-plist
bsd.milter.mk   files           pkg-message
17:36:01
#ls
Makefile        distinfo        pkg-descr       pkg-plist
bsd.milter.mk   files           pkg-message
17:36:04
#ee pkg-escr
17:36:04
#ee pkg-escr
17:36:22
#ls
Makefile        distinfo        pkg-descr       pkg-plist
bsd.milter.mk   files           pkg-message
17:36:22
#ls
Makefile        distinfo        pkg-descr       pkg-plist
bsd.milter.mk   files           pkg-message
17:36:24
#ls -F
Makefile        distinfo        pkg-descr       pkg-plist
bsd.milter.mk   files/          pkg-message
17:36:24
#ls -F
Makefile        distinfo        pkg-descr       pkg-plist
bsd.milter.mk   files/          pkg-message
17:36:30
#ee pkg_plist
17:36:30
#ee pkg_plist
17:36:48
#ls -F
Makefile        distinfo        pkg-descr       pkg-plist
bsd.milter.mk   files/          pkg-message
17:36:48
#ls -F
Makefile        distinfo        pkg-descr       pkg-plist
bsd.milter.mk   files/          pkg-message
17:36:50
#ee pkg-list
17:36:50
#ee pkg-list
17:37:17
#ls -F
Makefile        distinfo        pkg-descr       pkg-plist
bsd.milter.mk   files/          pkg-message
17:37:17
#ls -F
Makefile        distinfo        pkg-descr       pkg-plist
bsd.milter.mk   files/          pkg-message
17:37:18
#ee pkg-message
17:37:18
#ee pkg-message
17:38:10
#ls -F
Makefile        distinfo        pkg-descr       pkg-plist
bsd.milter.mk   files/          pkg-message
17:38:10
#ls -F
Makefile        distinfo        pkg-descr       pkg-plist
bsd.milter.mk   files/          pkg-message
17:38:12
#cd files

17:38:12
#cd files

17:38:20
#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
17:38:20
#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
17:38:22
#ee sendmail.sh
17:38:22
#ee sendmail.sh
17:39:53
#sendmail start

17:39:53
#sendmail start

/dev/ttyp4
17:40:34
$su
Password:
17:40:34
$su
Password:
17:40:38
#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
17:40:38
#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
17:40:38
#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
17:40:38
#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
/dev/ttyp1
17:41:10
#mutt
---Mutt: /var/mail/user [Msgs:0]---(date/date)---------------------------------------------------(all)---
Mailbox is unchanged.
17:41:10
#mutt
---Mutt: /var/mail/user [Msgs:0]---(date/date)---------------------------------------------------(all)---
Mailbox is unchanged.
17:41:27
#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
17:41:27
#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
17:41:27
#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
17:41:27
#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
17:47:39
#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.
17:47:39
#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.
17:47:39
#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.
17:48:15
#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
17:48:15
#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
17:48:15
#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
17:48:15
#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
17:48:47
#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
17:48:47
#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
17:48:47
#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
17:48:47
#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
17:48:53
#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
17:48:53
#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
17:48:53
#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
17:48:53
#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
17:49:07
#sockstat -n
sockstat: illegal option -- n
Usage: sockstat [-46clu] [-p ports]
17:49:07
#sockstat -n
sockstat: illegal option -- n
Usage: sockstat [-46clu] [-p ports]
17:49:07
#sockstat -n
sockstat: illegal option -- n
Usage: sockstat [-46clu] [-p ports]
17:49:07
#sockstat -n
sockstat: illegal option -- n
Usage: sockstat [-46clu] [-p ports]
17:49:25
#man stat
17:49:25
#man stat

Статистика

Время первой команды журнала14:29:55 2009- 8-13
Время последней команды журнала17:49:25 2009- 8-13
Количество командных строк в журнале101
Процент команд с ненулевым кодом завершения, %24.75
Процент синтаксически неверно набранных команд, % 0.00
Суммарное время работы с терминалом *, час 0.52
Количество командных строк в единицу времени, команда/мин 3.25
Частота использования команд
ls22|===================| 19.82%
pkg_info18|================| 16.22%
ee12|==========| 10.81%
ps8|=======| 7.21%
sockstat8|=======| 7.21%
telnet7|======| 6.31%
grep6|=====| 5.41%
cd6|=====| 5.41%
tail4|===| 3.60%
less4|===| 3.60%
man4|===| 3.60%
su4|===| 3.60%
mutt2|=| 1.80%
shutdown2|=| 1.80%
sendmail2|=| 1.80%
LANG=C2|=| 1.80%
____
*) Интервалы неактивности длительностью 30 минут и более не учитываются

Справка

Для того чтобы использовать LiLaLo, не нужно знать ничего особенного: всё происходит само собой. Однако, чтобы ведение и последующее использование журналов было как можно более эффективным, желательно иметь в виду следующее:
  1. В журнал автоматически попадают все команды, данные в любом терминале системы.

  2. Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.

  3. Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
    $ l s-l
    bash: l: command not found
    

  4. Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
    $ test 5 -lt 4
    Обратите внимание на то, что код завершения команды может быть отличен от нуля не только в тех случаях, когда команда была выполнена с ошибкой. Многие команды используют код завершения, например, для того чтобы показать результаты проверки

  5. Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
    $ 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
    

  6. Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
    # id
    uid=0(root) gid=0(root) Gruppen=0(root)
    

  7. Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
    $ vi ~/.bashrc
    2a3,5
    >    if [ -f /usr/local/etc/bash_completion ]; then
    >         . /usr/local/etc/bash_completion
    >        fi
    

  8. Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
    $ patch ~/.bashrc
    В данном случае изменения применяются к файлу ~/.bashrc

  9. Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.

    Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.

  10. Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.

  11. Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора

  12. Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.

  13. Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.

  14. Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:

    $ whoami
    
    user
    
    $ #^ Интересно, кто я?
    
    в журнале это будет выглядеть так:
    $ whoami
    
    user
    
    Интересно, кто я?

  15. Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:

    $ whoami
    
    user
    
    $ cat > /dev/null #^ Интересно, кто я?
    
    Программа whoami выводит имя пользователя, под которым 
    мы зарегистрировались в системе.
    -
    Она не может ответить на вопрос о нашем назначении 
    в этом мире.
    
    В журнале это будет выглядеть так:
    $ whoami
    user
    
    Интересно, кто я?
    Программа whoami выводит имя пользователя, под которым
    мы зарегистрировались в системе.

    Она не может ответить на вопрос о нашем назначении
    в этом мире.
    Для разделения нескольких абзацев между собой используйте символ "-", один в строке.

  16. Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=

  17. Содержимое файла может быть показано в журнале. Для этого его нужно вывести с помощью программы cat. Если вывод команды отметить симоволами #!, содержимое файла будет показано в журнале в специально отведённой для этого секции.
  18. Для того чтобы вставить скриншот интересующего вас окна в журнал, нужно воспользоваться командой l3shot. После того как команда вызвана, нужно с помощью мыши выбрать окно, которое должно быть в журнале.
  19. Команды в журнале расположены в хронологическом порядке. Если две команды давались одна за другой, но на разных терминалах, в журнале они будут рядом, даже если они не имеют друг к другу никакого отношения.
    1
        2
    3   
        4
    
    Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.

О программе

LiLaLo (L3) расшифровывается как Live Lab Log.
Программа разработана для повышения эффективности обучения Unix/Linux-системам.
(c) Игорь Чубин, 2004-2008

$Id$