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

Содержание

Журнал

Вторник (12/18/12)

/dev/pts/0
12:08:00
#sockstat
USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS
root     sshd       3251  3  tcp4   192.168.13.21:22      192.168.15.101:49158
root     inetd      1279  6  dgram  -> /var/run/logpriv
smmsp    sendmail   1240  3  dgram  -> /var/run/log
root     sendmail   1236  3  dgram  -> /var/run/logpriv
root     sendmail   1236  4  tcp4   127.0.0.1:25          *:*
root     sshd       1228  3  tcp6   *:22                  *:*
root     sshd       1228  4  tcp4   *:22                  *:*
root     syslogd    931   4  dgram  /var/run/log
root     syslogd    931   5  dgram  /var/run/logpriv
root     syslogd    931   6  udp6   *:514                 *:*
root     syslogd    931   7  udp4   *:514                 *:*
root     devd       777   4  stream /var/run/devd.pipe
root     moused     746   4  stream /var/run/devd.pipe
12:08:00
#sockstat
USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS
root     sshd       3251  3  tcp4   192.168.13.21:22      192.168.15.101:49158
root     inetd      1279  6  dgram  -> /var/run/logpriv
smmsp    sendmail   1240  3  dgram  -> /var/run/log
root     sendmail   1236  3  dgram  -> /var/run/logpriv
root     sendmail   1236  4  tcp4   127.0.0.1:25          *:*
root     sshd       1228  3  tcp6   *:22                  *:*
root     sshd       1228  4  tcp4   *:22                  *:*
root     syslogd    931   4  dgram  /var/run/log
root     syslogd    931   5  dgram  /var/run/logpriv
root     syslogd    931   6  udp6   *:514                 *:*
root     syslogd    931   7  udp4   *:514                 *:*
root     devd       777   4  stream /var/run/devd.pipe
root     moused     746   4  stream /var/run/devd.pipe
12:08:00
#sockstat
USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS
root     sshd       3251  3  tcp4   192.168.13.21:22      192.168.15.101:49158
root     inetd      1279  6  dgram  -> /var/run/logpriv
smmsp    sendmail   1240  3  dgram  -> /var/run/log
root     sendmail   1236  3  dgram  -> /var/run/logpriv
root     sendmail   1236  4  tcp4   127.0.0.1:25          *:*
root     sshd       1228  3  tcp6   *:22                  *:*
root     sshd       1228  4  tcp4   *:22                  *:*
root     syslogd    931   4  dgram  /var/run/log
root     syslogd    931   5  dgram  /var/run/logpriv
root     syslogd    931   6  udp6   *:514                 *:*
root     syslogd    931   7  udp4   *:514                 *:*
root     devd       777   4  stream /var/run/devd.pipe
root     moused     746   4  stream /var/run/devd.pipe
12:08:03
#sockstat -4
USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS
root     sshd       3251  3  tcp4   192.168.13.21:22      192.168.15.101:49158
root     sendmail   1236  4  tcp4   127.0.0.1:25          *:*
root     sshd       1228  4  tcp4   *:22                  *:*
root     syslogd    931   7  udp4   *:514                 *:*
12:08:03
#sockstat -4
USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS
root     sshd       3251  3  tcp4   192.168.13.21:22      192.168.15.101:49158
root     sendmail   1236  4  tcp4   127.0.0.1:25          *:*
root     sshd       1228  4  tcp4   *:22                  *:*
root     syslogd    931   7  udp4   *:514                 *:*
12:08:03
#sockstat -4
USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS
root     sshd       3251  3  tcp4   192.168.13.21:22      192.168.15.101:49158
root     sendmail   1236  4  tcp4   127.0.0.1:25          *:*
root     sshd       1228  4  tcp4   *:22                  *:*
root     syslogd    931   7  udp4   *:514                 *:*
12:08:03
#sockstat -4
USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS
root     sshd       3251  3  tcp4   192.168.13.21:22      192.168.15.101:49158
root     sendmail   1236  4  tcp4   127.0.0.1:25          *:*
root     sshd       1228  4  tcp4   *:22                  *:*
root     syslogd    931   7  udp4   *:514                 *:*
12:08:17
#netstat
Active Internet connections
Proto Recv-Q Send-Q  Local Address          Foreign Address       (state)
tcp4       0      0 freebsd1.30469         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.10752         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.19466         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.35660         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.27903         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.51578         xgu.ru.18030           TIME_WAIT
tcp4       0     52 freebsd1.ssh           192.168.15.101.49158   ESTABLISHED
Active UNIX domain sockets
Address  Type   Recv-Q Send-Q    Inode     Conn     Refs  Nextref Addr
c3918d70 stream      0      0 c390fc90        0        0        0 /var/run/devd.pipe
c3918408 dgram       0      0        0 c3918764        0 c3918560
c39184b4 dgram       0      0        0 c3918810        0        0
c3918560 dgram       0      0        0 c3918764        0        0
c3918764 dgram       0      0 c3b0510c        0 c3918408        0 /var/run/logpriv
c3918810 dgram       0      0 c3b05218        0 c39184b4        0 /var/run/log
12:08:17
#netstat
Active Internet connections
Proto Recv-Q Send-Q  Local Address          Foreign Address       (state)
tcp4       0      0 freebsd1.30469         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.10752         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.19466         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.35660         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.27903         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.51578         xgu.ru.18030           TIME_WAIT
tcp4       0     52 freebsd1.ssh           192.168.15.101.49158   ESTABLISHED
Active UNIX domain sockets
Address  Type   Recv-Q Send-Q    Inode     Conn     Refs  Nextref Addr
c3918d70 stream      0      0 c390fc90        0        0        0 /var/run/devd.pipe
c3918408 dgram       0      0        0 c3918764        0 c3918560
c39184b4 dgram       0      0        0 c3918810        0        0
c3918560 dgram       0      0        0 c3918764        0        0
c3918764 dgram       0      0 c3b0510c        0 c3918408        0 /var/run/logpriv
c3918810 dgram       0      0 c3b05218        0 c39184b4        0 /var/run/log
12:08:17
#netstat
Active Internet connections
Proto Recv-Q Send-Q  Local Address          Foreign Address       (state)
tcp4       0      0 freebsd1.30469         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.10752         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.19466         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.35660         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.27903         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.51578         xgu.ru.18030           TIME_WAIT
tcp4       0     52 freebsd1.ssh           192.168.15.101.49158   ESTABLISHED
Active UNIX domain sockets
Address  Type   Recv-Q Send-Q    Inode     Conn     Refs  Nextref Addr
c3918d70 stream      0      0 c390fc90        0        0        0 /var/run/devd.pipe
c3918408 dgram       0      0        0 c3918764        0 c3918560
c39184b4 dgram       0      0        0 c3918810        0        0
c3918560 dgram       0      0        0 c3918764        0        0
c3918764 dgram       0      0 c3b0510c        0 c3918408        0 /var/run/logpriv
c3918810 dgram       0      0 c3b05218        0 c39184b4        0 /var/run/log
12:08:17
#netstat
Active Internet connections
Proto Recv-Q Send-Q  Local Address          Foreign Address       (state)
tcp4       0      0 freebsd1.30469         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.10752         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.19466         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.35660         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.27903         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.51578         xgu.ru.18030           TIME_WAIT
tcp4       0     52 freebsd1.ssh           192.168.15.101.49158   ESTABLISHED
Active UNIX domain sockets
Address  Type   Recv-Q Send-Q    Inode     Conn     Refs  Nextref Addr
c3918d70 stream      0      0 c390fc90        0        0        0 /var/run/devd.pipe
c3918408 dgram       0      0        0 c3918764        0 c3918560
c39184b4 dgram       0      0        0 c3918810        0        0
c3918560 dgram       0      0        0 c3918764        0        0
c3918764 dgram       0      0 c3b0510c        0 c3918408        0 /var/run/logpriv
c3918810 dgram       0      0 c3b05218        0 c39184b4        0 /var/run/log
12:08:37
#netstat -l -p
netstat: option requires an argument -- p
usage: netstat [-AaLnSWx] [-f protocol_family | -p protocol]
               [-M core] [-N system]
       netstat -i | -I interface [-abdhntW] [-f address_family]
               [-M core] [-N system]
       netstat -w wait [-I interface] [-d] [-M core] [-N system] [-q howmany]
       netstat -s [-s] [-z] [-f protocol_family | -p protocol]
               [-M core] [-N system]
       netstat -i | -I interface -s [-f protocol_family | -p protocol]
               [-M core] [-N system]
       netstat -m [-M core] [-N system]
       netstat -B [-I interface]
       netstat -r [-AanW] [-f address_family] [-M core] [-N system]
       netstat -rs [-s] [-M core] [-N system]
       netstat -g [-W] [-f address_family] [-M core] [-N system]
       netstat -gs [-s] [-f address_family] [-M core] [-N system]
