/l3/users/sid/nt-voip/linux8.unix.nt.unix.nt/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 |
|
#screen -x
![]() |
#screen -x
![]() |
#screen -x
![]() |
#w
09:50:58 up 0 min, 7 users, load average: 1,47, 0,40, 0,13 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT root pts/0 linux7.unix.nt 09:50 1.00s 0.24s 0.24s script -f -c ba root pts/1 linux9.unix.nt 09:50 17.00s 0.22s 0.22s script -f -c ba root tty1 - 09:50 2.00s 0.24s 0.02s /bin/login -- root pts/4 linux5.unix.nt 09:50 0.00s 0.22s 0.22s script -f -c ba root pts/6 linux6.unix.nt 09:50 2.00s 0.22s 0.22s script -f -c ba root pts/8 192.168.15.253 09:50 2.00s 0.22s 0.22s script -f -c ba root pts/11 192.168.112.2 09:50 1.00s 0.20s 0.00s -bash |
#w
09:50:56 up 0 min, 6 users, load average: 1,47, 0,40, 0,13 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT root pts/0 linux7.unix.nt 09:50 3.00s 0.24s 0.24s script -f -c bash - root pts/1 linux9.unix.nt 09:50 15.00s 0.22s 0.22s script -f -c bash - root tty1 - 09:50 0.00s 0.24s 0.02s /bin/login -- root pts/4 linux5.unix.nt 09:50 13.00s 0.22s 0.22s script -f -c bash - root pts/6 linux6.unix.nt 09:50 0.00s 0.22s 0.22s script -f -c bash - root pts/8 192.168.15.253 09:50 0.00s 0.22s 0.22s script -f -c bash - |
#who
root pts/0 2010-10-29 09:50 (linux7.unix.nt) root pts/1 2010-10-29 09:50 (linux9.unix.nt) root tty1 2010-10-29 09:50 root pts/4 2010-10-29 09:50 (linux5.unix.nt) root pts/6 2010-10-29 09:50 (linux6.unix.nt) root pts/8 2010-10-29 09:50 (192.168.15.253) |
#w
09:50:56 up 0 min, 6 users, load average: 1,47, 0,40, 0,13 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT root pts/0 linux7.unix.nt 09:50 3.00s 0.24s 0.24s script - root pts/1 linux9.unix.nt 09:50 15.00s 0.22s 0.22s script - root tty1 - 09:50 1.00s 0.24s 0.02s /bin/log root pts/4 linux5.unix.nt 09:50 13.00s 0.22s 0.22s script - root pts/6 linux6.unix.nt 09:50 9.00s 0.22s 0.22s script - root pts/8 192.168.15.253 09:50 0.00s 0.22s 0.22s script - |
#who
root pts/0 2010-10-29 09:50 (linux7.unix.nt) root pts/1 2010-10-29 09:50 (linux9.unix.nt) root tty1 2010-10-29 09:50 root pts/4 2010-10-29 09:50 (linux5.unix.nt) root pts/6 2010-10-29 09:50 (linux6.unix.nt) root pts/8 2010-10-29 09:50 (192.168.15.253) root pts/11 2010-10-29 09:50 (192.168.112.2) root pts/13 2010-10-29 09:51 (192.168.111.150) root pts/15 2010-10-29 09:51 (linux1.unix.nt) |
#w
09:51:04 up 1 min, 7 users, load average: 1,55, 0,45, 0,15 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT root pts/0 linux7.unix.nt 09:50 7.00s 0.24s 0.24s script - root pts/1 linux9.unix.nt 09:50 23.00s 0.22s 0.22s script - root tty1 - 09:50 8.00s 0.24s 0.02s /bin/log root pts/4 linux5.unix.nt 09:50 0.00s 0.22s 0.22s script - root pts/6 linux6.unix.nt 09:50 8.00s 0.22s 0.22s script - root pts/8 192.168.15.253 09:50 0.00s 0.22s 0.22s script - root pts/11 192.168.112.2 09:50 3.00s 0.22s 0.22s script - |
#w
09:51:01 up 1 min, 7 users, load average: 1,51, 0,42, 0,14 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT root pts/0 linux7.unix.nt 09:50 4.00s 0.24s 0.24s script -f -c ba root pts/1 linux9.unix.nt 09:50 20.00s 0.22s 0.22s script -f -c ba root tty1 - 09:50 5.00s 0.24s 0.02s /bin/login -- root pts/4 linux5.unix.nt 09:50 0.00s 0.22s 0.22s script -f -c ba root pts/6 linux6.unix.nt 09:50 5.00s 0.22s 0.22s script -f -c ba root pts/8 192.168.15.253 09:50 5.00s 0.22s 0.22s script -f -c ba root pts/11 192.168.112.2 09:50 0.00s 0.22s 0.22s script -f -c ba |
#screen -x
![]() |
#screen -x
![]() |
#who
root pts/0 2010-10-29 09:50 (linux7.unix.nt) root pts/1 2010-10-29 09:50 (linux9.unix.nt) root tty1 2010-10-29 09:50 root pts/4 2010-10-29 09:50 (linux5.unix.nt) root pts/6 2010-10-29 09:50 (linux6.unix.nt) root pts/8 2010-10-29 09:50 (192.168.15.253) root pts/11 2010-10-29 09:50 (192.168.112.2) root pts/13 2010-10-29 09:51 (192.168.111.150) root pts/15 2010-10-29 09:51 (linux1.unix.nt) root pts/16 2010-10-29 09:51 (:pts/10:S.0) root pts/17 2010-10-29 09:51 (linux2.unix.nt) root pts/21 2010-10-29 09:51 (linux10.unix.nt) |
#reen -x
![]() bash: reen: команда не найдена |
#sreen -x
![]() bash: sreen: команда не найдена |
#screen -x
|
#lspci
00:00.0 Host bridge: Intel Corporation 82845G/GL[Brookdale-G]/GE/PE DRAM Controller/Host-Hub Interface (rev 03) 00:02.0 VGA compatible controller: Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 03) 00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 02) 00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 02) 00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 02) 00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 02) 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 82) 00:1f.0 ISA bridge: Intel Corporation 82801DB/DBL (ICH4/ICH4-L) LPC Interface Bridge (rev 02) 00:1f.1 IDE interface: Intel Corporation 82801DB (ICH4) IDE Controller (rev 02) 00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 02) 00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 02) 01:01.0 Ethernet controller: Digium, Inc. Device 8005 (rev 11) 01:08.0 Ethernet controller: Intel Corporation 82801DB PRO/100 VE (LOM) Ethernet Controller (rev 82) |
#find /sys -name \*01:01.0\*
/sys/devices/pci0000:00/0000:00:1e.0/0000:01:01.0 /sys/bus/pci/devices/0000:01:01.0 /sys/bus/pci/drivers/wctdm24xxp/0000:01:01.0 |
#find /sys -name \*01:08.0\*
/sys/devices/pci0000:00/0000:00:1e.0/0000:01:08.0 /sys/bus/pci/devices/0000:01:08.0 /sys/bus/pci/drivers/e100/0000:01:08.0 |
#modinfo e100
filename: /lib/modules/2.6.26-2-686/kernel/drivers/net/e100.ko version: 3.5.23-k4-NAPI license: GPL author: Copyright(c) 1999-2006 Intel Corporation description: Intel(R) PRO/100 Network Driver srcversion: E72DA1EF7023CBE3BB276B2 alias: pci:v00008086d000027DCsv*sd*bc02sc00i* alias: pci:v00008086d0000245Dsv*sd*bc02sc00i* alias: pci:v00008086d00002459sv*sd*bc02sc00i* alias: pci:v00008086d00002449sv*sd*bc02sc00i* ... alias: pci:v00008086d00001033sv*sd*bc02sc00i* alias: pci:v00008086d00001032sv*sd*bc02sc00i* alias: pci:v00008086d00001031sv*sd*bc02sc00i* alias: pci:v00008086d00001030sv*sd*bc02sc00i* alias: pci:v00008086d00001029sv*sd*bc02sc00i* depends: mii vermagic: 2.6.26-2-686 SMP mod_unload modversions 686 parm: debug:Debug level (0=none,...,16=all) (int) parm: eeprom_bad_csum_allow:Allow bad eeprom checksums (int) parm: use_io:Force use of i/o access mode (int) |
#modinfo e100 | head
filename: /lib/modules/2.6.26-2-686/kernel/drivers/net/e100.ko version: 3.5.23-k4-NAPI license: GPL author: Copyright(c) 1999-2006 Intel Corporation description: Intel(R) PRO/100 Network Driver srcversion: E72DA1EF7023CBE3BB276B2 alias: pci:v00008086d000027DCsv*sd*bc02sc00i* alias: pci:v00008086d0000245Dsv*sd*bc02sc00i* alias: pci:v00008086d00002459sv*sd*bc02sc00i* alias: pci:v00008086d00002449sv*sd*bc02sc00i* |
#find /sys -name \*01:01.0\*
/sys/devices/pci0000:00/0000:00:1e.0/0000:01:01.0 /sys/bus/pci/devices/0000:01:01.0 /sys/bus/pci/drivers/wctdm24xxp/0000:01:01.0 |
#lspci
00:00.0 Host bridge: Intel Corporation 82Q35 Express DRAM Controller (rev 02) 00:02.0 VGA compatible controller: Intel Corporation 82Q35 Express Integrated Graphics Controller (rev 02) 00:03.0 Communication controller: Intel Corporation 82Q35 Express MEI Controller (rev 02) 00:03.2 IDE interface: Intel Corporation 82Q35 Express PT IDER Controller (rev 02) 00:03.3 Serial controller: Intel Corporation 82Q35 Express Serial KT Controller (rev 02) 00:19.0 Ethernet controller: Intel Corporation 82566DM-2 Gigabit Network Connection (rev 02) 00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 02) 00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 02) 00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 02) 00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 02) ... 00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 02) 00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 02) 00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 02) 00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 02) 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92) 00:1f.0 ISA bridge: Intel Corporation 82801IO (ICH9DO) LPC Interface Controller (rev 02) 00:1f.2 IDE interface: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 4 port SATA IDE Controller (rev 02) 00:1f.5 IDE interface: Intel Corporation 82801I (ICH9 Family) 2 port SATA IDE Controller (rev 02) 30:00.0 PCI bridge: Texas Instruments XIO2000(A)/XIO2200(A) PCI Express-to-PCI Bridge (rev 03) 31:08.0 Ethernet controller: Digium, Inc. Device 8000 (rev 11) |
#exit
exit Connection to linux3 closed. |
#lspci
00:00.0 Host bridge: Intel Corporation 82945G/GZ/P/PL Memory Controller Hub (rev 02) 00:02.0 VGA compatible controller: Intel Corporation 82945G/GZ Integrated Graphics Controller (rev 02) 00:02.1 Display controller: Intel Corporation 82945G/GZ Integrated Graphics Controller (rev 02) 00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01) 00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01) 00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 01) 00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 01) 00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 01) 00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01) 00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 01) 00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 01) 00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 01) 00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01) 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1) 00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01) 00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01) 00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7 Family) SATA IDE Controller (rev 01) 00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01) 01:04.0 Mass storage controller: Integrated Technology Express, Inc. ITE 8211F Single Channel UDMA 133 (rev 11) 01:09.0 Bridge: PLX Technology, Inc. Device d00d (rev 01) 04:00.0 Ethernet controller: Intel Corporation 82573V Gigabit Ethernet Controller (Copper) (rev 03) |
#find /sys -name \*01:09.0\*
/sys/devices/pci0000:00/0000:00:1e.0/0000:01:09.0 /sys/bus/pci/devices/0000:01:09.0 /sys/bus/pci/drivers/tormenta2/0000:01:09.0 |
#ssh linux2
The authenticity of host 'linux2 (192.168.102.1)' can't be established. RSA key fingerprint is c8:2b:f3:4b:17:1e:37:10:85:d8:b5:0a:e2:ed:94:4a. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'linux2' (RSA) to the list of known hosts. Linux linux2.unix.nt 2.6.26-2-686 #1 SMP Thu Sep 16 19:35:51 UTC 2010 i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Mon Oct 25 14:27:09 2010 l3-agent is already running: pid=2985; pidfile=/root/.lilalo/l3-agent.pid |
#modinfo tormenta2
![]() modinfo: could not find module tormenta2 |
#lsmod | grep tor
tor2 85476 0 zaptel 185060 3 tor2 |
#modinfo tor2
filename: /lib/modules/2.6.26-2-686/misc/tor2.ko license: GPL description: Tormenta 2 PCI Quad T1 or E1 Zaptel Driver author: Mark Spencer alias: pci:v000010B5d00004000sv*sd*bc*sc*i* alias: pci:v000010B5d0000D00Dsv*sd*bc*sc*i* alias: pci:v000010B5d00003001sv*sd*bc*sc*i* alias: pci:v000010B5d00009030sv*sd*bc*sc*i* depends: zaptel vermagic: 2.6.26-2-686 SMP mod_unload modversions 686 parm: debug:int parm: loopback:int parm: timingcable:int parm: japan:int |
#exit
exit Connection to linux2 closed. |
#zt
![]() ztcfg ztmonitor ztscan zttest ztdiag zt_registration ztspeed zttool |
#zap
![]() zapconf zaptel_hardware |
#zaptel_hardware
pci:0000:01:01.0 wctdm24xxp+ d161:8005 Wildcard TDM410P |
#zaptel_hardware -h
![]() Unknown option: h Usage: /usr/sbin/zaptel_hardware [-v][-x] |
#zaptel_hardware -v
pci:0000:01:01.0 wctdm24xxp+ d161:8005 Wildcard TDM410P |
#zaptel_hardware -x
pci:0000:01:01.0 wctdm24xxp+ d161:8005 Wildcard TDM410P |
#man zaptel_hardware
|
#~
![]() zapconf zaptel_hardware |
#zap
![]() zapconf zaptel_hardware |
#zapconf
|
#vi /etc/zaptel.conf
|
#zapconf --help
![]() /usr/sbin/zapconf: Unknown file '--help' at /usr/sbin/zapconf line 550. |
#zapconf
|
#ssh linux3
Linux linux3.unix.nt 2.6.26-2-686 #1 SMP Thu Sep 16 19:35:51 UTC 2010 i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Fri Oct 29 09:56:35 2010 from linux8.unix.nt l3-agent is already running: pid=3343; pidfile=/root/.lilalo/l3-agent.pid |
#cat /etc/zaptel.conf
# Autogenerated by /usr/sbin/zapconf on Fri Oct 29 10:01:19 2010 -- do not hand edit # Zaptel Configuration File # # This file is parsed by the Zaptel Configurator, ztcfg # # Span 1: WCT1/0 "Wildcard TE121 Card 0" (MASTER) span=1,1,0,ccs,hdb3,crc4 # termtype: te bchan=1-15,17-31 dchan=16 # Global data loadzone = us defaultzone = us |
#ztscan
[1] active=yes alarms=UNCONFIGURED description=Wildcard TE121 Card 0 name=WCT1/0 manufacturer=Digium devicetype=Wildcard TE121 location=PCI Bus 49 Slot 09 basechan=1 totchans=31 irq=17 type=digital-E1 syncsrc=0 lbo=0 db (CSU)/0-133 feet (DSX-1) coding_opts=HDB3 framing_opts=CCS,CRC4 coding= framing= |
#ztcfg -vvv
Zaptel Version: 1.4.11 Echo Canceller: MG2 Configuration ====================== SPAN 1: CCS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1) Channel map: Channel 01: Clear channel (Default) (Slaves: 01) Channel 02: Clear channel (Default) (Slaves: 02) Channel 03: Clear channel (Default) (Slaves: 03) Channel 04: Clear channel (Default) (Slaves: 04) ... Changing signalling on channel 22 from Unused to Clear channel Changing signalling on channel 23 from Unused to Clear channel Changing signalling on channel 24 from Unused to Clear channel Changing signalling on channel 25 from Unused to Clear channel Changing signalling on channel 26 from Unused to Clear channel Changing signalling on channel 27 from Unused to Clear channel Changing signalling on channel 28 from Unused to Clear channel Changing signalling on channel 29 from Unused to Clear channel Changing signalling on channel 30 from Unused to Clear channel Changing signalling on channel 31 from Unused to Clear channel |
#ztcfg -vvvgedit
![]() ztcfg: invalid option -- g Usage: ztcfg [options] Valid options are: -c <filename> -- Use <filename> instead of /etc/zaptel.conf -d [level] -- Generate debugging output. (Default level is 1.) -f -- Always reconfigure every channel -h -- Generate this help statement -s[span] -- Deactivate/shutdown span [span]. Deactivates all spans if no [span] is given. -a[span] -- Activate/start span [span]. Activates all spans if no [span] is given. -t -- Test mode only, do not apply -v -- Verbose (more -v's means more verbose) |
#dmesg | less
|
#ssh linux2
Linux linux2.unix.nt 2.6.26-2-686 #1 SMP Thu Sep 16 19:35:51 UTC 2010 i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Fri Oct 29 10:17:14 2010 l3-agent is already running: pid=2909; pidfile=/root/.lilalo/l3-agent.pid |
#vi /etc/zaptel.conf
|
#zap
![]() zapconf zaptel_hardware |
#which zapconf
/usr/sbin/zapconf |
#less `!!`
|
#screen -x
|
#ztscan
[1] active=yes alarms=BLU/RED description=Tormenta 2 (PCI) Quad E1 Card 0 Span 1 name=Tor2/0/1 manufacturer=Digium devicetype=Tormenta 2 Quad T1/PRI or E1/PRA location=PCI Bus 01 Slot 10 basechan=1 totchans=31 ... basechan=94 totchans=31 irq=0 type=digital-E1 syncsrc=0 lbo=0 db (CSU)/0-133 feet (DSX-1) coding_opts=HDB3 framing_opts=CCS,CRC4 coding=HDB3 framing=CCS |
#ztscan | less
|
#zt
![]() ztcfg ztmonitor ztscan zttest ztdiag zt_registration ztspeed zttool |
#dmesg | less
|
#exit
exit Connection to linux2 closed. |
#dmesg | less
|
#ssh linux1
The authenticity of host 'linux1 (192.168.101.1)' can't be established. RSA key fingerprint is ee:eb:fa:79:c7:9e:0d:ae:d6:2f:fe:13:76:6f:21:ea. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'linux1' (RSA) to the list of known hosts. Linux linux1.unix.nt 2.6.26-2-686 #1 SMP Thu Sep 16 19:35:51 UTC 2010 i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Thu Oct 28 08:44:26 2010 from linux2.unix.nt |
#dmesg | less
|
#exit
exit Connection to linux1 closed. |
#zt
![]() ztcfg ztmonitor ztscan zttest ztdiag zt_registration ztspeed zttool |
#zttool
ââ â âââ ââ â âââ âââââââ â â ââââââ â ââââââââââââââââââââââââââââââââââââââââââââââââ ââââââââââââââââââââââââââââââââââââââââ Wildcard TDM410P Board 1 F Span 1: 4 total channels, 4 configured F1=Details |
#zt
![]() ztcfg ztmonitor ztscan zttest ztdiag zt_registration ztspeed zttool |
#zttest
Opened pseudo zap interface, measuring accuracy... 99.994438% 99.986038% 99.992577% 99.994339% 99.992676% 99.994835% 99.992661% 99.991989% ^C --- Results after 8 passes --- Best: 99.995 -- Worst: 99.986 -- Average: 99.992444, Difference: 99.992444 |
#ztdiag
![]() Usage: ztdiag <channel> |
# Autogenerated by /usr/sbin/zapconf on Fri Oct 29 10:01:19 2010 -- do not hand edit # Zaptel Configuration File # # This file is parsed by the Zaptel Configurator, ztcfg # # Span 1: WCT1/0 "Wildcard TE121 Card 0" (MASTER) span=1,1,0,ccs,hdb3,crc4 # termtype: te bchan=1-15,17-31 dchan=16 # Global data loadzone = us defaultzone = us
Время первой команды журнала | 08:50:41 2010-10-29 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 09:28:02 2010-10-29 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 17.82 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 7.92 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 0.62 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 2.70 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.
Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
$ l s-l bash: l: command not found |
Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
$ test 5 -lt 4 |
Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
$ find / -name abc find: /home/devi-orig/.gnome2: Keine Berechtigung find: /home/devi-orig/.gnome2_private: Keine Berechtigung find: /home/devi-orig/.nautilus/metafiles: Keine Berechtigung find: /home/devi-orig/.metacity: Keine Berechtigung find: /home/devi-orig/.inkscape: Keine Berechtigung ^C |
Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
# id uid=0(root) gid=0(root) Gruppen=0(root) |
Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
$ vi ~/.bashrc
|
Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
$ patch ~/.bashrc |
Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.
Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.
Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.
Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора
Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.
Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.
Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:
$ whoami
user
$ #^ Интересно, кто я?в журнале это будет выглядеть так:
$ whoami
user
Интересно, кто я? |
Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:
$ whoami
user
$ cat > /dev/null #^ Интересно, кто я?
Программа whoami выводит имя пользователя, под которым мы зарегистрировались в системе. - Она не может ответить на вопрос о нашем назначении в этом мире.В журнале это будет выглядеть так:
$ whoami user
|
Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=
1 2 3 4Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.
LiLaLo (L3) расшифровывается как Live Lab Log.
Программа разработана для повышения эффективности обучения Unix/Linux-системам.
(c) Игорь Чубин, 2004-2008