/l3/users/vadik/nt-voip/linux1.unix.nt/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 :13 :14 :15 :16 :17 :18 :19 :20 |
|
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 5209) Verbosity is at least 1 linux1*CLI> queue ... linux1*CLI> voicemail show users Context Mbox User Zone NewMsg default general New User 0 default 1101 User User 0 default 1102 User User 3 other 1234 Company2 User 0 4 voicemail users configured. linux1*CLI> Disconnected from Asterisk server Executing last minute cleanups |
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 5209) Verbosity is at least 1 linux1*CLI> queue ... linux1*CLI> voicemail show users Context Mbox User Zone NewMsg default general New User 0 default 1101 User User 0 default 1102 User User 3 other 1234 Company2 User 0 4 voicemail users configured. linux1*CLI> Disconnected from Asterisk server Executing last minute cleanups |
#vi queues.conf
|
#vi queues.conf
--- /tmp/l3-saved-2090.3253.31345 2011-10-19 14:42:18.000000000 +0300 +++ queues.conf 2011-10-19 14:43:27.000000000 +0300 @@ -500,6 +500,6 @@ [queue1] -strategy=ringall +strategy=rrmemory member => SIP/1101 member => SIP/1102 |
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 5209) Verbosity is at least 1 linux1*CLI> ... unistim voicemail linux1*CLI> queue add pause reload remove reset set show unpause show linux1*CLI> queue re reload remove reset linux1*CLI> queue reload all [Oct 19 14:43:36] NOTICE[5374]: app_queue.c:5650 reload_queue_rules: queuerules.conf has not changed since it was last loaded. Not taking any action. linux1*CLI> Disconnected from Asterisk server Executing last minute cleanups |
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 5209) Verbosity is at least 1 linux1*CLI> ... unistim voicemail linux1*CLI> queue add pause reload remove reset set show unpause show linux1*CLI> queue re reload remove reset linux1*CLI> queue reload all [Oct 19 14:43:36] NOTICE[5374]: app_queue.c:5650 reload_queue_rules: queuerules.conf has not changed since it was last loaded. Not taking any action. linux1*CLI> Disconnected from Asterisk server Executing last minute cleanups |
#vi sip.conf
|
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 5209) Verbosity is at least 1 linux1*CLI> d dahdi database devstate dialplan dnsmgr dundi linux1*CLI> dialplan reload Dialplan reloaded. [Oct 19 14:46:01] NOTICE[5425]: channel.c:3066 __ast_read: Dropping incompatible voice frame on SIP/1101-0000001b of format ulaw since our native format has changed to 0x2 (gsm) [Oct 19 14:46:11] NOTICE[5428]: channel.c:3066 __ast_read: Dropping incompatible voice frame on SIP/1101-0000001f of format ulaw since our native format has changed to 0x2 (gsm) [Oct 19 14:46:22] NOTICE[5429]: channel.c:3066 __ast_read: Dropping incompatible voice frame on SIP/1101-00000022 of format ulaw since our native format has changed to 0x2 (gsm) [Oct 19 14:46:30] NOTICE[5430]: channel.c:3066 __ast_read: Dropping incompatible voice frame on SIP/1101-00000024 of format ulaw since our native format has changed to 0x2 (gsm) linux1*CLI> ^C Disconnected from Asterisk server Executing last minute cleanups |
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 5209) Verbosity is at least 1 linux1*CLI> d dahdi database devstate dialplan dnsmgr dundi linux1*CLI> dialplan reload Dialplan reloaded. [Oct 19 14:46:01] NOTICE[5425]: channel.c:3066 __ast_read: Dropping incompatible voice frame on SIP/1101-0000001b of format ulaw since our native format has changed to 0x2 (gsm) [Oct 19 14:46:11] NOTICE[5428]: channel.c:3066 __ast_read: Dropping incompatible voice frame on SIP/1101-0000001f of format ulaw since our native format has changed to 0x2 (gsm) [Oct 19 14:46:22] NOTICE[5429]: channel.c:3066 __ast_read: Dropping incompatible voice frame on SIP/1101-00000022 of format ulaw since our native format has changed to 0x2 (gsm) [Oct 19 14:46:30] NOTICE[5430]: channel.c:3066 __ast_read: Dropping incompatible voice frame on SIP/1101-00000024 of format ulaw since our native format has changed to 0x2 (gsm) linux1*CLI> ^C Disconnected from Asterisk server Executing last minute cleanups |
#vi queues.conf
--- /tmp/l3-saved-2090.10497.8183 2011-10-19 14:51:46.000000000 +0300 +++ queues.conf 2011-10-19 14:52:21.000000000 +0300 @@ -501,5 +501,8 @@ [queue1] strategy=rrmemory -member => SIP/1101 -member => SIP/1102 +;member => SIP/1101 +;member => SIP/1102 + +member => Agent/1 +member => Agent/2 |
#vi agents.conf
--- /tmp/l3-saved-2090.18651.10571 2011-10-19 14:52:30.000000000 +0300 +++ agents.conf 2011-10-19 14:52:52.000000000 +0300 @@ -111,3 +111,6 @@ ; ;agent => 1001,4321,Mark Spencer ;agent => 1002,4321,Will Meadows + +agent => 1,1234,Agent 1 +agent => 2,1234,Agent 2 |
#/etc/init.d/asterisk restart
Stopping Asterisk PBX: asterisk. Starting Asterisk PBX: asterisk. |
#/etc/init.d/asterisk restart
Stopping Asterisk PBX: asterisk. Starting Asterisk PBX: asterisk. |
#ммvi features.conf
;parkedcallrecording = caller ; Enables or disables DTMF based one-touch recording when picking up a parked call. ; one of: callee, caller, both, no (default is no) ;adsipark = yes ; if you want ADSI parking announcements re bridged together. ; Note that the DTMF features listed below only work when two channels have answered and aa is feature you can use while the remote party is ringing or in progress. If you require thh ; chan_local in combination with Answer to accomplish it. [ ] blindxfer => #1 ; Blind transfer (default is #) -- Make sure to set the T and/or t option in the Dial() or Queue() app call! /or h option in the Dial() or Queue() app call!default is *) -- Make sure to set the H andd t the W and/or w option in the Dial() or Queue() app call!Touch Monitor -- Make sure to see atxfer => *2 pp tion in the Dial() or Queue() app call!ed transfer -- Make sure to set the T and/or t opp option in the Dial() app call!call (one step parking) -- Make sure to set the K and/or kk set the X and/or x option in the Dial() or Queue() app call!ch MixMonitor -- Make sure too "features.conf" 148L, 8935C записано |
#ммvi features.conf
re bridged together. ; Note that the DTMF features listed below only work when two channels have answered and aa is feature you can use while the remote party is ringing or in progress. If you require thh ; chan_local in combination with Answer to accomplish it. [ ] blindxfer => #1 ; Blind transfer (default is #) -- Make sure to set the T and/or t option in the Dial() or Queue() app call! /or h option in the Dial() or Queue() app call!default is *) -- Make sure to set the H andd t the W and/or w option in the Dial() or Queue() app call!Touch Monitor -- Make sure to see atxfer => *2 pp tion in the Dial() or Queue() app call!ed transfer -- Make sure to set the T and/or t opp option in the Dial() app call!call (one step parking) -- Make sure to set the K and/or kk set the X and/or x option in the Dial() or Queue() app call!ch MixMonitor -- Make sure too "features.conf" 148L, 8935C записано |
#vi extensions.conf
--- /tmp/l3-saved-2090.17132.6501 2011-10-19 15:13:13.000000000 +0300 +++ extensions.conf 2011-10-19 15:14:25.000000000 +0300 @@ -5,7 +5,7 @@ exten => s,n,Monitor(wav,${CALLFILENAME},m) exten => s,n,GotoIf($[ "${CALLERID(num):0:2}" != "11" ]?dial) exten => s,n,SetMusicOnHold(class2) -exten => s,n(dial),Dial(${ARG1},10) +exten => s,n(dial),Dial(${ARG1},10,tT) [local] exten => _110X,1,Answer |
#/etc/init.d/asterisk restart
Stopping Asterisk PBX: asterisk. Starting Asterisk PBX: asterisk. |
#/etc/init.d/asterisk restart
Stopping Asterisk PBX: asterisk. Starting Asterisk PBX: asterisk. |
#vi features.conf
--- /tmp/l3-saved-2090.17068.13816 2011-10-19 16:01:37.000000000 +0300 +++ features.conf 2011-10-19 16:02:08.000000000 +0300 @@ -63,7 +63,7 @@ ;automon => *1 ; One Touch Record a.k.a. Touch Monitor -- Make sure to set the W and/or w option in the Dial() or Queue() app call! atxfer => *2 ; Attended transfer -- Make sure to set the T and/or t option in the Dial() or Queue() app call! ;parkcall => #72 ; Park call (one step parking) -- Make sure to set the K and/or k option in the Dial() app call! -;automixmon => *3 ; One Touch Record a.k.a. Touch MixMonitor -- Make sure to set the X and/or x option in the Dial() or Queue() app call! +automixmon => *3 ; One Touch Record a.k.a. Touch MixMonitor -- Make sure to set the X and/or x option in the Dial() or Queue() app call! [applicationmap] ; Note that the DYNAMIC_FEATURES channel variable must be set to use the features |
#; will have access to these features.)
"sip.conf" 58L, 742C register => kv:1234@192.168.20.1/lv register => kv:1234@192.168.50.1/tbs register => kv:1234@192.168.70.1/msk [1101] type=friend secret=1234 host=dynamic callerid="Kiev" context=gr3 |
#; will have access to these features.)
"sip.conf" 58L, 742C register => kv:1234@192.168.20.1/lv register => kv:1234@192.168.50.1/tbs register => kv:1234@192.168.70.1/msk [1101] type=friend secret=1234 host=dynamic callerid="Kiev" context=gr3 |
#mailbox=1101@default
enum.conf extensions.conf extensions.lua extconfig.conf extensions.conf0 extensions_minivm.conf extensions.ael extensions.conf.20111019 |
#mailbox=1101@default
enum.conf extensions.conf extensions.lua extconfig.conf extensions.conf0 extensions_minivm.conf extensions.ael extensions.conf.20111019 |
#vi extensions.conf
--- /tmp/l3-saved-2090.11138.32076 2011-10-19 16:02:37.000000000 +0300 +++ extensions.conf 2011-10-19 16:09:11.000000000 +0300 @@ -5,7 +5,7 @@ exten => s,n,Monitor(wav,${CALLFILENAME},m) exten => s,n,GotoIf($[ "${CALLERID(num):0:2}" != "11" ]?dial) exten => s,n,SetMusicOnHold(class2) -exten => s,n(dial),Dial(${ARG1},10,tT) +exten => s,n(dial),Dial(${ARG1},10,tTxX) [local] exten => _110X,1,Answer |
#apt-cache search dahdi source
dahdi-source - DAHDI telephony interface - source code for kernel driver |
#apt-cache search dahdi source
dahdi-source - DAHDI telephony interface - source code for kernel driver |
#apt-get install dahdi-source
Чтение списков пакетов... Готово Построение дерева зависимостей Чтение информации о состоянии... Готово Следующие пакеты устанавливались автоматически и больше не требуются: mysql-common libmysqlclient16 Для их удаления используйте 'apt-get autoremove'. НОВЫЕ пакеты, которые будут установлены: dahdi-source обновлено 0, установлено 1 новых пакетов, для удаления отмечено 0 пакетов, и 1 пакетов не обновлено. Необходимо скачать 912 kБ архивов. После данной операции, объём занятого дискового пространства возрастёт на 1 044 kB. Получено:1 http://10.0.35.1/debian/ squeeze/main dahdi-source all 1:2.3.0.1+dfsg-2 [912 kB] Получено 912 kБ за 0с (9 046 kБ/c) Выбор ранее не выбранного пакета dahdi-source. (Чтение базы данных ... на данный момент установлен 115931 файл и каталог.) Распаковывается пакет dahdi-source (из файла .../dahdi-source_1%3a2.3.0.1+dfsg-2_all.deb)... Настраивается пакет dahdi-source (1:2.3.0.1+dfsg-2) ... |
#apt-get install dahdi-source
Чтение списков пакетов... Готово Построение дерева зависимостей Чтение информации о состоянии... Готово Следующие пакеты устанавливались автоматически и больше не требуются: mysql-common libmysqlclient16 Для их удаления используйте 'apt-get autoremove'. НОВЫЕ пакеты, которые будут установлены: dahdi-source обновлено 0, установлено 1 новых пакетов, для удаления отмечено 0 пакетов, и 1 пакетов не обновлено. Необходимо скачать 912 kБ архивов. После данной операции, объём занятого дискового пространства возрастёт на 1 044 kB. Получено:1 http://10.0.35.1/debian/ squeeze/main dahdi-source all 1:2.3.0.1+dfsg-2 [912 kB] Получено 912 kБ за 0с (9 046 kБ/c) Выбор ранее не выбранного пакета dahdi-source. (Чтение базы данных ... на данный момент установлен 115931 файл и каталог.) Распаковывается пакет dahdi-source (из файла .../dahdi-source_1%3a2.3.0.1+dfsg-2_all.deb)... Настраивается пакет dahdi-source (1:2.3.0.1+dfsg-2) ... |
#lsmod
Module Size Used by rfcomm 31961 0 bridge 59217 0 stp 12368 1 bridge bnep 17147 2 bluetooth 92361 10 rfcomm,bnep crc16 12327 1 bluetooth acpi_cpufreq 12737 1 mperf 12387 1 acpi_cpufreq cpufreq_userspace 12520 0 ... sd_mod 35060 3 cdrom 34631 1 sr_mod crc_t10dif 12332 1 sd_mod ahci 20897 2 libahci 22200 1 ahci ehci_hcd 34885 0 libata 132100 2 ahci,libahci scsi_mod 134453 4 sg,sr_mod,sd_mod,libata usbcore 99225 3 usbhid,ehci_hcd e1000e 112794 0 |
#lsmod
Module Size Used by rfcomm 31961 0 bridge 59217 0 stp 12368 1 bridge bnep 17147 2 bluetooth 92361 10 rfcomm,bnep crc16 12327 1 bluetooth acpi_cpufreq 12737 1 mperf 12387 1 acpi_cpufreq cpufreq_userspace 12520 0 ... sd_mod 35060 3 cdrom 34631 1 sr_mod crc_t10dif 12332 1 sd_mod ahci 20897 2 libahci 22200 1 ahci ehci_hcd 34885 0 libata 132100 2 ahci,libahci scsi_mod 134453 4 sg,sr_mod,sd_mod,libata usbcore 99225 3 usbhid,ehci_hcd e1000e 112794 0 |
#apt-cache search kernel source
acerhk-source - Source for the acerhk driver aufs-tools-dbg - Tools to manage aufs filesystems (debug) aufs-tools - Tools to manage aufs filesystems batman-adv-dkms - DKMS Source for the batman-advanced kernel module batman-adv-source - Source for the batman-advanced kernel module btscanner - ncurses-based scanner for Bluetooth devices busybox-syslogd - Provides syslogd and klogd using busybox cloop-src - Source of the compressed loopback device module libcomedi0 - Library for Comedi crash - kernel debugging utility, allowing gdb like syntax ... umview-mod-viewfs - View-OS in user space - Filesystem mangling modules umview - View-OS in user space - Core and base modules usbip-source - USB device sharing system over IP network (kernel module source) vpb-driver-source - Voicetronix telephony hardware driver source vtun - virtual tunnel over TCP/IP networks linux-patch-xenomai - Linux kernel patches for Xenomai xtables-addons-common - Extensions targets and matches for iptables [tools, libs] xtables-addons-source - Extensions targets and matches for iptables [modules sources] comedi-source - исходные тексты модуля Comedi (для ядра) erlang-base - функциональный язык Erlang/OTP (виртуальная машина и базовые программы) |
#apt-cache search kernel source
acerhk-source - Source for the acerhk driver aufs-tools-dbg - Tools to manage aufs filesystems (debug) aufs-tools - Tools to manage aufs filesystems batman-adv-dkms - DKMS Source for the batman-advanced kernel module batman-adv-source - Source for the batman-advanced kernel module btscanner - ncurses-based scanner for Bluetooth devices busybox-syslogd - Provides syslogd and klogd using busybox cloop-src - Source of the compressed loopback device module libcomedi0 - Library for Comedi crash - kernel debugging utility, allowing gdb like syntax ... umview-mod-viewfs - View-OS in user space - Filesystem mangling modules umview - View-OS in user space - Core and base modules usbip-source - USB device sharing system over IP network (kernel module source) vpb-driver-source - Voicetronix telephony hardware driver source vtun - virtual tunnel over TCP/IP networks linux-patch-xenomai - Linux kernel patches for Xenomai xtables-addons-common - Extensions targets and matches for iptables [tools, libs] xtables-addons-source - Extensions targets and matches for iptables [modules sources] comedi-source - исходные тексты модуля Comedi (для ядра) erlang-base - функциональный язык Erlang/OTP (виртуальная машина и базовые программы) |
#apt-cache search kernel source
acerhk-source - Source for the acerhk driver aufs-tools-dbg - Tools to manage aufs filesystems (debug) aufs-tools - Tools to manage aufs filesystems batman-adv-dkms - DKMS Source for the batman-advanced kernel module batman-adv-source - Source for the batman-advanced kernel module btscanner - ncurses-based scanner for Bluetooth devices busybox-syslogd - Provides syslogd and klogd using busybox cloop-src - Source of the compressed loopback device module libcomedi0 - Library for Comedi crash - kernel debugging utility, allowing gdb like syntax ... umview-mod-viewfs - View-OS in user space - Filesystem mangling modules umview - View-OS in user space - Core and base modules usbip-source - USB device sharing system over IP network (kernel module source) vpb-driver-source - Voicetronix telephony hardware driver source vtun - virtual tunnel over TCP/IP networks linux-patch-xenomai - Linux kernel patches for Xenomai xtables-addons-common - Extensions targets and matches for iptables [tools, libs] xtables-addons-source - Extensions targets and matches for iptables [modules sources] comedi-source - исходные тексты модуля Comedi (для ядра) erlang-base - функциональный язык Erlang/OTP (виртуальная машина и базовые программы) |
#apt-cache search kernel source
acerhk-source - Source for the acerhk driver aufs-tools-dbg - Tools to manage aufs filesystems (debug) aufs-tools - Tools to manage aufs filesystems batman-adv-dkms - DKMS Source for the batman-advanced kernel module batman-adv-source - Source for the batman-advanced kernel module btscanner - ncurses-based scanner for Bluetooth devices busybox-syslogd - Provides syslogd and klogd using busybox cloop-src - Source of the compressed loopback device module libcomedi0 - Library for Comedi crash - kernel debugging utility, allowing gdb like syntax ... umview-mod-viewfs - View-OS in user space - Filesystem mangling modules umview - View-OS in user space - Core and base modules usbip-source - USB device sharing system over IP network (kernel module source) vpb-driver-source - Voicetronix telephony hardware driver source vtun - virtual tunnel over TCP/IP networks linux-patch-xenomai - Linux kernel patches for Xenomai xtables-addons-common - Extensions targets and matches for iptables [tools, libs] xtables-addons-source - Extensions targets and matches for iptables [modules sources] comedi-source - исходные тексты модуля Comedi (для ядра) erlang-base - функциональный язык Erlang/OTP (виртуальная машина и базовые программы) |
#uname -a
Linux linux1 2.6.39-bpo.2-686-pae #1 SMP Thu Aug 4 11:02:22 UTC 2011 i686 GNU/Linux |
#uname -a
Linux linux1 2.6.39-bpo.2-686-pae #1 SMP Thu Aug 4 11:02:22 UTC 2011 i686 GNU/Linux |
#apt-get update
В кэше http://10.0.35.1 squeeze Release.gpg Игн http://10.0.35.1/debian/ squeeze/main Translation-en В кэше http://security.debian.org squeeze/updates Release.gpg Игн http://security.debian.org/ squeeze/updates/contrib Translation-en Игн http://security.debian.org/ squeeze/updates/contrib Translation-ru Игн http://security.debian.org/ squeeze/updates/main Translation-en Игн http://security.debian.org/ squeeze/updates/main Translation-ru Игн http://security.debian.org/ squeeze/updates/non-free Translation-en Игн http://security.debian.org/ squeeze/updates/non-free Translation-ru В кэше http://security.debian.org squeeze/updates Release ... В кэше http://10.0.35.1 squeeze-updates/contrib Sources В кэше http://10.0.35.1 squeeze-updates/non-free Sources Игн http://10.0.35.1 squeeze-updates/main i386 Packages В кэше http://10.0.35.1 squeeze-updates/contrib i386 Packages В кэше http://10.0.35.1 squeeze-updates/non-free i386 Packages В кэше http://10.0.35.1 squeeze-updates/main Sources В кэше http://10.0.35.1 squeeze-updates/main i386 Packages Получено:5 http://backports.debian.org squeeze-backports/main i386 Packages [289 kB] Получено 481 kБ за 11с (42,3 kБ/c) Чтение списков пакетов... Готово |
#apt-get update
В кэше http://10.0.35.1 squeeze Release.gpg Игн http://10.0.35.1/debian/ squeeze/main Translation-en В кэше http://security.debian.org squeeze/updates Release.gpg Игн http://security.debian.org/ squeeze/updates/contrib Translation-en Игн http://security.debian.org/ squeeze/updates/contrib Translation-ru Игн http://security.debian.org/ squeeze/updates/main Translation-en Игн http://security.debian.org/ squeeze/updates/main Translation-ru Игн http://security.debian.org/ squeeze/updates/non-free Translation-en Игн http://security.debian.org/ squeeze/updates/non-free Translation-ru В кэше http://security.debian.org squeeze/updates Release ... В кэше http://10.0.35.1 squeeze-updates/contrib Sources В кэше http://10.0.35.1 squeeze-updates/non-free Sources Игн http://10.0.35.1 squeeze-updates/main i386 Packages В кэше http://10.0.35.1 squeeze-updates/contrib i386 Packages В кэше http://10.0.35.1 squeeze-updates/non-free i386 Packages В кэше http://10.0.35.1 squeeze-updates/main Sources В кэше http://10.0.35.1 squeeze-updates/main i386 Packages Получено:5 http://backports.debian.org squeeze-backports/main i386 Packages [289 kB] Получено 481 kБ за 11с (42,3 kБ/c) Чтение списков пакетов... Готово |
#apt-cache search kernel source
acerhk-source - Source for the acerhk driver aufs-tools-dbg - Tools to manage aufs filesystems (debug) aufs-tools - Tools to manage aufs filesystems batman-adv-dkms - DKMS Source for the batman-advanced kernel module batman-adv-source - Source for the batman-advanced kernel module btscanner - ncurses-based scanner for Bluetooth devices busybox-syslogd - Provides syslogd and klogd using busybox cloop-src - Source of the compressed loopback device module libcomedi0 - Library for Comedi crash - kernel debugging utility, allowing gdb like syntax ... kfreebsd-source-8.2 - source code for kernel of FreeBSD 8.2 with Debian patches linux-patch-debian-2.6.38 - Debian patches to version 2.6.38 of the Linux kernel linux-patch-debian-2.6.39 - Debian patches to version 2.6.39 of the Linux kernel linux-source-2.6.38 - Linux kernel source for version 2.6.38 with Debian patches linux-source-2.6.39 - Linux kernel source for version 2.6.39 with Debian patches virtualbox-dkms - x86 virtualization solution - kernel module sources for dkms virtualbox-guest-dkms - x86 virtualization solution - guest addition module source for dkms virtualbox-guest-source - x86 virtualization solution - guest addition module source virtualbox-source - x86 virtualization solution - kernel module source virtualbox - x86 virtualization solution - base binaries |
#apt-cache search kernel source
acerhk-source - Source for the acerhk driver aufs-tools-dbg - Tools to manage aufs filesystems (debug) aufs-tools - Tools to manage aufs filesystems batman-adv-dkms - DKMS Source for the batman-advanced kernel module batman-adv-source - Source for the batman-advanced kernel module btscanner - ncurses-based scanner for Bluetooth devices busybox-syslogd - Provides syslogd and klogd using busybox cloop-src - Source of the compressed loopback device module libcomedi0 - Library for Comedi crash - kernel debugging utility, allowing gdb like syntax ... kfreebsd-source-8.2 - source code for kernel of FreeBSD 8.2 with Debian patches linux-patch-debian-2.6.38 - Debian patches to version 2.6.38 of the Linux kernel linux-patch-debian-2.6.39 - Debian patches to version 2.6.39 of the Linux kernel linux-source-2.6.38 - Linux kernel source for version 2.6.38 with Debian patches linux-source-2.6.39 - Linux kernel source for version 2.6.39 with Debian patches virtualbox-dkms - x86 virtualization solution - kernel module sources for dkms virtualbox-guest-dkms - x86 virtualization solution - guest addition module source for dkms virtualbox-guest-source - x86 virtualization solution - guest addition module source virtualbox-source - x86 virtualization solution - kernel module source virtualbox - x86 virtualization solution - base binaries |
#apt-get install linux-image-2.6.32-5-686
Чтение списков пакетов... Готово Построение дерева зависимостей Чтение информации о состоянии... Готово Следующие пакеты устанавливались автоматически и больше не требуются: mysql-common libmysqlclient16 Для их удаления используйте 'apt-get autoremove'. Будут установлены следующие дополнительные пакеты: firmware-linux-free Предлагаемые пакеты: linux-doc-2.6.32 grub lilo ... run-parts: executing /etc/kernel/postinst.d/update-notifier 2.6.32-5-686 /boot/vmlinuz-2.6.32-5-686 run-parts: executing /etc/kernel/postinst.d/zz-update-grub 2.6.32-5-686 /boot/vmlinuz-2.6.32-5-686 Generating grub.cfg ... Found background image: /usr/share/images/desktop-base/desktop-grub.png Found linux image: /boot/vmlinuz-2.6.39-bpo.2-686-pae Found initrd image: /boot/initrd.img-2.6.39-bpo.2-686-pae Found linux image: /boot/vmlinuz-2.6.32-5-686 Found initrd image: /boot/initrd.img-2.6.32-5-686 done Настраивается пакет firmware-linux-free (2.6.32-38) ... |
#apt-get install linux-image-2.6.32-5-686
Чтение списков пакетов... Готово Построение дерева зависимостей Чтение информации о состоянии... Готово Следующие пакеты устанавливались автоматически и больше не требуются: mysql-common libmysqlclient16 Для их удаления используйте 'apt-get autoremove'. Будут установлены следующие дополнительные пакеты: firmware-linux-free Предлагаемые пакеты: linux-doc-2.6.32 grub lilo ... run-parts: executing /etc/kernel/postinst.d/update-notifier 2.6.32-5-686 /boot/vmlinuz-2.6.32-5-686 run-parts: executing /etc/kernel/postinst.d/zz-update-grub 2.6.32-5-686 /boot/vmlinuz-2.6.32-5-686 Generating grub.cfg ... Found background image: /usr/share/images/desktop-base/desktop-grub.png Found linux image: /boot/vmlinuz-2.6.39-bpo.2-686-pae Found initrd image: /boot/initrd.img-2.6.39-bpo.2-686-pae Found linux image: /boot/vmlinuz-2.6.32-5-686 Found initrd image: /boot/initrd.img-2.6.32-5-686 done Настраивается пакет firmware-linux-free (2.6.32-38) ... |
#{chosen}"
[ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Linux version 2.6.32-5-686 (Debian 2.6.32-38) (ben@decadent.org.uk) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Mon Oct 3 04:15:24 UTC 2011 [ 0.000000] KERNEL supported cpus: [ 0.000000] Intel GenuineIntel [ 0.000000] AMD AuthenticAMD [ 0.000000] NSC Geode by NSC [ 0.000000] Cyrix CyrixInstead [ 0.000000] Centaur CentaurHauls [ 0.000000] Transmeta GenuineTMx86 ... [ 27.449507] CPU6 attaching sched-domain: [ 27.449508] domain 0: span 2,6 level SIBLING [ 27.449509] groups: group c330370c cpus 6 (cpu_power = 589) group c310370c cpus 2 (cpu_power = 589) [ 27.449512] domain 1: span 0-7 level MC [ 27.449513] groups: group c3103778 cpus 2,6 (cpu_power = 1178) group c3183778 cpus 3,7 (cpu_power = 1178) group c3003778 cpus 0,4 (cpu_power = 1178) group c3083778 cpus 1,5 (cpu_power = 1178) [ 27.449518] CPU7 attaching sched-domain: [ 27.449518] domain 0: span 3,7 level SIBLING [ 27.449519] groups: group c338370c cpus 7 (cpu_power = 589) group c318370c cpus 3 (cpu_power = 589) [ 27.449522] domain 1: span 0-7 level MC [ 27.449523] groups: group c3183778 cpus 3,7 (cpu_power = 1178) group c3003778 cpus 0,4 (cpu_power = 1178) group c3083778 cpus 1,5 (cpu_power = 1178) group c3103778 cpus 2,6 (cpu_power = 1178) |
#{chosen}"
[ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Linux version 2.6.32-5-686 (Debian 2.6.32-38) (ben@decadent.org.uk) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Mon Oct 3 04:15:24 UTC 2011 [ 0.000000] KERNEL supported cpus: [ 0.000000] Intel GenuineIntel [ 0.000000] AMD AuthenticAMD [ 0.000000] NSC Geode by NSC [ 0.000000] Cyrix CyrixInstead [ 0.000000] Centaur CentaurHauls [ 0.000000] Transmeta GenuineTMx86 ... [ 27.449507] CPU6 attaching sched-domain: [ 27.449508] domain 0: span 2,6 level SIBLING [ 27.449509] groups: group c330370c cpus 6 (cpu_power = 589) group c310370c cpus 2 (cpu_power = 589) [ 27.449512] domain 1: span 0-7 level MC [ 27.449513] groups: group c3103778 cpus 2,6 (cpu_power = 1178) group c3183778 cpus 3,7 (cpu_power = 1178) group c3003778 cpus 0,4 (cpu_power = 1178) group c3083778 cpus 1,5 (cpu_power = 1178) [ 27.449518] CPU7 attaching sched-domain: [ 27.449518] domain 0: span 3,7 level SIBLING [ 27.449519] groups: group c338370c cpus 7 (cpu_power = 589) group c318370c cpus 3 (cpu_power = 589) [ 27.449522] domain 1: span 0-7 level MC [ 27.449523] groups: group c3183778 cpus 3,7 (cpu_power = 1178) group c3003778 cpus 0,4 (cpu_power = 1178) group c3083778 cpus 1,5 (cpu_power = 1178) group c3103778 cpus 2,6 (cpu_power = 1178) |
#lspci
00:00.0 Host bridge: Intel Corporation Sandy Bridge DRAM Controller (rev 09) 00:02.0 VGA compatible controller: Intel Corporation Sandy Bridge Integrated Graphics Controller (rev 09) 00:16.0 Communication controller: Intel Corporation Cougar Point HECI Controller #1 (rev 04) 00:16.3 Serial controller: Intel Corporation Cougar Point KT Controller (rev 04) 00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 04) 00:1a.0 USB Controller: Intel Corporation Cougar Point USB Enhanced Host Controller #2 (rev 04) 00:1b.0 Audio device: Intel Corporation Cougar Point High Definition Audio Controller (rev 04) 00:1c.0 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 1 (rev b4) 00:1c.4 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 5 (rev b4) 00:1c.6 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 7 (rev b4) 00:1c.7 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 8 (rev b4) 00:1d.0 USB Controller: Intel Corporation Cougar Point USB Enhanced Host Controller #1 (rev 04) 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a4) 00:1f.0 ISA bridge: Intel Corporation Cougar Point LPC Controller (rev 04) 00:1f.2 SATA controller: Intel Corporation Cougar Point 6 port SATA AHCI Controller (rev 04) 00:1f.3 SMBus: Intel Corporation Cougar Point SMBus Controller (rev 04) |
#lspci
00:00.0 Host bridge: Intel Corporation Sandy Bridge DRAM Controller (rev 09) 00:02.0 VGA compatible controller: Intel Corporation Sandy Bridge Integrated Graphics Controller (rev 09) 00:16.0 Communication controller: Intel Corporation Cougar Point HECI Controller #1 (rev 04) 00:16.3 Serial controller: Intel Corporation Cougar Point KT Controller (rev 04) 00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 04) 00:1a.0 USB Controller: Intel Corporation Cougar Point USB Enhanced Host Controller #2 (rev 04) 00:1b.0 Audio device: Intel Corporation Cougar Point High Definition Audio Controller (rev 04) 00:1c.0 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 1 (rev b4) 00:1c.4 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 5 (rev b4) 00:1c.6 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 7 (rev b4) 00:1c.7 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 8 (rev b4) 00:1d.0 USB Controller: Intel Corporation Cougar Point USB Enhanced Host Controller #1 (rev 04) 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a4) 00:1f.0 ISA bridge: Intel Corporation Cougar Point LPC Controller (rev 04) 00:1f.2 SATA controller: Intel Corporation Cougar Point 6 port SATA AHCI Controller (rev 04) 00:1f.3 SMBus: Intel Corporation Cougar Point SMBus Controller (rev 04) |
#lspci
00:00.0 Host bridge: Intel Corporation Sandy Bridge DRAM Controller (rev 09) 00:02.0 VGA compatible controller: Intel Corporation Sandy Bridge Integrated Graphics Controller (rev 09) 00:16.0 Communication controller: Intel Corporation Cougar Point HECI Controller #1 (rev 04) 00:16.3 Serial controller: Intel Corporation Cougar Point KT Controller (rev 04) 00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 04) 00:1a.0 USB Controller: Intel Corporation Cougar Point USB Enhanced Host Controller #2 (rev 04) 00:1b.0 Audio device: Intel Corporation Cougar Point High Definition Audio Controller (rev 04) 00:1c.0 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 1 (rev b4) 00:1c.4 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 5 (rev b4) 00:1c.6 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 7 (rev b4) 00:1c.7 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 8 (rev b4) 00:1d.0 USB Controller: Intel Corporation Cougar Point USB Enhanced Host Controller #1 (rev 04) 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a4) 00:1f.0 ISA bridge: Intel Corporation Cougar Point LPC Controller (rev 04) 00:1f.2 SATA controller: Intel Corporation Cougar Point 6 port SATA AHCI Controller (rev 04) 00:1f.3 SMBus: Intel Corporation Cougar Point SMBus Controller (rev 04) |
#lspci
00:00.0 Host bridge: Intel Corporation Sandy Bridge DRAM Controller (rev 09) 00:02.0 VGA compatible controller: Intel Corporation Sandy Bridge Integrated Graphics Controller (rev 09) 00:16.0 Communication controller: Intel Corporation Cougar Point HECI Controller #1 (rev 04) 00:16.3 Serial controller: Intel Corporation Cougar Point KT Controller (rev 04) 00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 04) 00:1a.0 USB Controller: Intel Corporation Cougar Point USB Enhanced Host Controller #2 (rev 04) 00:1b.0 Audio device: Intel Corporation Cougar Point High Definition Audio Controller (rev 04) 00:1c.0 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 1 (rev b4) 00:1c.4 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 5 (rev b4) 00:1c.6 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 7 (rev b4) 00:1c.7 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 8 (rev b4) 00:1d.0 USB Controller: Intel Corporation Cougar Point USB Enhanced Host Controller #1 (rev 04) 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a4) 00:1f.0 ISA bridge: Intel Corporation Cougar Point LPC Controller (rev 04) 00:1f.2 SATA controller: Intel Corporation Cougar Point 6 port SATA AHCI Controller (rev 04) 00:1f.3 SMBus: Intel Corporation Cougar Point SMBus Controller (rev 04) |
#ifconfig
eth0 Link encap:Ethernet HWaddr 2c:27:d7:46:19:8f inet addr:192.168.10.1 Bcast:192.168.10.255 Mask:255.255.255.0 inet6 addr: fe80::2e27:d7ff:fe46:198f/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:971 errors:0 dropped:0 overruns:0 frame:0 TX packets:1100 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:394256 (385.0 KiB) TX bytes:193453 (188.9 KiB) Interrupt:20 Memory:fe400000-fe420000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:21 errors:0 dropped:0 overruns:0 frame:0 TX packets:21 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1359 (1.3 KiB) TX bytes:1359 (1.3 KiB) |
#ifconfig
eth0 Link encap:Ethernet HWaddr 2c:27:d7:46:19:8f inet addr:192.168.10.1 Bcast:192.168.10.255 Mask:255.255.255.0 inet6 addr: fe80::2e27:d7ff:fe46:198f/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:971 errors:0 dropped:0 overruns:0 frame:0 TX packets:1100 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:394256 (385.0 KiB) TX bytes:193453 (188.9 KiB) Interrupt:20 Memory:fe400000-fe420000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:21 errors:0 dropped:0 overruns:0 frame:0 TX packets:21 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1359 (1.3 KiB) TX bytes:1359 (1.3 KiB) |
#ls
adsi.conf extensions.ael oss.conf adtranvofr.conf extensions.conf phone.conf agents.conf extensions.conf0 phoneprov.conf agents.conf0 extensions.conf.20111019 queuerules.conf ais.conf extensions.lua queues.conf alarmreceiver.conf extensions_minivm.conf queues.conf0 alsa.conf features.conf res_config_sqlite.conf amd.conf features.conf0 res_ldap.conf asterisk.adsi festival.conf res_odbc.conf asterisk.conf followme.conf res_pgsql.conf ... cli.conf manager.conf telcordia-1.adsi cli_permissions.conf manager.d udptl.conf codecs.conf meetme.conf unistim.conf console.conf mgcp.conf usbradio.conf dbsep.conf minivm.conf users.conf dnsmgr.conf misdn.conf voicemail.conf dsp.conf modules.conf voicemail.conf0 dundi.conf musiconhold.conf vpb.conf enum.conf muted.conf extconfig.conf osp.conf |
#ls
adsi.conf extensions.ael oss.conf adtranvofr.conf extensions.conf phone.conf agents.conf extensions.conf0 phoneprov.conf agents.conf0 extensions.conf.20111019 queuerules.conf ais.conf extensions.lua queues.conf alarmreceiver.conf extensions_minivm.conf queues.conf0 alsa.conf features.conf res_config_sqlite.conf amd.conf features.conf0 res_ldap.conf asterisk.adsi festival.conf res_odbc.conf asterisk.conf followme.conf res_pgsql.conf ... cli.conf manager.conf telcordia-1.adsi cli_permissions.conf manager.d udptl.conf codecs.conf meetme.conf unistim.conf console.conf mgcp.conf usbradio.conf dbsep.conf minivm.conf users.conf dnsmgr.conf misdn.conf voicemail.conf dsp.conf modules.conf voicemail.conf0 dundi.conf musiconhold.conf vpb.conf enum.conf muted.conf extconfig.conf osp.conf |
#vi extensions.conf
--- /tmp/l3-saved-2565.16376.19937 2011-10-19 16:40:40.000000000 +0300 +++ extensions.conf 2011-10-19 16:41:42.000000000 +0300 @@ -16,6 +16,8 @@ exten => _1103,n,SetMusicOnHold(default) exten => _1103,n,Queue(queue1) +exten => _1111,1,MeetMe(1) + [national] exten => _12XX,1,Macro(monitor,SIP/lv/${EXTEN}) |
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 1731) Verbosity was 0 and is now 1 linux1*CLI> Disconnected from Asterisk server Executing last minute cleanups |
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 1731) Verbosity was 0 and is now 1 linux1*CLI> Disconnected from Asterisk server Executing last minute cleanups |
#vi meetme.conf
--- /tmp/l3-saved-2565.32082.6507 2011-10-19 16:42:20.000000000 +0300 +++ meetme.conf 2011-10-19 16:43:44.000000000 +0300 @@ -33,6 +33,7 @@ ;endalert=120 ; [rooms] +conf => 1 ; ; Usage is conf => confno[,pin][,adminpin] ; |
#; join the conference (in seconds)?
Asterisk 1.6.2.9-2+squeeze3, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 2944) Verbosity was 0 and is now 1 linux1*CLI> linux1*CLI> linux1*CLI> linux1*CLI> linux1*CLI> linux1*CLI> [Oct 19 16:44:48] WARNING[3002]: app_meetme.c:1097 build_conf: Unable to open pseudo device linux1*CLI> lsmod No such command 'lsmod' (type 'core show help lsmod' for other possible commands) linux1*CLI> Disconnected from Asterisk server Executing last minute cleanups |
#; join the conference (in seconds)?
Asterisk 1.6.2.9-2+squeeze3, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 2944) Verbosity was 0 and is now 1 linux1*CLI> linux1*CLI> linux1*CLI> linux1*CLI> linux1*CLI> linux1*CLI> [Oct 19 16:44:48] WARNING[3002]: app_meetme.c:1097 build_conf: Unable to open pseudo device linux1*CLI> lsmod No such command 'lsmod' (type 'core show help lsmod' for other possible commands) linux1*CLI> Disconnected from Asterisk server Executing last minute cleanups |
#lsmod
Module Size Used by i915 223022 0 drm_kms_helper 18569 1 i915 drm 111992 2 i915,drm_kms_helper i2c_algo_bit 3497 1 i915 video 14605 1 i915 output 1204 1 video sco 5885 2 bridge 33031 0 stp 996 1 bridge ... cdrom 26487 1 sr_mod ahci 27410 2 libata 115869 1 ahci scsi_mod 104853 4 sg,sr_mod,sd_mod,libata ehci_hcd 28693 0 thermal 9206 0 usbcore 98969 3 usbhid,ehci_hcd nls_base 4541 1 usbcore e1000e 110270 0 thermal_sys 9378 3 video,processor,thermal |
#lsmod
Module Size Used by i915 223022 0 drm_kms_helper 18569 1 i915 drm 111992 2 i915,drm_kms_helper i2c_algo_bit 3497 1 i915 video 14605 1 i915 output 1204 1 video sco 5885 2 bridge 33031 0 stp 996 1 bridge ... cdrom 26487 1 sr_mod ahci 27410 2 libata 115869 1 ahci scsi_mod 104853 4 sg,sr_mod,sd_mod,libata ehci_hcd 28693 0 thermal 9206 0 usbcore 98969 3 usbhid,ehci_hcd nls_base 4541 1 usbcore e1000e 110270 0 thermal_sys 9378 3 video,processor,thermal |
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 2944) Verbosity is at least 1 linux1*CLI> linux1*CLI> linux1*CLI> linux1*CLI> linux1*CLI> linux1*CLI> linux1*CLI> linux1*CLI> Disconnected from Asterisk server Executing last minute cleanups |
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 2944) Verbosity is at least 1 linux1*CLI> linux1*CLI> linux1*CLI> linux1*CLI> linux1*CLI> linux1*CLI> linux1*CLI> linux1*CLI> Disconnected from Asterisk server Executing last minute cleanups |
Время первой команды журнала | 13:38:09 2011-10-19 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 15:45:24 2011-10-19 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 10.89 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 0.00 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 1.34 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 1.26 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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