12:08:37
#netstat -l -p
netstat: option requires an argument -- p
usage: netstat [-AaLnSWx] [-f protocol_family | -p protocol]
               [-M core] [-N system]
       netstat -i | -I interface [-abdhntW] [-f address_family]
               [-M core] [-N system]
       netstat -w wait [-I interface] [-d] [-M core] [-N system] [-q howmany]
       netstat -s [-s] [-z] [-f protocol_family | -p protocol]
               [-M core] [-N system]
       netstat -i | -I interface -s [-f protocol_family | -p protocol]
               [-M core] [-N system]
       netstat -m [-M core] [-N system]
       netstat -B [-I interface]
       netstat -r [-AanW] [-f address_family] [-M core] [-N system]
       netstat -rs [-s] [-M core] [-N system]
       netstat -g [-W] [-f address_family] [-M core] [-N system]
       netstat -gs [-s] [-f address_family] [-M core] [-N system]
12:08:37
#netstat -l -p
netstat: option requires an argument -- p
usage: netstat [-AaLnSWx] [-f protocol_family | -p protocol]
               [-M core] [-N system]
       netstat -i | -I interface [-abdhntW] [-f address_family]
               [-M core] [-N system]
       netstat -w wait [-I interface] [-d] [-M core] [-N system] [-q howmany]
       netstat -s [-s] [-z] [-f protocol_family | -p protocol]
               [-M core] [-N system]
       netstat -i | -I interface -s [-f protocol_family | -p protocol]
               [-M core] [-N system]
       netstat -m [-M core] [-N system]
       netstat -B [-I interface]
       netstat -r [-AanW] [-f address_family] [-M core] [-N system]
       netstat -rs [-s] [-M core] [-N system]
       netstat -g [-W] [-f address_family] [-M core] [-N system]
       netstat -gs [-s] [-f address_family] [-M core] [-N system]
12:08:37
#netstat -l -p
netstat: option requires an argument -- p
usage: netstat [-AaLnSWx] [-f protocol_family | -p protocol]
               [-M core] [-N system]
       netstat -i | -I interface [-abdhntW] [-f address_family]
               [-M core] [-N system]
       netstat -w wait [-I interface] [-d] [-M core] [-N system] [-q howmany]
       netstat -s [-s] [-z] [-f protocol_family | -p protocol]
               [-M core] [-N system]
       netstat -i | -I interface -s [-f protocol_family | -p protocol]
               [-M core] [-N system]
       netstat -m [-M core] [-N system]
       netstat -B [-I interface]
       netstat -r [-AanW] [-f address_family] [-M core] [-N system]
       netstat -rs [-s] [-M core] [-N system]
       netstat -g [-W] [-f address_family] [-M core] [-N system]
       netstat -gs [-s] [-f address_family] [-M core] [-N system]
12:08:47
#netstat -l
Active Internet connections
Proto Recv-Q Send-Q  Local Address          Foreign Address       (state)
tcp4       0      0 freebsd1.54360         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.16466         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.50690         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.23448         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.30469         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.10752         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.19466         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.35660         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.27903         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.51578         xgu.ru.18030           TIME_WAIT
tcp4       0     52 freebsd1.ssh           192.168.15.101.49158   ESTABLISHED
Active UNIX domain sockets
Address  Type   Recv-Q Send-Q    Inode     Conn     Refs  Nextref Addr
c3918d70 stream      0      0 c390fc90        0        0        0 /var/run/devd.pipe
c3918408 dgram       0      0        0 c3918764        0 c3918560
c39184b4 dgram       0      0        0 c3918810        0        0
c3918560 dgram       0      0        0 c3918764        0        0
c3918764 dgram       0      0 c3b0510c        0 c3918408        0 /var/run/logpriv
c3918810 dgram       0      0 c3b05218        0 c39184b4        0 /var/run/log
12:08:47
#netstat -l
Active Internet connections
Proto Recv-Q Send-Q  Local Address          Foreign Address       (state)
tcp4       0      0 freebsd1.54360         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.16466         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.50690         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.23448         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.30469         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.10752         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.19466         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.35660         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.27903         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.51578         xgu.ru.18030           TIME_WAIT
tcp4       0     52 freebsd1.ssh           192.168.15.101.49158   ESTABLISHED
Active UNIX domain sockets
Address  Type   Recv-Q Send-Q    Inode     Conn     Refs  Nextref Addr
c3918d70 stream      0      0 c390fc90        0        0        0 /var/run/devd.pipe
c3918408 dgram       0      0        0 c3918764        0 c3918560
c39184b4 dgram       0      0        0 c3918810        0        0
c3918560 dgram       0      0        0 c3918764        0        0
c3918764 dgram       0      0 c3b0510c        0 c3918408        0 /var/run/logpriv
c3918810 dgram       0      0 c3b05218        0 c39184b4        0 /var/run/log
12:08:47
#netstat -l
Active Internet connections
Proto Recv-Q Send-Q  Local Address          Foreign Address       (state)
tcp4       0      0 freebsd1.54360         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.16466         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.50690         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.23448         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.30469         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.10752         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.19466         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.35660         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.27903         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.51578         xgu.ru.18030           TIME_WAIT
tcp4       0     52 freebsd1.ssh           192.168.15.101.49158   ESTABLISHED
Active UNIX domain sockets
Address  Type   Recv-Q Send-Q    Inode     Conn     Refs  Nextref Addr
c3918d70 stream      0      0 c390fc90        0        0        0 /var/run/devd.pipe
c3918408 dgram       0      0        0 c3918764        0 c3918560
c39184b4 dgram       0      0        0 c3918810        0        0
c3918560 dgram       0      0        0 c3918764        0        0
c3918764 dgram       0      0 c3b0510c        0 c3918408        0 /var/run/logpriv
c3918810 dgram       0      0 c3b05218        0 c39184b4        0 /var/run/log
12:08:47
#netstat -l
Active Internet connections
Proto Recv-Q Send-Q  Local Address          Foreign Address       (state)
tcp4       0      0 freebsd1.54360         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.16466         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.50690         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.23448         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.30469         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.10752         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.19466         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.35660         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.27903         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.51578         xgu.ru.18030           TIME_WAIT
tcp4       0     52 freebsd1.ssh           192.168.15.101.49158   ESTABLISHED
Active UNIX domain sockets
Address  Type   Recv-Q Send-Q    Inode     Conn     Refs  Nextref Addr
c3918d70 stream      0      0 c390fc90        0        0        0 /var/run/devd.pipe
c3918408 dgram       0      0        0 c3918764        0 c3918560
c39184b4 dgram       0      0        0 c3918810        0        0
c3918560 dgram       0      0        0 c3918764        0        0
c3918764 dgram       0      0 c3b0510c        0 c3918408        0 /var/run/logpriv
c3918810 dgram       0      0 c3b05218        0 c39184b4        0 /var/run/log
12:08:56
#netstat -lp
netstat: option requires an argument -- p
usage: netstat [-AaLnSWx] [-f protocol_family | -p protocol]
               [-M core] [-N system]
       netstat -i | -I interface [-abdhntW] [-f address_family]
               [-M core] [-N system]
       netstat -w wait [-I interface] [-d] [-M core] [-N system] [-q howmany]
       netstat -s [-s] [-z] [-f protocol_family | -p protocol]
               [-M core] [-N system]
       netstat -i | -I interface -s [-f protocol_family | -p protocol]
               [-M core] [-N system]
       netstat -m [-M core] [-N system]
       netstat -B [-I interface]
       netstat -r [-AanW] [-f address_family] [-M core] [-N system]
       netstat -rs [-s] [-M core] [-N system]
       netstat -g [-W] [-f address_family] [-M core] [-N system]
       netstat -gs [-s] [-f address_family] [-M core] [-N system]
