/l3/users/eb/2009/linux12/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 :13 :14 :15 :16 :17 :18 :19 :20 :21 :22 :23 :24 :25 :26 :27 :28 :29 :30 :31 :32 :33 :34 :35 :36 :37 :38 :39 :40 :41 :42 :43 :44 :45 :46 :47 :48 |
|
#xm console ED1
TCP bind hash table entries: 8192 (order: 4, 65536 bytes) TCP: Hash tables configured (established 16384 bind 8192) TCP reno registered audit: initializing netlink socket (disabled) audit(1244228849.670:1): initialized VFS: Disk quotas dquot_6.5.1 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) Initializing Cryptographic API io scheduler noop registered io scheduler anticipatory registered ... Debian GNU/Linux squeeze/sid linux12 tty1 linux12 login: root Password: Login incorrect linux12 login: root Password: Login incorrect linux12 login: root Password: -bash: agent: command not found |
#xm console ED1
TCP bind hash table entries: 8192 (order: 4, 65536 bytes) TCP: Hash tables configured (established 16384 bind 8192) TCP reno registered audit: initializing netlink socket (disabled) audit(1244228849.670:1): initialized VFS: Disk quotas dquot_6.5.1 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) Initializing Cryptographic API io scheduler noop registered io scheduler anticipatory registered ... Debian GNU/Linux squeeze/sid linux12 tty1 linux12 login: root Password: Login incorrect linux12 login: root Password: Login incorrect linux12 login: root Password: -bash: agent: command not found |
#locale
LANG=uk_UA.UTF-8 LC_CTYPE="uk_UA.UTF-8" LC_NUMERIC="uk_UA.UTF-8" LC_TIME="uk_UA.UTF-8" LC_COLLATE="uk_UA.UTF-8" LC_MONETARY="uk_UA.UTF-8" LC_MESSAGES="uk_UA.UTF-8" LC_PAPER="uk_UA.UTF-8" LC_NAME="uk_UA.UTF-8" LC_ADDRESS="uk_UA.UTF-8" LC_TELEPHONE="uk_UA.UTF-8" LC_MEASUREMENT="uk_UA.UTF-8" LC_IDENTIFICATION="uk_UA.UTF-8" LC_ALL= |
#locale
LANG=uk_UA.UTF-8 LC_CTYPE="uk_UA.UTF-8" LC_NUMERIC="uk_UA.UTF-8" LC_TIME="uk_UA.UTF-8" LC_COLLATE="uk_UA.UTF-8" LC_MONETARY="uk_UA.UTF-8" LC_MESSAGES="uk_UA.UTF-8" LC_PAPER="uk_UA.UTF-8" LC_NAME="uk_UA.UTF-8" LC_ADDRESS="uk_UA.UTF-8" LC_TELEPHONE="uk_UA.UTF-8" LC_MEASUREMENT="uk_UA.UTF-8" LC_IDENTIFICATION="uk_UA.UTF-8" LC_ALL= |
#locale
LANG=uk_UA.UTF-8 LC_CTYPE="uk_UA.UTF-8" LC_NUMERIC="uk_UA.UTF-8" LC_TIME="uk_UA.UTF-8" LC_COLLATE="uk_UA.UTF-8" LC_MONETARY="uk_UA.UTF-8" LC_MESSAGES="uk_UA.UTF-8" LC_PAPER="uk_UA.UTF-8" LC_NAME="uk_UA.UTF-8" LC_ADDRESS="uk_UA.UTF-8" LC_TELEPHONE="uk_UA.UTF-8" LC_MEASUREMENT="uk_UA.UTF-8" LC_IDENTIFICATION="uk_UA.UTF-8" LC_ALL= |
#ifconfig
eth0 Link encap:Ethernet HWaddr 00:16:3e:7f:e8:4b inet addr:192.168.15.12 Bcast:192.168.15.255 Mask:255.255.255.0 inet6 addr: fe80::216:3eff:fe7f:e84b/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:33 errors:0 dropped:0 overruns:0 frame:0 TX packets:25 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:4408 (4.3 KiB) TX bytes:3402 (3.3 KiB) 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:28 errors:0 dropped:0 overruns:0 frame:0 TX packets:28 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:2567 (2.5 KiB) TX bytes:2567 (2.5 KiB) |
#ifconfig
eth0 Link encap:Ethernet HWaddr 00:16:3e:7f:e8:4b inet addr:192.168.15.12 Bcast:192.168.15.255 Mask:255.255.255.0 inet6 addr: fe80::216:3eff:fe7f:e84b/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:33 errors:0 dropped:0 overruns:0 frame:0 TX packets:25 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:4408 (4.3 KiB) TX bytes:3402 (3.3 KiB) 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:28 errors:0 dropped:0 overruns:0 frame:0 TX packets:28 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:2567 (2.5 KiB) TX bytes:2567 (2.5 KiB) |
#ifconfig
eth0 Link encap:Ethernet HWaddr 00:16:3e:7f:e8:4b inet addr:192.168.15.12 Bcast:192.168.15.255 Mask:255.255.255.0 inet6 addr: fe80::216:3eff:fe7f:e84b/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:33 errors:0 dropped:0 overruns:0 frame:0 TX packets:25 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:4408 (4.3 KiB) TX bytes:3402 (3.3 KiB) 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:28 errors:0 dropped:0 overruns:0 frame:0 TX packets:28 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:2567 (2.5 KiB) TX bytes:2567 (2.5 KiB) |
#vim /etc/network/interfaces
--- /tmp/l3-saved-1996.6787.11629 2009-06-05 22:09:00.000000000 +0300 +++ /etc/network/interfaces 2009-06-05 22:09:27.000000000 +0300 @@ -5,7 +5,7 @@ iface lo inet loopback iface eth0 inet static - address 192.168.15.12 + address 192.168.15.122 netmask 255.255.255.0 network 192.168.15.0 broadcast 192.168.15.255 |
#vconfig -l
Expecting argc to be 3-5, inclusive. Was: 2 Usage: add [interface-name] [vlan_id] rem [vlan-name] set_flag [interface-name] [flag-num] [0 | 1] set_egress_map [vlan-name] [skb_priority] [vlan_qos] set_ingress_map [vlan-name] [skb_priority] [vlan_qos] set_name_type [name-type] * The [interface-name] is the name of the ethernet card that hosts the VLAN you are talking about. * The vlan_id is the identifier (0-4095) of the VLAN you are operating on. * skb_priority is the priority in the socket buffer (sk_buff). * vlan_qos is the 3 bit priority in the VLAN header * name-type: VLAN_PLUS_VID (vlan0005), VLAN_PLUS_VID_NO_PAD (vlan5), DEV_PLUS_VID (eth0.0005), DEV_PLUS_VID_NO_PAD (eth0.5) * FLAGS: 1 REORDER_HDR When this is set, the VLAN device will move the ethernet header around to make it look exactly like a real ethernet device. This may help programs such as DHCPd which read the raw ethernet packet and make assumptions about the location of bytes. If you don't need it, don't turn it on, because there will be at least a small performance degradation. Default is OFF. |
#vconfig -l
Expecting argc to be 3-5, inclusive. Was: 2 Usage: add [interface-name] [vlan_id] rem [vlan-name] set_flag [interface-name] [flag-num] [0 | 1] set_egress_map [vlan-name] [skb_priority] [vlan_qos] set_ingress_map [vlan-name] [skb_priority] [vlan_qos] set_name_type [name-type] * The [interface-name] is the name of the ethernet card that hosts the VLAN you are talking about. * The vlan_id is the identifier (0-4095) of the VLAN you are operating on. * skb_priority is the priority in the socket buffer (sk_buff). * vlan_qos is the 3 bit priority in the VLAN header * name-type: VLAN_PLUS_VID (vlan0005), VLAN_PLUS_VID_NO_PAD (vlan5), DEV_PLUS_VID (eth0.0005), DEV_PLUS_VID_NO_PAD (eth0.5) * FLAGS: 1 REORDER_HDR When this is set, the VLAN device will move the ethernet header around to make it look exactly like a real ethernet device. This may help programs such as DHCPd which read the raw ethernet packet and make assumptions about the location of bytes. If you don't need it, don't turn it on, because there will be at least a small performance degradation. Default is OFF. |
#vconfig -l
Expecting argc to be 3-5, inclusive. Was: 2 Usage: add [interface-name] [vlan_id] rem [vlan-name] set_flag [interface-name] [flag-num] [0 | 1] set_egress_map [vlan-name] [skb_priority] [vlan_qos] set_ingress_map [vlan-name] [skb_priority] [vlan_qos] set_name_type [name-type] * The [interface-name] is the name of the ethernet card that hosts the VLAN you are talking about. * The vlan_id is the identifier (0-4095) of the VLAN you are operating on. * skb_priority is the priority in the socket buffer (sk_buff). * vlan_qos is the 3 bit priority in the VLAN header * name-type: VLAN_PLUS_VID (vlan0005), VLAN_PLUS_VID_NO_PAD (vlan5), DEV_PLUS_VID (eth0.0005), DEV_PLUS_VID_NO_PAD (eth0.5) * FLAGS: 1 REORDER_HDR When this is set, the VLAN device will move the ethernet header around to make it look exactly like a real ethernet device. This may help programs such as DHCPd which read the raw ethernet packet and make assumptions about the location of bytes. If you don't need it, don't turn it on, because there will be at least a small performance degradation. Default is OFF. |
#vconfig
Expecting argc to be 3-5, inclusive. Was: 1 Usage: add [interface-name] [vlan_id] rem [vlan-name] set_flag [interface-name] [flag-num] [0 | 1] set_egress_map [vlan-name] [skb_priority] [vlan_qos] set_ingress_map [vlan-name] [skb_priority] [vlan_qos] set_name_type [name-type] * The [interface-name] is the name of the ethernet card that hosts the VLAN you are talking about. * The vlan_id is the identifier (0-4095) of the VLAN you are operating on. * skb_priority is the priority in the socket buffer (sk_buff). * vlan_qos is the 3 bit priority in the VLAN header * name-type: VLAN_PLUS_VID (vlan0005), VLAN_PLUS_VID_NO_PAD (vlan5), DEV_PLUS_VID (eth0.0005), DEV_PLUS_VID_NO_PAD (eth0.5) * FLAGS: 1 REORDER_HDR When this is set, the VLAN device will move the ethernet header around to make it look exactly like a real ethernet device. This may help programs such as DHCPd which read the raw ethernet packet and make assumptions about the location of bytes. If you don't need it, don't turn it on, because there will be at least a small performance degradation. Default is OFF. |
#vconfig
Expecting argc to be 3-5, inclusive. Was: 1 Usage: add [interface-name] [vlan_id] rem [vlan-name] set_flag [interface-name] [flag-num] [0 | 1] set_egress_map [vlan-name] [skb_priority] [vlan_qos] set_ingress_map [vlan-name] [skb_priority] [vlan_qos] set_name_type [name-type] * The [interface-name] is the name of the ethernet card that hosts the VLAN you are talking about. * The vlan_id is the identifier (0-4095) of the VLAN you are operating on. * skb_priority is the priority in the socket buffer (sk_buff). * vlan_qos is the 3 bit priority in the VLAN header * name-type: VLAN_PLUS_VID (vlan0005), VLAN_PLUS_VID_NO_PAD (vlan5), DEV_PLUS_VID (eth0.0005), DEV_PLUS_VID_NO_PAD (eth0.5) * FLAGS: 1 REORDER_HDR When this is set, the VLAN device will move the ethernet header around to make it look exactly like a real ethernet device. This may help programs such as DHCPd which read the raw ethernet packet and make assumptions about the location of bytes. If you don't need it, don't turn it on, because there will be at least a small performance degradation. Default is OFF. |
#vconfig
Expecting argc to be 3-5, inclusive. Was: 1 Usage: add [interface-name] [vlan_id] rem [vlan-name] set_flag [interface-name] [flag-num] [0 | 1] set_egress_map [vlan-name] [skb_priority] [vlan_qos] set_ingress_map [vlan-name] [skb_priority] [vlan_qos] set_name_type [name-type] * The [interface-name] is the name of the ethernet card that hosts the VLAN you are talking about. * The vlan_id is the identifier (0-4095) of the VLAN you are operating on. * skb_priority is the priority in the socket buffer (sk_buff). * vlan_qos is the 3 bit priority in the VLAN header * name-type: VLAN_PLUS_VID (vlan0005), VLAN_PLUS_VID_NO_PAD (vlan5), DEV_PLUS_VID (eth0.0005), DEV_PLUS_VID_NO_PAD (eth0.5) * FLAGS: 1 REORDER_HDR When this is set, the VLAN device will move the ethernet header around to make it look exactly like a real ethernet device. This may help programs such as DHCPd which read the raw ethernet packet and make assumptions about the location of bytes. If you don't need it, don't turn it on, because there will be at least a small performance degradation. Default is OFF. |
#vim /etc/network/interfaces
--- /tmp/l3-saved-1996.23181.13154 2009-06-05 22:10:16.000000000 +0300 +++ /etc/network/interfaces 2009-06-05 22:10:27.000000000 +0300 @@ -1,7 +1,8 @@ # Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or # /usr/share/doc/ifupdown/examples for more information. -auto lo eth0 eth0.106 eth0.206 eth0.266 +auto lo eth0 +#eth0.106 eth0.206 eth0.266 iface lo inet loopback iface eth0 inet static |
#init 6
INIT: Switching to runlevel: 6 INIT: Sending processes the TERM signal Stopping GNOME Display Manager: gdm. _______ < hello > ------- \ ,-----._ . \ . ,' `-.__,------._ // \ __\\' `-. (( _____-'___)) | ... Stopping AoE devices discovery and mounting AoE filesystems: Deconfiguring network interfaces...SIOCDELRT: No such process done. Cleaning up ifupdown.... Deactivating swap...done. Shutting down LVM Volume Groups. Will now restart. md: stopping all md devices. xenbus_dev_shutdown: device/console/0: Unknown != Connected, skipping Restarting system. . |
#init 6
INIT: Switching to runlevel: 6 INIT: Sending processes the TERM signal Stopping GNOME Display Manager: gdm. _______ < hello > ------- \ ,-----._ . \ . ,' `-.__,------._ // \ __\\' `-. (( _____-'___)) | ... Stopping AoE devices discovery and mounting AoE filesystems: Deconfiguring network interfaces...SIOCDELRT: No such process done. Cleaning up ifupdown.... Deactivating swap...done. Shutting down LVM Volume Groups. Will now restart. md: stopping all md devices. xenbus_dev_shutdown: device/console/0: Unknown != Connected, skipping Restarting system. . |
#dmesg
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 5 uhci_hcd 0000:00:1d.0: irq 19, io base 0x0000d080 usb usb5: configuration #1 chosen from 1 choice hub 5-0:1.0: USB hub found hub 5-0:1.0: 2 ports detected ACPI: PCI Interrupt 0000:00:1d.1[B] -> GSI 20 (level, low) -> IRQ 22 PCI: Setting latency timer of device 0000:00:1d.1 to 64 uhci_hcd 0000:00:1d.1: UHCI Host Controller uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 6 uhci_hcd 0000:00:1d.1: irq 22, io base 0x0000d400 ... device vif1.0 left promiscuous mode audit(1244229060.031:4): dev=vif1.0 prom=0 old_prom=256 auid=4294967295 eth0: port 2(vif1.0) entering disabled state device vif2.0 entered promiscuous mode audit(1244229060.511:5): dev=vif2.0 prom=256 old_prom=0 auid=4294967295 ADDRCONF(NETDEV_UP): vif2.0: link is not ready eth0: port 2(vif2.0) entering learning state eth0: topology change detected, propagating eth0: port 2(vif2.0) entering forwarding state ADDRCONF(NETDEV_CHANGE): vif2.0: link becomes ready |
#dmesg
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 5 uhci_hcd 0000:00:1d.0: irq 19, io base 0x0000d080 usb usb5: configuration #1 chosen from 1 choice hub 5-0:1.0: USB hub found hub 5-0:1.0: 2 ports detected ACPI: PCI Interrupt 0000:00:1d.1[B] -> GSI 20 (level, low) -> IRQ 22 PCI: Setting latency timer of device 0000:00:1d.1 to 64 uhci_hcd 0000:00:1d.1: UHCI Host Controller uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 6 uhci_hcd 0000:00:1d.1: irq 22, io base 0x0000d400 ... device vif1.0 left promiscuous mode audit(1244229060.031:4): dev=vif1.0 prom=0 old_prom=256 auid=4294967295 eth0: port 2(vif1.0) entering disabled state device vif2.0 entered promiscuous mode audit(1244229060.511:5): dev=vif2.0 prom=256 old_prom=0 auid=4294967295 ADDRCONF(NETDEV_UP): vif2.0: link is not ready eth0: port 2(vif2.0) entering learning state eth0: topology change detected, propagating eth0: port 2(vif2.0) entering forwarding state ADDRCONF(NETDEV_CHANGE): vif2.0: link becomes ready |
#dmesg grep error
Usage: dmesg [-c] [-n level] [-s bufsize] |
#dmesg | grep error
|
#dmesg | grep err
ACPI: IRQ0 used by override. ACPI: IRQ2 used by override. ACPI: IRQ9 used by override. ACPI: Using IOAPIC for interrupt routing ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P1._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P4._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P5._PRT] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 10 *11 12 14 15) ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 *10 11 12 14 15) ... ACPI: PCI Interrupt 0000:00:1a.1[B] -> GSI 21 (level, low) -> IRQ 21 ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 23 (level, low) -> IRQ 19 ACPI: PCI Interrupt 0000:00:1d.1[B] -> GSI 20 (level, low) -> IRQ 22 ACPI: PCI Interrupt 0000:00:1d.2[C] -> GSI 21 (level, low) -> IRQ 21 ACPI: PCI Interrupt 0000:00:1f.2[A] -> GSI 18 (level, low) -> IRQ 18 ACPI: PCI Interrupt 0000:00:1f.5[A] -> GSI 18 (level, low) -> IRQ 18 ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 17 (level, low) -> IRQ 16 ACPI: PCI Interrupt 0000:02:00.0[A] -> GSI 16 (level, low) -> IRQ 17 ACPI: PCI Interrupt 0000:00:1f.3[C] -> GSI 18 (level, low) -> IRQ 18 ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 22 (level, low) -> IRQ 20 |
#dmesg | grep err
ACPI: IRQ0 used by override. ACPI: IRQ2 used by override. ACPI: IRQ9 used by override. ACPI: Using IOAPIC for interrupt routing ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P1._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P4._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P5._PRT] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 10 *11 12 14 15) ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 *10 11 12 14 15) ... ACPI: PCI Interrupt 0000:00:1a.1[B] -> GSI 21 (level, low) -> IRQ 21 ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 23 (level, low) -> IRQ 19 ACPI: PCI Interrupt 0000:00:1d.1[B] -> GSI 20 (level, low) -> IRQ 22 ACPI: PCI Interrupt 0000:00:1d.2[C] -> GSI 21 (level, low) -> IRQ 21 ACPI: PCI Interrupt 0000:00:1f.2[A] -> GSI 18 (level, low) -> IRQ 18 ACPI: PCI Interrupt 0000:00:1f.5[A] -> GSI 18 (level, low) -> IRQ 18 ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 17 (level, low) -> IRQ 16 ACPI: PCI Interrupt 0000:02:00.0[A] -> GSI 16 (level, low) -> IRQ 17 ACPI: PCI Interrupt 0000:00:1f.3[C] -> GSI 18 (level, low) -> IRQ 18 ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 22 (level, low) -> IRQ 20 |
#dmesg | grep eth
ADDRCONF(NETDEV_UP): eth0: link is not ready ATL1: eth0 NIC Link is Up<1000 Mbps Full Duplex> ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready ADDRCONF(NETDEV_UP): peth0: link is not ready ATL1: peth0 NIC Link is Up<1000 Mbps Full Duplex> ADDRCONF(NETDEV_CHANGE): peth0: link becomes ready device peth0 entered promiscuous mode audit(1244228667.410:2): dev=peth0 prom=256 old_prom=0 auid=4294967295 eth0: port 1(peth0) entering learning state eth0: topology change detected, propagating eth0: port 1(peth0) entering forwarding state eth0: no IPv6 routers present peth0: no IPv6 routers present eth0: port 2(vif1.0) entering learning state eth0: topology change detected, propagating eth0: port 2(vif1.0) entering forwarding state eth0: port 2(vif1.0) entering disabled state eth0: port 2(vif1.0) entering disabled state eth0: port 2(vif2.0) entering learning state eth0: topology change detected, propagating eth0: port 2(vif2.0) entering forwarding state |
#dmesg | grep eth
ADDRCONF(NETDEV_UP): eth0: link is not ready ATL1: eth0 NIC Link is Up<1000 Mbps Full Duplex> ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready ADDRCONF(NETDEV_UP): peth0: link is not ready ATL1: peth0 NIC Link is Up<1000 Mbps Full Duplex> ADDRCONF(NETDEV_CHANGE): peth0: link becomes ready device peth0 entered promiscuous mode audit(1244228667.410:2): dev=peth0 prom=256 old_prom=0 auid=4294967295 eth0: port 1(peth0) entering learning state eth0: topology change detected, propagating eth0: port 1(peth0) entering forwarding state eth0: no IPv6 routers present peth0: no IPv6 routers present eth0: port 2(vif1.0) entering learning state eth0: topology change detected, propagating eth0: port 2(vif1.0) entering forwarding state eth0: port 2(vif1.0) entering disabled state eth0: port 2(vif1.0) entering disabled state eth0: port 2(vif2.0) entering learning state eth0: topology change detected, propagating eth0: port 2(vif2.0) entering forwarding state |
#ping 192.168.15.3
PING 192.168.15.3 (192.168.15.3) 56(84) bytes of data. 64 bytes from 192.168.15.3: icmp_seq=1 ttl=64 time=1.27 ms 64 bytes from 192.168.15.3: icmp_seq=2 ttl=64 time=0.254 ms --- 192.168.15.3 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1000ms rtt min/avg/max/mdev = 0.254/0.766/1.278/0.512 ms |
#ping 192.168.15.3
PING 192.168.15.3 (192.168.15.3) 56(84) bytes of data. 64 bytes from 192.168.15.3: icmp_seq=1 ttl=64 time=1.27 ms 64 bytes from 192.168.15.3: icmp_seq=2 ttl=64 time=0.254 ms --- 192.168.15.3 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1000ms rtt min/avg/max/mdev = 0.254/0.766/1.278/0.512 ms |
#ping 192.168.15.3
PING 192.168.15.3 (192.168.15.3) 56(84) bytes of data. 64 bytes from 192.168.15.3: icmp_seq=1 ttl=64 time=0.243 ms 64 bytes from 192.168.15.3: icmp_seq=2 ttl=64 time=0.171 ms 64 bytes from 192.168.15.3: icmp_seq=3 ttl=64 time=0.221 ms 64 bytes from 192.168.15.3: icmp_seq=4 ttl=64 time=0.144 ms 64 bytes from 192.168.15.3: icmp_seq=5 ttl=64 time=0.190 ms 64 bytes from 192.168.15.3: icmp_seq=6 ttl=64 time=0.220 ms 64 bytes from 192.168.15.3: icmp_seq=7 ttl=64 time=0.197 ms 64 bytes from 192.168.15.3: icmp_seq=8 ttl=64 time=0.200 ms 64 bytes from 192.168.15.3: icmp_seq=9 ttl=64 time=0.246 ms 64 bytes from 192.168.15.3: icmp_seq=10 ttl=64 time=0.177 ms 64 bytes from 192.168.15.3: icmp_seq=11 ttl=64 time=0.202 ms 64 bytes from 192.168.15.3: icmp_seq=12 ttl=64 time=0.196 ms 64 bytes from 192.168.15.3: icmp_seq=13 ttl=64 time=0.156 ms 64 bytes from 192.168.15.3: icmp_seq=14 ttl=64 time=0.221 ms --- 192.168.15.3 ping statistics --- 14 packets transmitted, 14 received, 0% packet loss, time 13004ms rtt min/avg/max/mdev = 0.144/0.198/0.246/0.034 ms |
#ping 192.168.15.3
PING 192.168.15.3 (192.168.15.3) 56(84) bytes of data. 64 bytes from 192.168.15.3: icmp_seq=1 ttl=64 time=0.243 ms 64 bytes from 192.168.15.3: icmp_seq=2 ttl=64 time=0.171 ms 64 bytes from 192.168.15.3: icmp_seq=3 ttl=64 time=0.221 ms 64 bytes from 192.168.15.3: icmp_seq=4 ttl=64 time=0.144 ms 64 bytes from 192.168.15.3: icmp_seq=5 ttl=64 time=0.190 ms 64 bytes from 192.168.15.3: icmp_seq=6 ttl=64 time=0.220 ms 64 bytes from 192.168.15.3: icmp_seq=7 ttl=64 time=0.197 ms 64 bytes from 192.168.15.3: icmp_seq=8 ttl=64 time=0.200 ms 64 bytes from 192.168.15.3: icmp_seq=9 ttl=64 time=0.246 ms 64 bytes from 192.168.15.3: icmp_seq=10 ttl=64 time=0.177 ms 64 bytes from 192.168.15.3: icmp_seq=11 ttl=64 time=0.202 ms 64 bytes from 192.168.15.3: icmp_seq=12 ttl=64 time=0.196 ms 64 bytes from 192.168.15.3: icmp_seq=13 ttl=64 time=0.156 ms 64 bytes from 192.168.15.3: icmp_seq=14 ttl=64 time=0.221 ms --- 192.168.15.3 ping statistics --- 14 packets transmitted, 14 received, 0% packet loss, time 13004ms rtt min/avg/max/mdev = 0.144/0.198/0.246/0.034 ms |
#lspci
00:00.0 Host bridge: Intel Corporation 82P965/G965 Memory Controller Hub (rev 02) 00:02.0 VGA compatible controller: Intel Corporation 82G965 Integrated Graphics Controller (rev 02) 00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 02) 00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 02) 00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 02) 00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02) 00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 02) 00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 02) 00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 02) 00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 02) 00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 02) 00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 02) 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev f2) 00:1f.0 ISA bridge: Intel Corporation 82801HB/HR (ICH8/R) LPC Interface Controller (rev 02) 00:1f.2 IDE interface: Intel Corporation 82801H (ICH8 Family) 4 port SATA IDE Controller (rev 02) 00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 02) 00:1f.5 IDE interface: Intel Corporation 82801H (ICH8 Family) 2 port SATA IDE Controller (rev 02) 01:00.0 IDE interface: JMicron Technologies, Inc. JMB368 IDE controller 02:00.0 Ethernet controller: Attansic Technology Corp. L1 Gigabit Ethernet Adapter (rev b0) |
#lspci
00:00.0 Host bridge: Intel Corporation 82P965/G965 Memory Controller Hub (rev 02) 00:02.0 VGA compatible controller: Intel Corporation 82G965 Integrated Graphics Controller (rev 02) 00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 02) 00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 02) 00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 02) 00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02) 00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 02) 00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 02) 00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 02) 00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 02) 00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 02) 00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 02) 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev f2) 00:1f.0 ISA bridge: Intel Corporation 82801HB/HR (ICH8/R) LPC Interface Controller (rev 02) 00:1f.2 IDE interface: Intel Corporation 82801H (ICH8 Family) 4 port SATA IDE Controller (rev 02) 00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 02) 00:1f.5 IDE interface: Intel Corporation 82801H (ICH8 Family) 2 port SATA IDE Controller (rev 02) 01:00.0 IDE interface: JMicron Technologies, Inc. JMB368 IDE controller 02:00.0 Ethernet controller: Attansic Technology Corp. L1 Gigabit Ethernet Adapter (rev b0) |
#xm list
Name ID Mem VCPUs State Time(s) Domain-0 0 3779 2 r----- 245.5 ED1 2 256 1 -b---- 8.1 |
#xm list
Name ID Mem VCPUs State Time(s) Domain-0 0 3779 2 r----- 245.5 ED1 2 256 1 -b---- 8.1 |
#ifconfig
eth0 Link encap:Ethernet HWaddr 00:16:3e:7f:e8:4b inet addr:192.168.15.122 Bcast:192.168.15.255 Mask:255.255.255.0 inet6 addr: fe80::216:3eff:fe7f:e84b/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:163 errors:0 dropped:0 overruns:0 frame:0 TX packets:121 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:32250 (31.4 KiB) TX bytes:20280 (19.8 KiB) 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:4 errors:0 dropped:0 overruns:0 frame:0 TX packets:4 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:200 (200.0 B) TX bytes:200 (200.0 B) |
#ifconfig
eth0 Link encap:Ethernet HWaddr 00:16:3e:7f:e8:4b inet addr:192.168.15.122 Bcast:192.168.15.255 Mask:255.255.255.0 inet6 addr: fe80::216:3eff:fe7f:e84b/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:163 errors:0 dropped:0 overruns:0 frame:0 TX packets:121 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:32250 (31.4 KiB) TX bytes:20280 (19.8 KiB) 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:4 errors:0 dropped:0 overruns:0 frame:0 TX packets:4 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:200 (200.0 B) TX bytes:200 (200.0 B) |
#ifconfig
eth0 Link encap:Ethernet HWaddr 00:16:3e:7f:e8:4b inet addr:192.168.15.122 Bcast:192.168.15.255 Mask:255.255.255.0 inet6 addr: fe80::216:3eff:fe7f:e84b/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:163 errors:0 dropped:0 overruns:0 frame:0 TX packets:121 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:32250 (31.4 KiB) TX bytes:20280 (19.8 KiB) 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:4 errors:0 dropped:0 overruns:0 frame:0 TX packets:4 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:200 (200.0 B) TX bytes:200 (200.0 B) |
#lspci
|
#apt-get install cmatrix
Читання переліків пакетів... Виконано Побудова дерева залежностей Reading state information... Виконано The following packages were automatically installed and are no longer required: portmap Використовуйте 'apt-get autoremove' щоб видалити їх. Пропоновані пакунки: cmatrix-xfont НОВІ пакунки, які будуть встановлені: cmatrix ... After this operation, 106kB of additional disk space will be used. Отр:1 http://10.0.35.1 sid/main cmatrix 1.2a-4 [17,5kB] Отримано 17,5kB за 0sB (23,0kB/s) Selecting previously deselected package cmatrix. (Reading database ... 79612 files and directories currently installed.) Unpacking cmatrix (from .../cmatrix_1.2a-4_i386.deb) ... Processing triggers for menu ... Processing triggers for man-db ... Setting up cmatrix (1.2a-4) ... Processing triggers for menu ... |
#apt-get install cmatrix
Читання переліків пакетів... Виконано Побудова дерева залежностей Reading state information... Виконано The following packages were automatically installed and are no longer required: portmap Використовуйте 'apt-get autoremove' щоб видалити їх. Пропоновані пакунки: cmatrix-xfont НОВІ пакунки, які будуть встановлені: cmatrix ... After this operation, 106kB of additional disk space will be used. Отр:1 http://10.0.35.1 sid/main cmatrix 1.2a-4 [17,5kB] Отримано 17,5kB за 0sB (23,0kB/s) Selecting previously deselected package cmatrix. (Reading database ... 79612 files and directories currently installed.) Unpacking cmatrix (from .../cmatrix_1.2a-4_i386.deb) ... Processing triggers for menu ... Processing triggers for man-db ... Setting up cmatrix (1.2a-4) ... Processing triggers for menu ... |
#apt-get install cmatrix
Читання переліків пакетів... Виконано Побудова дерева залежностей Reading state information... Виконано The following packages were automatically installed and are no longer required: portmap Використовуйте 'apt-get autoremove' щоб видалити їх. Пропоновані пакунки: cmatrix-xfont НОВІ пакунки, які будуть встановлені: cmatrix ... After this operation, 106kB of additional disk space will be used. Отр:1 http://10.0.35.1 sid/main cmatrix 1.2a-4 [17,5kB] Отримано 17,5kB за 0sB (23,0kB/s) Selecting previously deselected package cmatrix. (Reading database ... 79612 files and directories currently installed.) Unpacking cmatrix (from .../cmatrix_1.2a-4_i386.deb) ... Processing triggers for menu ... Processing triggers for man-db ... Setting up cmatrix (1.2a-4) ... Processing triggers for menu ... |
#ls -l /etc/xen/ED1
ls: не вдається отримати доступ до /etc/xen/ED1: No such file or directory |
#ls -l /etc/xen/ED1
ls: не вдається отримати доступ до /etc/xen/ED1: No such file or directory |
#lspci
00:00.0 Host bridge: Intel Corporation 82P965/G965 Memory Controller Hub (rev 02) 00:02.0 VGA compatible controller: Intel Corporation 82G965 Integrated Graphics Controller (rev 02) 00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 02) 00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 02) 00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 02) 00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02) 00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 02) 00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 02) 00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 02) 00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 02) 00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 02) 00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 02) 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev f2) 00:1f.0 ISA bridge: Intel Corporation 82801HB/HR (ICH8/R) LPC Interface Controller (rev 02) 00:1f.2 IDE interface: Intel Corporation 82801H (ICH8 Family) 4 port SATA IDE Controller (rev 02) 00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 02) 00:1f.5 IDE interface: Intel Corporation 82801H (ICH8 Family) 2 port SATA IDE Controller (rev 02) 01:00.0 IDE interface: JMicron Technologies, Inc. JMB368 IDE controller 02:00.0 Ethernet controller: Attansic Technology Corp. L1 Gigabit Ethernet Adapter (rev b0) |
#lspci
00:00.0 Host bridge: Intel Corporation 82P965/G965 Memory Controller Hub (rev 02) 00:02.0 VGA compatible controller: Intel Corporation 82G965 Integrated Graphics Controller (rev 02) 00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 02) 00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 02) 00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 02) 00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02) 00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 02) 00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 02) 00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 02) 00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 02) 00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 02) 00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 02) 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev f2) 00:1f.0 ISA bridge: Intel Corporation 82801HB/HR (ICH8/R) LPC Interface Controller (rev 02) 00:1f.2 IDE interface: Intel Corporation 82801H (ICH8 Family) 4 port SATA IDE Controller (rev 02) 00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 02) 00:1f.5 IDE interface: Intel Corporation 82801H (ICH8 Family) 2 port SATA IDE Controller (rev 02) 01:00.0 IDE interface: JMicron Technologies, Inc. JMB368 IDE controller 02:00.0 Ethernet controller: Attansic Technology Corp. L1 Gigabit Ethernet Adapter (rev b0) |
#ls -l
загалом 112 -rwxr-xr-x 1 root root 253 чер 3 12:14 agent -rwxr-xr-x 1 root root 83 чер 3 11:16 all -rw-r--r-- 1 root root 0 тра 27 11:25 +%I:%M drwxr-xr-x 3 root root 4096 бер 6 2010 l1-linux-v1.2.40.0 -rwxr-xr-x 1 root root 86013 чер 5 18:23 l1-linux-v1.2.40.0.tar.gz -rw-r--r-- 1 root root 0 тра 27 11:25 LANG=uk_UA.UTF-8 drwx------ 2 root root 4096 чер 5 12:42 Mail -rw------- 1 root root 4802 чер 5 14:49 sent |
#ls -l
загалом 112 -rwxr-xr-x 1 root root 253 чер 3 12:14 agent -rwxr-xr-x 1 root root 83 чер 3 11:16 all -rw-r--r-- 1 root root 0 тра 27 11:25 +%I:%M drwxr-xr-x 3 root root 4096 бер 6 2010 l1-linux-v1.2.40.0 -rwxr-xr-x 1 root root 86013 чер 5 18:23 l1-linux-v1.2.40.0.tar.gz -rw-r--r-- 1 root root 0 тра 27 11:25 LANG=uk_UA.UTF-8 drwx------ 2 root root 4096 чер 5 12:42 Mail -rw------- 1 root root 4802 чер 5 14:49 sent |
#ls -l /etc/xen/
загалом 36 -rw-r--r-- 1 root root 199 чер 5 21:26 dom1 drwxr-xr-x 2 root root 4096 чер 5 17:18 scripts -rw-r--r-- 1 root root 8164 чер 5 21:20 xend-config.sxp -rw-r--r-- 1 root root 6938 січ 27 2008 xend-config-xenapi.sxp -rw-r--r-- 1 root root 1256 лис 13 2006 xend-pci-permissive.sxp -rw-r--r-- 1 root root 4129 лис 13 2006 xend-pci-quirks.sxp |
#ls -l /etc/xen/
загалом 36 -rw-r--r-- 1 root root 199 чер 5 21:26 dom1 drwxr-xr-x 2 root root 4096 чер 5 17:18 scripts -rw-r--r-- 1 root root 8164 чер 5 21:20 xend-config.sxp -rw-r--r-- 1 root root 6938 січ 27 2008 xend-config-xenapi.sxp -rw-r--r-- 1 root root 1256 лис 13 2006 xend-pci-permissive.sxp -rw-r--r-- 1 root root 4129 лис 13 2006 xend-pci-quirks.sxp |
#vi /etc/xen/dom1
--- /tmp/l3-saved-4115.16962.6494 2009-06-05 22:22:39.000000000 +0300 +++ /etc/xen/dom1 2009-06-05 22:22:48.000000000 +0300 @@ -1,7 +1,7 @@ kernel = "/boot/vmlinuz-2.6.18-6-xen-686" ramdisk="/boot/initrd.img-2.6.18-6-xen-686" memory = 256 -name = "ED1" +name = "dom1" vif = [ 'bridge=eth0' ] disk = [ 'phy:sdb2,sdb2,w' ] root = "/dev/sdb2 ro" |
#top
top - 22:22:50 up 21 min, 3 users, load average: 1.36, 0.54, 0.29 Tasks: 108 total, 2 running, 106 sleeping, 0 stopped, 0 zombie Cpu(s): 10.1%us, 1.6%sy, 0.0%ni, 86.0%id, 1.1%wa, 0.0%hi, 0.0%si, 1.2%st Mem: 3869696k total, 405316k used, 3464380k free, 12536k buffers PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND Swap: 0k total, 0k used, 0k free, 125836k cached 3960 root 25 0 16800 11m 1492 R 56 0.3 1:08.46 l3-agent 4612 user 15 0 169m 51m 22m S 44 1.4 0:03.06 firefox-bin 1 root 15 0 2016 696 604 S 0 0.0 0:00.12 init 2 root RT 0 0 0 0 S 0 0.0 0:00.00 migration/0 ... 6 root 10 -5 0 0 0 S 0 0.0 0:00.19 events/0 7 root 10 -5 0 0 0 S 0 0.0 0:00.00 events/1 8 root 12 -5 0 0 0 S 0 0.0 0:00.00 khelper 9 root 10 -5 0 0 0 S 0 0.0 0:00.00 kthread 11 root 11 -5 0 0 0 S 0 0.0 0:00.00 xenwatch 12 root 10 -5 0 0 0 S 0 0.0 0:00.00 xenbus 15 root 10 -5 0 0 0 S 0 0.0 0:00.00 kblockd/0 16 root 10 -5 0 0 0 S 0 0.0 0:00.00 kblockd/1 17 root 14 -5 0 0 0 S 0 0.0 0:00.00 kacpid 139 root 10 -5 0 0 0 S 0 0.0 0:00.00 kseriod |
#top
top - 22:22:50 up 21 min, 3 users, load average: 1.36, 0.54, 0.29 Tasks: 108 total, 2 running, 106 sleeping, 0 stopped, 0 zombie Cpu(s): 10.1%us, 1.6%sy, 0.0%ni, 86.0%id, 1.1%wa, 0.0%hi, 0.0%si, 1.2%st Mem: 3869696k total, 405316k used, 3464380k free, 12536k buffers PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND Swap: 0k total, 0k used, 0k free, 125836k cached 3960 root 25 0 16800 11m 1492 R 56 0.3 1:08.46 l3-agent 4612 user 15 0 169m 51m 22m S 44 1.4 0:03.06 firefox-bin 1 root 15 0 2016 696 604 S 0 0.0 0:00.12 init 2 root RT 0 0 0 0 S 0 0.0 0:00.00 migration/0 ... 6 root 10 -5 0 0 0 S 0 0.0 0:00.19 events/0 7 root 10 -5 0 0 0 S 0 0.0 0:00.00 events/1 8 root 12 -5 0 0 0 S 0 0.0 0:00.00 khelper 9 root 10 -5 0 0 0 S 0 0.0 0:00.00 kthread 11 root 11 -5 0 0 0 S 0 0.0 0:00.00 xenwatch 12 root 10 -5 0 0 0 S 0 0.0 0:00.00 xenbus 15 root 10 -5 0 0 0 S 0 0.0 0:00.00 kblockd/0 16 root 10 -5 0 0 0 S 0 0.0 0:00.00 kblockd/1 17 root 14 -5 0 0 0 S 0 0.0 0:00.00 kacpid 139 root 10 -5 0 0 0 S 0 0.0 0:00.00 kseriod |
#top
top - 22:23:03 up 21 min, 3 users, load average: 1.28, 0.56, 0.30 Tasks: 108 total, 2 running, 106 sleeping, 0 stopped, 0 zombie Cpu(s): 49.0%us, 0.5%sy, 0.0%ni, 48.5%id, 0.0%wa, 0.0%hi, 0.0%si, 2.0%st Mem: 3869696k total, 404952k used, 3464744k free, 12552k buffers PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND Swap: 0k total, 0k used, 0k free, 125916k cached 3960 root 25 0 16336 10m 1492 R 98 0.3 1:19.58 l3-agent 3502 root 16 0 41252 24m 7308 S 1 0.7 0:29.45 Xorg 1 root 15 0 2016 696 604 S 0 0.0 0:00.12 init 2 root RT 0 0 0 0 S 0 0.0 0:00.00 migration/0 ... 6 root 10 -5 0 0 0 S 0 0.0 0:00.19 events/0 7 root 10 -5 0 0 0 S 0 0.0 0:00.00 events/1 8 root 12 -5 0 0 0 S 0 0.0 0:00.00 khelper 9 root 10 -5 0 0 0 S 0 0.0 0:00.00 kthread 11 root 11 -5 0 0 0 S 0 0.0 0:00.00 xenwatch 12 root 10 -5 0 0 0 S 0 0.0 0:00.00 xenbus 15 root 10 -5 0 0 0 S 0 0.0 0:00.00 kblockd/0 16 root 10 -5 0 0 0 S 0 0.0 0:00.00 kblockd/1 17 root 14 -5 0 0 0 S 0 0.0 0:00.00 kacpid 139 root 10 -5 0 0 0 S 0 0.0 0:00.00 kseriod |
#top
top - 22:23:03 up 21 min, 3 users, load average: 1.28, 0.56, 0.30 Tasks: 108 total, 2 running, 106 sleeping, 0 stopped, 0 zombie Cpu(s): 49.0%us, 0.5%sy, 0.0%ni, 48.5%id, 0.0%wa, 0.0%hi, 0.0%si, 2.0%st Mem: 3869696k total, 404952k used, 3464744k free, 12552k buffers PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND Swap: 0k total, 0k used, 0k free, 125916k cached 3960 root 25 0 16336 10m 1492 R 98 0.3 1:19.58 l3-agent 3502 root 16 0 41252 24m 7308 S 1 0.7 0:29.45 Xorg 1 root 15 0 2016 696 604 S 0 0.0 0:00.12 init 2 root RT 0 0 0 0 S 0 0.0 0:00.00 migration/0 ... 6 root 10 -5 0 0 0 S 0 0.0 0:00.19 events/0 7 root 10 -5 0 0 0 S 0 0.0 0:00.00 events/1 8 root 12 -5 0 0 0 S 0 0.0 0:00.00 khelper 9 root 10 -5 0 0 0 S 0 0.0 0:00.00 kthread 11 root 11 -5 0 0 0 S 0 0.0 0:00.00 xenwatch 12 root 10 -5 0 0 0 S 0 0.0 0:00.00 xenbus 15 root 10 -5 0 0 0 S 0 0.0 0:00.00 kblockd/0 16 root 10 -5 0 0 0 S 0 0.0 0:00.00 kblockd/1 17 root 14 -5 0 0 0 S 0 0.0 0:00.00 kacpid 139 root 10 -5 0 0 0 S 0 0.0 0:00.00 kseriod |
#top
top - 22:23:10 up 21 min, 3 users, load average: 1.26, 0.56, 0.31 Tasks: 108 total, 2 running, 106 sleeping, 0 stopped, 0 zombie Cpu(s): 10.6%us, 1.7%sy, 0.0%ni, 85.2%id, 1.0%wa, 0.0%hi, 0.0%si, 1.5%st Mem: 3869696k total, 404348k used, 3465348k free, 12560k buffers PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND Swap: 0k total, 0k used, 0k free, 125928k cached 3960 root 25 0 15684 10m 1492 R 88 0.3 1:24.64 l3-agent 3502 root 15 0 41252 24m 7308 S 12 0.7 0:29.63 Xorg 1 root 15 0 2016 696 604 S 0 0.0 0:00.12 init 2 root RT 0 0 0 0 S 0 0.0 0:00.00 migration/0 ... 6 root 10 -5 0 0 0 S 0 0.0 0:00.19 events/0 7 root 10 -5 0 0 0 S 0 0.0 0:00.00 events/1 8 root 12 -5 0 0 0 S 0 0.0 0:00.00 khelper 9 root 10 -5 0 0 0 S 0 0.0 0:00.00 kthread 11 root 11 -5 0 0 0 S 0 0.0 0:00.00 xenwatch 12 root 10 -5 0 0 0 S 0 0.0 0:00.00 xenbus 15 root 10 -5 0 0 0 S 0 0.0 0:00.00 kblockd/0 16 root 10 -5 0 0 0 S 0 0.0 0:00.00 kblockd/1 17 root 14 -5 0 0 0 S 0 0.0 0:00.00 kacpid 139 root 10 -5 0 0 0 S 0 0.0 0:00.00 kseriod |
Время первой команды журнала | 22:00:09 2009- 6- 5 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 22:23:07 2009- 6- 5 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 17.82 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 4.95 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 0.38 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 4.40 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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