12:08:56
#netstat -lp
netstat: option requires an argument -- p
usage: netstat [-AaLnSWx] [-f protocol_family | -p protocol]
               [-M core] [-N system]
       netstat -i | -I interface [-abdhntW] [-f address_family]
               [-M core] [-N system]
       netstat -w wait [-I interface] [-d] [-M core] [-N system] [-q howmany]
       netstat -s [-s] [-z] [-f protocol_family | -p protocol]
               [-M core] [-N system]
       netstat -i | -I interface -s [-f protocol_family | -p protocol]
               [-M core] [-N system]
       netstat -m [-M core] [-N system]
       netstat -B [-I interface]
       netstat -r [-AanW] [-f address_family] [-M core] [-N system]
       netstat -rs [-s] [-M core] [-N system]
       netstat -g [-W] [-f address_family] [-M core] [-N system]
       netstat -gs [-s] [-f address_family] [-M core] [-N system]
12:08:56
#netstat -lp
netstat: option requires an argument -- p
usage: netstat [-AaLnSWx] [-f protocol_family | -p protocol]
               [-M core] [-N system]
       netstat -i | -I interface [-abdhntW] [-f address_family]
               [-M core] [-N system]
       netstat -w wait [-I interface] [-d] [-M core] [-N system] [-q howmany]
       netstat -s [-s] [-z] [-f protocol_family | -p protocol]
               [-M core] [-N system]
       netstat -i | -I interface -s [-f protocol_family | -p protocol]
               [-M core] [-N system]
       netstat -m [-M core] [-N system]
       netstat -B [-I interface]
       netstat -r [-AanW] [-f address_family] [-M core] [-N system]
       netstat -rs [-s] [-M core] [-N system]
       netstat -g [-W] [-f address_family] [-M core] [-N system]
       netstat -gs [-s] [-f address_family] [-M core] [-N system]
12:08:56
#netstat -lp
netstat: option requires an argument -- p
usage: netstat [-AaLnSWx] [-f protocol_family | -p protocol]
               [-M core] [-N system]
       netstat -i | -I interface [-abdhntW] [-f address_family]
               [-M core] [-N system]
       netstat -w wait [-I interface] [-d] [-M core] [-N system] [-q howmany]
       netstat -s [-s] [-z] [-f protocol_family | -p protocol]
               [-M core] [-N system]
       netstat -i | -I interface -s [-f protocol_family | -p protocol]
               [-M core] [-N system]
       netstat -m [-M core] [-N system]
       netstat -B [-I interface]
       netstat -r [-AanW] [-f address_family] [-M core] [-N system]
       netstat -rs [-s] [-M core] [-N system]
       netstat -g [-W] [-f address_family] [-M core] [-N system]
       netstat -gs [-s] [-f address_family] [-M core] [-N system]
12:09:00
#netstat -l p
Active Internet connections
Proto Recv-Q Send-Q  Local Address          Foreign Address       (state)
tcp4       0      0 freebsd1.10030         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.39034         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.54360         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.16466         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.50690         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.23448         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.30469         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.10752         xgu.ru.18030           TIME_WAIT
tcp4       0     52 freebsd1.ssh           192.168.15.101.49158   ESTABLISHED
Active UNIX domain sockets
Address  Type   Recv-Q Send-Q    Inode     Conn     Refs  Nextref Addr
c3918d70 stream      0      0 c390fc90        0        0        0 /var/run/devd.pipe
c3918408 dgram       0      0        0 c3918764        0 c3918560
c39184b4 dgram       0      0        0 c3918810        0        0
c3918560 dgram       0      0        0 c3918764        0        0
c3918764 dgram       0      0 c3b0510c        0 c3918408        0 /var/run/logpriv
c3918810 dgram       0      0 c3b05218        0 c39184b4        0 /var/run/log
12:09:00
#netstat -l p
Active Internet connections
Proto Recv-Q Send-Q  Local Address          Foreign Address       (state)
tcp4       0      0 freebsd1.10030         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.39034         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.54360         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.16466         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.50690         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.23448         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.30469         xgu.ru.18030           TIME_WAIT
tcp4       0      0 freebsd1.10752         xgu.ru.18030           TIME_WAIT
tcp4       0     52 freebsd1.ssh           192.168.15.101.49158   ESTABLISHED
Active UNIX domain sockets
Address  Type   Recv-Q Send-Q    Inode     Conn     Refs  Nextref Addr
c3918d70 stream      0      0 c390fc90        0        0        0 /var/run/devd.pipe
c3918408 dgram       0      0        0 c3918764        0 c3918560
c39184b4 dgram       0      0        0 c3918810        0        0
c3918560 dgram       0      0        0 c3918764        0        0
c3918764 dgram       0      0 c3b0510c        0 c3918408        0 /var/run/logpriv
c3918810 dgram       0      0 c3b05218        0 c39184b4        0 /var/run/log
12:09:14
#netstat -nlp
netstat: option requires an argument -- p
usage: netstat [-AaLnSWx] [-f protocol_family | -p protocol]
               [-M core] [-N system]
       netstat -i | -I interface [-abdhntW] [-f address_family]
               [-M core] [-N system]
       netstat -w wait [-I interface] [-d] [-M core] [-N system] [-q howmany]
       netstat -s [-s] [-z] [-f protocol_family | -p protocol]
               [-M core] [-N system]
       netstat -i | -I interface -s [-f protocol_family | -p protocol]
               [-M core] [-N system]
       netstat -m [-M core] [-N system]
       netstat -B [-I interface]
       netstat -r [-AanW] [-f address_family] [-M core] [-N system]
       netstat -rs [-s] [-M core] [-N system]
       netstat -g [-W] [-f address_family] [-M core] [-N system]
       netstat -gs [-s] [-f address_family] [-M core] [-N system]
12:09:14
#netstat -nlp
netstat: option requires an argument -- p
usage: netstat [-AaLnSWx] [-f protocol_family | -p protocol]
               [-M core] [-N system]
       netstat -i | -I interface [-abdhntW] [-f address_family]
               [-M core] [-N system]
       netstat -w wait [-I interface] [-d] [-M core] [-N system] [-q howmany]
       netstat -s [-s] [-z] [-f protocol_family | -p protocol]
               [-M core] [-N system]
       netstat -i | -I interface -s [-f protocol_family | -p protocol]
               [-M core] [-N system]
       netstat -m [-M core] [-N system]
       netstat -B [-I interface]
       netstat -r [-AanW] [-f address_family] [-M core] [-N system]
       netstat -rs [-s] [-M core] [-N system]
       netstat -g [-W] [-f address_family] [-M core] [-N system]
       netstat -gs [-s] [-f address_family] [-M core] [-N system]
12:09:14
#netstat -nlp
netstat: option requires an argument -- p
usage: netstat [-AaLnSWx] [-f protocol_family | -p protocol]
               [-M core] [-N system]
       netstat -i | -I interface [-abdhntW] [-f address_family]
               [-M core] [-N system]
       netstat -w wait [-I interface] [-d] [-M core] [-N system] [-q howmany]
       netstat -s [-s] [-z] [-f protocol_family | -p protocol]
               [-M core] [-N system]
       netstat -i | -I interface -s [-f protocol_family | -p protocol]
               [-M core] [-N system]
       netstat -m [-M core] [-N system]
       netstat -B [-I interface]
       netstat -r [-AanW] [-f address_family] [-M core] [-N system]
       netstat -rs [-s] [-M core] [-N system]
       netstat -g [-W] [-f address_family] [-M core] [-N system]
       netstat -gs [-s] [-f address_family] [-M core] [-N system]
12:09:14
#netstat -nlp
netstat: option requires an argument -- p
usage: netstat [-AaLnSWx] [-f protocol_family | -p protocol]
               [-M core] [-N system]
       netstat -i | -I interface [-abdhntW] [-f address_family]
               [-M core] [-N system]
       netstat -w wait [-I interface] [-d] [-M core] [-N system] [-q howmany]
       netstat -s [-s] [-z] [-f protocol_family | -p protocol]
               [-M core] [-N system]
       netstat -i | -I interface -s [-f protocol_family | -p protocol]
               [-M core] [-N system]
       netstat -m [-M core] [-N system]
       netstat -B [-I interface]
       netstat -r [-AanW] [-f address_family] [-M core] [-N system]
       netstat -rs [-s] [-M core] [-N system]
       netstat -g [-W] [-f address_family] [-M core] [-N system]
       netstat -gs [-s] [-f address_family] [-M core] [-N system]
12:09:39
#netstat -4
netstat: illegal option -- 4
usage: netstat [-AaLnSWx] [-f protocol_family | -p protocol]
               [-M core] [-N system]
       netstat -i | -I interface [-abdhntW] [-f address_family]
               [-M core] [-N system]
       netstat -w wait [-I interface] [-d] [-M core] [-N system] [-q howmany]
       netstat -s [-s] [-z] [-f protocol_family | -p protocol]
               [-M core] [-N system]
       netstat -i | -I interface -s [-f protocol_family | -p protocol]
               [-M core] [-N system]
       netstat -m [-M core] [-N system]
       netstat -B [-I interface]
       netstat -r [-AanW] [-f address_family] [-M core] [-N system]
       netstat -rs [-s] [-M core] [-N system]
       netstat -g [-W] [-f address_family] [-M core] [-N system]
       netstat -gs [-s] [-f address_family] [-M core] [-N system]
12:09:39
#netstat -4
netstat: illegal option -- 4
usage: netstat [-AaLnSWx] [-f protocol_family | -p protocol]
               [-M core] [-N system]
       netstat -i | -I interface [-abdhntW] [-f address_family]
               [-M core] [-N system]
       netstat -w wait [-I interface] [-d] [-M core] [-N system] [-q howmany]
       netstat -s [-s] [-z] [-f protocol_family | -p protocol]
               [-M core] [-N system]
       netstat -i | -I interface -s [-f protocol_family | -p protocol]
               [-M core] [-N system]
       netstat -m [-M core] [-N system]
       netstat -B [-I interface]
       netstat -r [-AanW] [-f address_family] [-M core] [-N system]
       netstat -rs [-s] [-M core] [-N system]
       netstat -g [-W] [-f address_family] [-M core] [-N system]
       netstat -gs [-s] [-f address_family] [-M core] [-N system]
12:09:39
#netstat -4
netstat: illegal option -- 4
usage: netstat [-AaLnSWx] [-f protocol_family | -p protocol]
               [-M core] [-N system]
       netstat -i | -I interface [-abdhntW] [-f address_family]
               [-M core] [-N system]
       netstat -w wait [-I interface] [-d] [-M core] [-N system] [-q howmany]
       netstat -s [-s] [-z] [-f protocol_family | -p protocol]
               [-M core] [-N system]
       netstat -i | -I interface -s [-f protocol_family | -p protocol]
               [-M core] [-N system]
       netstat -m [-M core] [-N system]
       netstat -B [-I interface]
       netstat -r [-AanW] [-f address_family] [-M core] [-N system]
       netstat -rs [-s] [-M core] [-N system]
       netstat -g [-W] [-f address_family] [-M core] [-N system]
       netstat -gs [-s] [-f address_family] [-M core] [-N system]
12:09:39
#netstat -4
netstat: illegal option -- 4
usage: netstat [-AaLnSWx] [-f protocol_family | -p protocol]
               [-M core] [-N system]
       netstat -i | -I interface [-abdhntW] [-f address_family]
               [-M core] [-N system]
       netstat -w wait [-I interface] [-d] [-M core] [-N system] [-q howmany]
       netstat -s [-s] [-z] [-f protocol_family | -p protocol]
               [-M core] [-N system]
       netstat -i | -I interface -s [-f protocol_family | -p protocol]
               [-M core] [-N system]
       netstat -m [-M core] [-N system]
       netstat -B [-I interface]
       netstat -r [-AanW] [-f address_family] [-M core] [-N system]
       netstat -rs [-s] [-M core] [-N system]
       netstat -g [-W] [-f address_family] [-M core] [-N system]
       netstat -gs [-s] [-f address_family] [-M core] [-N system]
12:10:36
#sockstat
USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS
root     sshd       3251  3  tcp4   192.168.13.21:22      192.168.15.101:49158
root     inetd      1279  6  dgram  -> /var/run/logpriv
smmsp    sendmail   1240  3  dgram  -> /var/run/log
root     sendmail   1236  3  dgram  -> /var/run/logpriv
root     sendmail   1236  4  tcp4   127.0.0.1:25          *:*
root     sshd       1228  3  tcp6   *:22                  *:*
root     sshd       1228  4  tcp4   *:22                  *:*
root     syslogd    931   4  dgram  /var/run/log
root     syslogd    931   5  dgram  /var/run/logpriv
root     syslogd    931   6  udp6   *:514                 *:*
root     syslogd    931   7  udp4   *:514                 *:*
root     devd       777   4  stream /var/run/devd.pipe
root     moused     746   4  stream /var/run/devd.pipe
12:10:36
#sockstat
USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS
root     sshd       3251  3  tcp4   192.168.13.21:22      192.168.15.101:49158
root     inetd      1279  6  dgram  -> /var/run/logpriv
smmsp    sendmail   1240  3  dgram  -> /var/run/log
root     sendmail   1236  3  dgram  -> /var/run/logpriv
root     sendmail   1236  4  tcp4   127.0.0.1:25          *:*
root     sshd       1228  3  tcp6   *:22                  *:*
root     sshd       1228  4  tcp4   *:22                  *:*
root     syslogd    931   4  dgram  /var/run/log
root     syslogd    931   5  dgram  /var/run/logpriv
root     syslogd    931   6  udp6   *:514                 *:*
root     syslogd    931   7  udp4   *:514                 *:*
root     devd       777   4  stream /var/run/devd.pipe
root     moused     746   4  stream /var/run/devd.pipe
12:10:36
#sockstat
USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS
root     sshd       3251  3  tcp4   192.168.13.21:22      192.168.15.101:49158
root     inetd      1279  6  dgram  -> /var/run/logpriv
smmsp    sendmail   1240  3  dgram  -> /var/run/log
root     sendmail   1236  3  dgram  -> /var/run/logpriv
root     sendmail   1236  4  tcp4   127.0.0.1:25          *:*
root     sshd       1228  3  tcp6   *:22                  *:*
root     sshd       1228  4  tcp4   *:22                  *:*
root     syslogd    931   4  dgram  /var/run/log
root     syslogd    931   5  dgram  /var/run/logpriv
root     syslogd    931   6  udp6   *:514                 *:*
root     syslogd    931   7  udp4   *:514                 *:*
root     devd       777   4  stream /var/run/devd.pipe
root     moused     746   4  stream /var/run/devd.pipe
12:10:36
#sockstat
USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS
root     sshd       3251  3  tcp4   192.168.13.21:22      192.168.15.101:49158
root     inetd      1279  6  dgram  -> /var/run/logpriv
smmsp    sendmail   1240  3  dgram  -> /var/run/log
root     sendmail   1236  3  dgram  -> /var/run/logpriv
root     sendmail   1236  4  tcp4   127.0.0.1:25          *:*
root     sshd       1228  3  tcp6   *:22                  *:*
root     sshd       1228  4  tcp4   *:22                  *:*
root     syslogd    931   4  dgram  /var/run/log
root     syslogd    931   5  dgram  /var/run/logpriv
root     syslogd    931   6  udp6   *:514                 *:*
root     syslogd    931   7  udp4   *:514                 *:*
root     devd       777   4  stream /var/run/devd.pipe
root     moused     746   4  stream /var/run/devd.pipe
12:10:42
#sockstat -4
USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS
root     sshd       3251  3  tcp4   192.168.13.21:22      192.168.15.101:49158
root     sendmail   1236  4  tcp4   127.0.0.1:25          *:*
root     sshd       1228  4  tcp4   *:22                  *:*
root     syslogd    931   7  udp4   *:514                 *:*
12:10:42
#sockstat -4
USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS
root     sshd       3251  3  tcp4   192.168.13.21:22      192.168.15.101:49158
root     sendmail   1236  4  tcp4   127.0.0.1:25          *:*
root     sshd       1228  4  tcp4   *:22                  *:*
root     syslogd    931   7  udp4   *:514                 *:*
12:10:42
#sockstat -4
USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS
root     sshd       3251  3  tcp4   192.168.13.21:22      192.168.15.101:49158
root     sendmail   1236  4  tcp4   127.0.0.1:25          *:*
root     sshd       1228  4  tcp4   *:22                  *:*
root     syslogd    931   7  udp4   *:514                 *:*
12:10:42
#sockstat -4
USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS
root     sshd       3251  3  tcp4   192.168.13.21:22      192.168.15.101:49158
root     sendmail   1236  4  tcp4   127.0.0.1:25          *:*
root     sshd       1228  4  tcp4   *:22                  *:*
root     syslogd    931   7  udp4   *:514                 *:*
12:10:55
#sockstat -6
USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS
root     sshd       1228  3  tcp6   *:22                  *:*
root     syslogd    931   6  udp6   *:514                 *:*
12:10:55
#sockstat -6
USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS
root     sshd       1228  3  tcp6   *:22                  *:*
root     syslogd    931   6  udp6   *:514                 *:*
12:10:55
#sockstat -6
USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS
root     sshd       1228  3  tcp6   *:22                  *:*
root     syslogd    931   6  udp6   *:514                 *:*
12:10:55
#sockstat -6
USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS
root     sshd       1228  3  tcp6   *:22                  *:*
root     syslogd    931   6  udp6   *:514                 *:*
12:10:57
#netstat -s
tcp:
        31502 packets sent
                18351 data packets (10246145 bytes)
                0 data packets (0 bytes) retransmitted
                0 data packets unnecessarily retransmitted
                0 resends initiated by MTU discovery
                10797 ack-only packets (36 delayed)
                0 URG only packets
                0 window probe packets
                1850 window update packets
...
        0 path MTU changes
rip6:
        0 messages received
        0 checksum calculations on inbound
        0 messages with bad checksum
        0 messages dropped due to no socket
        0 multicast messages dropped due to no socket
        0 messages dropped due to full socket buffers
        0 delivered
        0 datagrams output
12:10:57
#netstat -s
tcp:
        31502 packets sent
                18351 data packets (10246145 bytes)
                0 data packets (0 bytes) retransmitted
                0 data packets unnecessarily retransmitted
                0 resends initiated by MTU discovery
                10797 ack-only packets (36 delayed)
                0 URG only packets
                0 window probe packets
                1850 window update packets
...
        0 path MTU changes
rip6:
        0 messages received
        0 checksum calculations on inbound
        0 messages with bad checksum
        0 messages dropped due to no socket
        0 multicast messages dropped due to no socket
        0 messages dropped due to full socket buffers
        0 delivered
        0 datagrams output
12:10:57
#netstat -s
tcp:
        31502 packets sent
                18351 data packets (10246145 bytes)
                0 data packets (0 bytes) retransmitted
                0 data packets unnecessarily retransmitted
                0 resends initiated by MTU discovery
                10797 ack-only packets (36 delayed)
                0 URG only packets
                0 window probe packets
                1850 window update packets
...
        0 path MTU changes
rip6:
        0 messages received
        0 checksum calculations on inbound
        0 messages with bad checksum
        0 messages dropped due to no socket
        0 multicast messages dropped due to no socket
        0 messages dropped due to full socket buffers
        0 delivered
        0 datagrams output
12:10:57
#netstat -s
tcp:
        31502 packets sent
                18351 data packets (10246145 bytes)
                0 data packets (0 bytes) retransmitted
                0 data packets unnecessarily retransmitted
                0 resends initiated by MTU discovery
                10797 ack-only packets (36 delayed)
                0 URG only packets
                0 window probe packets
                1850 window update packets
...
        0 path MTU changes
rip6:
        0 messages received
        0 checksum calculations on inbound
        0 messages with bad checksum
        0 messages dropped due to no socket
        0 multicast messages dropped due to no socket
        0 messages dropped due to full socket buffers
        0 delivered
        0 datagrams output
12:11:01
#netstat -st
tcp:
        31883 packets sent
                18725 data packets (10326201 bytes)
                0 data packets (0 bytes) retransmitted
                0 data packets unnecessarily retransmitted
                0 resends initiated by MTU discovery
                10802 ack-only packets (37 delayed)
                0 URG only packets
                0 window probe packets
                1850 window update packets
...
        0 path MTU changes
rip6:
        0 messages received
        0 checksum calculations on inbound
        0 messages with bad checksum
        0 messages dropped due to no socket
        0 multicast messages dropped due to no socket
        0 messages dropped due to full socket buffers
        0 delivered
        0 datagrams output
12:11:01
#netstat -st
tcp:
        31883 packets sent
                18725 data packets (10326201 bytes)
                0 data packets (0 bytes) retransmitted
                0 data packets unnecessarily retransmitted
                0 resends initiated by MTU discovery
                10802 ack-only packets (37 delayed)
                0 URG only packets
                0 window probe packets
                1850 window update packets
...
        0 path MTU changes
rip6:
        0 messages received
        0 checksum calculations on inbound
        0 messages with bad checksum
        0 messages dropped due to no socket
        0 multicast messages dropped due to no socket
        0 messages dropped due to full socket buffers
        0 delivered
        0 datagrams output
12:11:01
#netstat -st
tcp:
        31883 packets sent
                18725 data packets (10326201 bytes)
                0 data packets (0 bytes) retransmitted
                0 data packets unnecessarily retransmitted
                0 resends initiated by MTU discovery
                10802 ack-only packets (37 delayed)
                0 URG only packets
                0 window probe packets
                1850 window update packets
...
        0 path MTU changes
rip6:
        0 messages received
        0 checksum calculations on inbound
        0 messages with bad checksum
        0 messages dropped due to no socket
        0 multicast messages dropped due to no socket
        0 messages dropped due to full socket buffers
        0 delivered
        0 datagrams output
12:11:01
#netstat -st
tcp:
        31883 packets sent
                18725 data packets (10326201 bytes)
                0 data packets (0 bytes) retransmitted
                0 data packets unnecessarily retransmitted
                0 resends initiated by MTU discovery
                10802 ack-only packets (37 delayed)
                0 URG only packets
                0 window probe packets
                1850 window update packets
...
        0 path MTU changes
rip6:
        0 messages received
        0 checksum calculations on inbound
        0 messages with bad checksum
        0 messages dropped due to no socket
        0 multicast messages dropped due to no socket
        0 messages dropped due to full socket buffers
        0 delivered
        0 datagrams output
12:11:40
#netstat -s -t
tcp:
        32223 packets sent
                19064 data packets (10351989 bytes)
                0 data packets (0 bytes) retransmitted
                0 data packets unnecessarily retransmitted
                0 resends initiated by MTU discovery
                10803 ack-only packets (37 delayed)
                0 URG only packets
                0 window probe packets
                1850 window update packets
...
        0 path MTU changes
rip6:
        0 messages received
        0 checksum calculations on inbound
        0 messages with bad checksum
        0 messages dropped due to no socket
        0 multicast messages dropped due to no socket
        0 messages dropped due to full socket buffers
        0 delivered
        0 datagrams output
12:11:40
#netstat -s -t
tcp:
        32223 packets sent
                19064 data packets (10351989 bytes)
                0 data packets (0 bytes) retransmitted
                0 data packets unnecessarily retransmitted
                0 resends initiated by MTU discovery
                10803 ack-only packets (37 delayed)
                0 URG only packets
                0 window probe packets
                1850 window update packets
...
        0 path MTU changes
rip6:
        0 messages received
        0 checksum calculations on inbound
        0 messages with bad checksum
        0 messages dropped due to no socket
        0 multicast messages dropped due to no socket
        0 messages dropped due to full socket buffers
        0 delivered
        0 datagrams output
12:11:40
#netstat -s -t
tcp:
        32223 packets sent
                19064 data packets (10351989 bytes)
                0 data packets (0 bytes) retransmitted
                0 data packets unnecessarily retransmitted
                0 resends initiated by MTU discovery
                10803 ack-only packets (37 delayed)
                0 URG only packets
                0 window probe packets
                1850 window update packets
...
        0 path MTU changes
rip6:
        0 messages received
        0 checksum calculations on inbound
        0 messages with bad checksum
        0 messages dropped due to no socket
        0 multicast messages dropped due to no socket
        0 messages dropped due to full socket buffers
        0 delivered
        0 datagrams output
12:11:40
#netstat -s -t
tcp:
        32223 packets sent
                19064 data packets (10351989 bytes)
                0 data packets (0 bytes) retransmitted
                0 data packets unnecessarily retransmitted
                0 resends initiated by MTU discovery
                10803 ack-only packets (37 delayed)
                0 URG only packets
                0 window probe packets
                1850 window update packets
...
        0 path MTU changes
rip6:
        0 messages received
        0 checksum calculations on inbound
        0 messages with bad checksum
        0 messages dropped due to no socket
        0 multicast messages dropped due to no socket
        0 messages dropped due to full socket buffers
        0 delivered
        0 datagrams output
12:11:45
#netstat -s -u

12:11:45
#netstat -s -u

12:11:45
#netstat -s -u

12:11:45
#netstat -s -u

12:11:49
#netstat -s -t
tcp:
        32600 packets sent
                19437 data packets (10421073 bytes)
                0 data packets (0 bytes) retransmitted
                0 data packets unnecessarily retransmitted
                0 resends initiated by MTU discovery
                10805 ack-only packets (37 delayed)
                0 URG only packets
                0 window probe packets
                1850 window update packets
...
        0 path MTU changes
rip6:
        0 messages received
        0 checksum calculations on inbound
        0 messages with bad checksum
        0 messages dropped due to no socket
        0 multicast messages dropped due to no socket
        0 messages dropped due to full socket buffers
        0 delivered
        0 datagrams output
12:11:49
#netstat -s -t
tcp:
        32600 packets sent
                19437 data packets (10421073 bytes)
                0 data packets (0 bytes) retransmitted
                0 data packets unnecessarily retransmitted
                0 resends initiated by MTU discovery
                10805 ack-only packets (37 delayed)
                0 URG only packets
                0 window probe packets
                1850 window update packets
...
        0 path MTU changes
rip6:
        0 messages received
        0 checksum calculations on inbound
        0 messages with bad checksum
        0 messages dropped due to no socket
        0 multicast messages dropped due to no socket
        0 messages dropped due to full socket buffers
        0 delivered
        0 datagrams output
12:11:53
#netstat -s -t -w
netstat: option requires an argument -- w
usage: netstat [-AaLnSWx] [-f protocol_family | -p protocol]
               [-M core] [-N system]
       netstat -i | -I interface [-abdhntW] [-f address_family]
               [-M core] [-N system]
       netstat -w wait [-I interface] [-d] [-M core] [-N system] [-q howmany]
       netstat -s [-s] [-z] [-f protocol_family | -p protocol]
               [-M core] [-N system]
       netstat -i | -I interface -s [-f protocol_family | -p protocol]
               [-M core] [-N system]
       netstat -m [-M core] [-N system]
       netstat -B [-I interface]
       netstat -r [-AanW] [-f address_family] [-M core] [-N system]
       netstat -rs [-s] [-M core] [-N system]
       netstat -g [-W] [-f address_family] [-M core] [-N system]
       netstat -gs [-s] [-f address_family] [-M core] [-N system]
12:11:53
#netstat -s -t -w
netstat: option requires an argument -- w
usage: netstat [-AaLnSWx] [-f protocol_family | -p protocol]
               [-M core] [-N system]
       netstat -i | -I interface [-abdhntW] [-f address_family]
               [-M core] [-N system]
       netstat -w wait [-I interface] [-d] [-M core] [-N system] [-q howmany]
       netstat -s [-s] [-z] [-f protocol_family | -p protocol]
               [-M core] [-N system]
       netstat -i | -I interface -s [-f protocol_family | -p protocol]
               [-M core] [-N system]
       netstat -m [-M core] [-N system]
       netstat -B [-I interface]
       netstat -r [-AanW] [-f address_family] [-M core] [-N system]
       netstat -rs [-s] [-M core] [-N system]
       netstat -g [-W] [-f address_family] [-M core] [-N system]
       netstat -gs [-s] [-f address_family] [-M core] [-N system]
12:11:56
#mn kstat
Formatting page, please wait...Done.
SOCKSTAT(1)             FreeBSD General Commands Manual            SOCKSTAT(1)
NAME
     sockstat -- list open sockets
SYNOPSIS
     sockstat [-46cLlu] [-p ports] [-P protocols]
DESCRIPTION
     The sockstat command lists open Internet or UNIX domain sockets.
     The following options are available:
     -4          Show AF_INET (IPv4) sockets.
...
     COMMAND          The command which holds the socket.
     PID              The process ID of the command which holds the socket.
     FD               The file descriptor number of the socket.
     PROTO            The transport protocol associated with the socket for
                      Internet sockets, or the type of socket (stream or data-
                      gram) for UNIX sockets.
     LOCAL ADDRESS    For Internet sockets, this is the address the local end
                      of the socket is bound to (see getsockname(2)).  For
                      bound UNIX sockets, it is the socket's filename.  For
                      other UNIX sockets, it is a right arrow followed by the
12:11:56
#mn kstat
Formatting page, please wait...Done.
SOCKSTAT(1)             FreeBSD General Commands Manual            SOCKSTAT(1)
NAME
     sockstat -- list open sockets
SYNOPSIS
     sockstat [-46cLlu] [-p ports] [-P protocols]
DESCRIPTION
     The sockstat command lists open Internet or UNIX domain sockets.
     The following options are available:
     -4          Show AF_INET (IPv4) sockets.
...
     COMMAND          The command which holds the socket.
     PID              The process ID of the command which holds the socket.
     FD               The file descriptor number of the socket.
     PROTO            The transport protocol associated with the socket for
                      Internet sockets, or the type of socket (stream or data-
                      gram) for UNIX sockets.
     LOCAL ADDRESS    For Internet sockets, this is the address the local end
                      of the socket is bound to (see getsockname(2)).  For
                      bound UNIX sockets, it is the socket's filename.  For
                      other UNIX sockets, it is a right arrow followed by the
12:11:56
#mn kstat
Formatting page, please wait...Done.
SOCKSTAT(1)             FreeBSD General Commands Manual            SOCKSTAT(1)
NAME
     sockstat -- list open sockets
SYNOPSIS
     sockstat [-46cLlu] [-p ports] [-P protocols]
DESCRIPTION
     The sockstat command lists open Internet or UNIX domain sockets.
     The following options are available:
     -4          Show AF_INET (IPv4) sockets.
...
     COMMAND          The command which holds the socket.
     PID              The process ID of the command which holds the socket.
     FD               The file descriptor number of the socket.
     PROTO            The transport protocol associated with the socket for
                      Internet sockets, or the type of socket (stream or data-
                      gram) for UNIX sockets.
     LOCAL ADDRESS    For Internet sockets, this is the address the local end
                      of the socket is bound to (see getsockname(2)).  For
                      bound UNIX sockets, it is the socket's filename.  For
                      other UNIX sockets, it is a right arrow followed by the
12:11:56
#mn kstat
Formatting page, please wait...Done.
SOCKSTAT(1)             FreeBSD General Commands Manual            SOCKSTAT(1)
NAME
     sockstat -- list open sockets
SYNOPSIS
     sockstat [-46cLlu] [-p ports] [-P protocols]
DESCRIPTION
     The sockstat command lists open Internet or UNIX domain sockets.
     The following options are available:
     -4          Show AF_INET (IPv4) sockets.
...
     COMMAND          The command which holds the socket.
     PID              The process ID of the command which holds the socket.
     FD               The file descriptor number of the socket.
     PROTO            The transport protocol associated with the socket for
                      Internet sockets, or the type of socket (stream or data-
                      gram) for UNIX sockets.
     LOCAL ADDRESS    For Internet sockets, this is the address the local end
                      of the socket is bound to (see getsockname(2)).  For
                      bound UNIX sockets, it is the socket's filename.  For
                      other UNIX sockets, it is a right arrow followed by the
12:12:36
#sockstat -c
USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS
root     sshd       3251  3  tcp4   192.168.13.21:22      192.168.15.101:49158
root     inetd      1279  6  dgram  -> ??
smmsp    sendmail   1240  3  dgram  -> ??
root     sendmail   1236  3  dgram  -> ??
12:12:36
#sockstat -c
USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS
root     sshd       3251  3  tcp4   192.168.13.21:22      192.168.15.101:49158
root     inetd      1279  6  dgram  -> ??
smmsp    sendmail   1240  3  dgram  -> ??
root     sendmail   1236  3  dgram  -> ??
12:12:36
#sockstat -c
USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS
root     sshd       3251  3  tcp4   192.168.13.21:22      192.168.15.101:49158
root     inetd      1279  6  dgram  -> ??
smmsp    sendmail   1240  3  dgram  -> ??
root     sendmail   1236  3  dgram  -> ??
12:12:36
#sockstat -c
USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS
root     sshd       3251  3  tcp4   192.168.13.21:22      192.168.15.101:49158
root     inetd      1279  6  dgram  -> ??
smmsp    sendmail   1240  3  dgram  -> ??
root     sendmail   1236  3  dgram  -> ??
12:12:57
#tcpdump
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on re0, link-type EN10MB (Ethernet), capture size 96 bytes
13:13:38.743593 IP freebsd1.net.nt.ssh > 192.168.15.101.49158: Flags [P.], ack 1002052411, win 8212, length 116
13:13:38.744242 IP 192.168.15.101.49158 > freebsd1.net.nt.ssh: Flags [.], ack 116, win 255, length 0
13:13:38.744525 IP freebsd1.net.nt.ssh > 192.168.15.101.49158: Flags [P.], ack 1, win 8212, length 116
13:13:38.944239 IP 192.168.15.101.49158 > freebsd1.net.nt.ssh: Flags [.], ack 232, win 255, length 0
13:13:39.742361 IP freebsd1.net.nt.37820 > fobos.net.nt.domain: 3381+ PTR? 101.15.168.192.in-addr.arpa. (45)
13:13:39.743082 IP fobos.net.nt.domain > freebsd1.net.nt.37820: 3381 NXDomain* 0/1/0 (92)
13:13:39.745308 IP freebsd1.net.nt.ssh > 192.168.15.101.49158: Flags [P.], ack 1, win 8212, length 468
13:13:39.958128 IP 192.168.15.101.49158 > freebsd1.net.nt.ssh: Flags [.], ack 700, win 253, length 0
...
13:13:41.566633 ARP, Request who-has freebsd1.net.nt tell fobos.net.nt, length 46
13:13:41.566656 ARP, Reply freebsd1.net.nt is-at 00:16:4e:00:00:01 (oui Unknown), length 28
13:13:41.739370 IP freebsd1.net.nt.ssh > 192.168.15.101.49158: Flags [P.], ack 1, win 8212, length 628
13:13:41.954724 IP 192.168.15.101.49158 > freebsd1.net.nt.ssh: Flags [.], ack 1780, win 256, length 0
13:13:42.739095 IP freebsd1.net.nt.ssh > 192.168.15.101.49158: Flags [P.], ack 1, win 8212, length 260
13:13:42.953032 IP 192.168.15.101.49158 > freebsd1.net.nt.ssh: Flags [.], ack 2040, win 255, length 0
^C
18 packets captured
21 packets received by filter
0 packets dropped by kernel
12:12:57
#tcpdump
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on re0, link-type EN10MB (Ethernet), capture size 96 bytes
13:13:38.743593 IP freebsd1.net.nt.ssh > 192.168.15.101.49158: Flags [P.], ack 1002052411, win 8212, length 116
13:13:38.744242 IP 192.168.15.101.49158 > freebsd1.net.nt.ssh: Flags [.], ack 116, win 255, length 0
13:13:38.744525 IP freebsd1.net.nt.ssh > 192.168.15.101.49158: Flags [P.], ack 1, win 8212, length 116
13:13:38.944239 IP 192.168.15.101.49158 > freebsd1.net.nt.ssh: Flags [.], ack 232, win 255, length 0
13:13:39.742361 IP freebsd1.net.nt.37820 > fobos.net.nt.domain: 3381+ PTR? 101.15.168.192.in-addr.arpa. (45)
13:13:39.743082 IP fobos.net.nt.domain > freebsd1.net.nt.37820: 3381 NXDomain* 0/1/0 (92)
13:13:39.745308 IP freebsd1.net.nt.ssh > 192.168.15.101.49158: Flags [P.], ack 1, win 8212, length 468
13:13:39.958128 IP 192.168.15.101.49158 > freebsd1.net.nt.ssh: Flags [.], ack 700, win 253, length 0
...
13:13:41.566633 ARP, Request who-has freebsd1.net.nt tell fobos.net.nt, length 46
13:13:41.566656 ARP, Reply freebsd1.net.nt is-at 00:16:4e:00:00:01 (oui Unknown), length 28
13:13:41.739370 IP freebsd1.net.nt.ssh > 192.168.15.101.49158: Flags [P.], ack 1, win 8212, length 628
13:13:41.954724 IP 192.168.15.101.49158 > freebsd1.net.nt.ssh: Flags [.], ack 1780, win 256, length 0
13:13:42.739095 IP freebsd1.net.nt.ssh > 192.168.15.101.49158: Flags [P.], ack 1, win 8212, length 260
13:13:42.953032 IP 192.168.15.101.49158 > freebsd1.net.nt.ssh: Flags [.], ack 2040, win 255, length 0
^C
18 packets captured
21 packets received by filter
0 packets dropped by kernel
12:12:57
#tcpdump
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on re0, link-type EN10MB (Ethernet), capture size 96 bytes
13:13:38.743593 IP freebsd1.net.nt.ssh > 192.168.15.101.49158: Flags [P.], ack 1002052411, win 8212, length 116
13:13:38.744242 IP 192.168.15.101.49158 > freebsd1.net.nt.ssh: Flags [.], ack 116, win 255, length 0
13:13:38.744525 IP freebsd1.net.nt.ssh > 192.168.15.101.49158: Flags [P.], ack 1, win 8212, length 116
13:13:38.944239 IP 192.168.15.101.49158 > freebsd1.net.nt.ssh: Flags [.], ack 232, win 255, length 0
13:13:39.742361 IP freebsd1.net.nt.37820 > fobos.net.nt.domain: 3381+ PTR? 101.15.168.192.in-addr.arpa. (45)
13:13:39.743082 IP fobos.net.nt.domain > freebsd1.net.nt.37820: 3381 NXDomain* 0/1/0 (92)
13:13:39.745308 IP freebsd1.net.nt.ssh > 192.168.15.101.49158: Flags [P.], ack 1, win 8212, length 468
13:13:39.958128 IP 192.168.15.101.49158 > freebsd1.net.nt.ssh: Flags [.], ack 700, win 253, length 0
...
13:13:41.566633 ARP, Request who-has freebsd1.net.nt tell fobos.net.nt, length 46
13:13:41.566656 ARP, Reply freebsd1.net.nt is-at 00:16:4e:00:00:01 (oui Unknown), length 28
13:13:41.739370 IP freebsd1.net.nt.ssh > 192.168.15.101.49158: Flags [P.], ack 1, win 8212, length 628
13:13:41.954724 IP 192.168.15.101.49158 > freebsd1.net.nt.ssh: Flags [.], ack 1780, win 256, length 0
13:13:42.739095 IP freebsd1.net.nt.ssh > 192.168.15.101.49158: Flags [P.], ack 1, win 8212, length 260
13:13:42.953032 IP 192.168.15.101.49158 > freebsd1.net.nt.ssh: Flags [.], ack 2040, win 255, length 0
^C
18 packets captured
21 packets received by filter
0 packets dropped by kernel
12:12:57
#tcpdump
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on re0, link-type EN10MB (Ethernet), capture size 96 bytes
13:13:38.743593 IP freebsd1.net.nt.ssh > 192.168.15.101.49158: Flags [P.], ack 1002052411, win 8212, length 116
13:13:38.744242 IP 192.168.15.101.49158 > freebsd1.net.nt.ssh: Flags [.], ack 116, win 255, length 0
13:13:38.744525 IP freebsd1.net.nt.ssh > 192.168.15.101.49158: Flags [P.], ack 1, win 8212, length 116
13:13:38.944239 IP 192.168.15.101.49158 > freebsd1.net.nt.ssh: Flags [.], ack 232, win 255, length 0
13:13:39.742361 IP freebsd1.net.nt.37820 > fobos.net.nt.domain: 3381+ PTR? 101.15.168.192.in-addr.arpa. (45)
13:13:39.743082 IP fobos.net.nt.domain > freebsd1.net.nt.37820: 3381 NXDomain* 0/1/0 (92)
13:13:39.745308 IP freebsd1.net.nt.ssh > 192.168.15.101.49158: Flags [P.], ack 1, win 8212, length 468
13:13:39.958128 IP 192.168.15.101.49158 > freebsd1.net.nt.ssh: Flags [.], ack 700, win 253, length 0
...
13:13:41.566633 ARP, Request who-has freebsd1.net.nt tell fobos.net.nt, length 46
13:13:41.566656 ARP, Reply freebsd1.net.nt is-at 00:16:4e:00:00:01 (oui Unknown), length 28
13:13:41.739370 IP freebsd1.net.nt.ssh > 192.168.15.101.49158: Flags [P.], ack 1, win 8212, length 628
13:13:41.954724 IP 192.168.15.101.49158 > freebsd1.net.nt.ssh: Flags [.], ack 1780, win 256, length 0
13:13:42.739095 IP freebsd1.net.nt.ssh > 192.168.15.101.49158: Flags [P.], ack 1, win 8212, length 260
13:13:42.953032 IP 192.168.15.101.49158 > freebsd1.net.nt.ssh: Flags [.], ack 2040, win 255, length 0
^C
18 packets captured
21 packets received by filter
0 packets dropped by kernel
12:13:44
#man tcpdump
12:13:44
#man tcpdump
12:13:44
#man tcpdump
12:13:44
#man tcpdump
12:22:46
#trafshow
12:22:46
#trafshow
12:22:46
#trafshow
12:22:46
#trafshow
12:24:45
#man show
12:24:45
#man show
12:24:45
#man show
12:24:45
#man show
12:26:35
#cd /usr/ports/

12:26:35
#cd /usr/ports/

12:26:35
#cd /usr/ports/

12:26:35
#cd /usr/ports/

12:27:00
#make search name=trafshow
Port:   trafshow-5.2.3,1
Path:   /usr/ports/net/trafshow
Info:   Full screen visualization of network traffic
Maint:  alexey@renatasystems.org
B-deps:
R-deps:
WWW:    http://soft.risp.ru/trafshow/index_en.shtml
Port:   trafshow-3.1_6,1
Path:   /usr/ports/net/trafshow3
Info:   Full screen visualization of network traffic (an ancient version)
Maint:  sem@FreeBSD.org
B-deps:
R-deps:
WWW:    http://soft.risp.ru/trafshow/index_en.shtml
12:27:00
#make search name=trafshow
Port:   trafshow-5.2.3,1
Path:   /usr/ports/net/trafshow
Info:   Full screen visualization of network traffic
Maint:  alexey@renatasystems.org
B-deps:
R-deps:
WWW:    http://soft.risp.ru/trafshow/index_en.shtml
Port:   trafshow-3.1_6,1
Path:   /usr/ports/net/trafshow3
Info:   Full screen visualization of network traffic (an ancient version)
Maint:  sem@FreeBSD.org
B-deps:
R-deps:
WWW:    http://soft.risp.ru/trafshow/index_en.shtml
12:27:00
#make search name=trafshow
Port:   trafshow-5.2.3,1
Path:   /usr/ports/net/trafshow
Info:   Full screen visualization of network traffic
Maint:  alexey@renatasystems.org
B-deps:
R-deps:
WWW:    http://soft.risp.ru/trafshow/index_en.shtml
Port:   trafshow-3.1_6,1
Path:   /usr/ports/net/trafshow3
Info:   Full screen visualization of network traffic (an ancient version)
Maint:  sem@FreeBSD.org
B-deps:
R-deps:
WWW:    http://soft.risp.ru/trafshow/index_en.shtml
12:27:00
#make search name=trafshow
Port:   trafshow-5.2.3,1
Path:   /usr/ports/net/trafshow
Info:   Full screen visualization of network traffic
Maint:  alexey@renatasystems.org
B-deps:
R-deps:
WWW:    http://soft.risp.ru/trafshow/index_en.shtml
Port:   trafshow-3.1_6,1
Path:   /usr/ports/net/trafshow3
Info:   Full screen visualization of network traffic (an ancient version)
Maint:  sem@FreeBSD.org
B-deps:
R-deps:
WWW:    http://soft.risp.ru/trafshow/index_en.shtml
12:28:10
#cd /usr/ports/net/traf
traff/     traffic/   trafshow/  trafshow3/
12:28:10
#cd /usr/ports/net/traf
traff/     traffic/   trafshow/  trafshow3/
12:28:10
#cd /usr/ports/net/traf
traff/     traffic/   trafshow/  trafshow3/
12:28:10
#cd /usr/ports/net/traf
traff/     traffic/   trafshow/  trafshow3/

Статистика

Время первой команды журнала12:08:00 2012-12-18
Время последней команды журнала12:28:10 2012-12-18
Количество командных строк в журнале101
Процент команд с ненулевым кодом завершения, %21.78
Процент синтаксически неверно набранных команд, % 3.96
Суммарное время работы с терминалом *, час 0.34
Количество командных строк в единицу времени, команда/мин 5.01
Частота использования команд
netstat46|=============================================| 45.54%
sockstat23|======================| 22.77%
cd8|=======| 7.92%
man8|=======| 7.92%
trafshow4|===| 3.96%
tcpdump4|===| 3.96%
make4|===| 3.96%
mn4|===| 3.96%
____
*) Интервалы неактивности длительностью 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$