/l3/users/vmk64646464/nt-scale/debian4.unix.nt/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 |
|
#brctl show
bridge name bridge id STP enabled interfaces eth0 8000.000ffe7ea77b no peth0 |
#ping 10.0.1.1
PING 10.0.1.1 (10.0.1.1) 56(84) bytes of data. 64 bytes from 10.0.1.1: icmp_req=1 ttl=127 time=1.09 ms 64 bytes from 10.0.1.1: icmp_req=2 ttl=127 time=0.614 ms 64 bytes from 10.0.1.1: icmp_req=3 ttl=127 time=0.697 ms ^C --- 10.0.1.1 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2001ms rtt min/avg/max/mdev = 0.614/0.802/1.095/0.209 ms |
#ping 10.0.1.1
PING 10.0.1.1 (10.0.1.1) 56(84) bytes of data. 64 bytes from 10.0.1.1: icmp_req=1 ttl=127 time=1.09 ms 64 bytes from 10.0.1.1: icmp_req=2 ttl=127 time=0.614 ms 64 bytes from 10.0.1.1: icmp_req=3 ttl=127 time=0.697 ms ^C --- 10.0.1.1 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2001ms rtt min/avg/max/mdev = 0.614/0.802/1.095/0.209 ms |
#history| grep brctl
26 brctl show 127 brctl show 136 brctl show 156 brctl show 157 brctl show 259 brctl show 264 brctl show 415 brctl show 474 brctl show 479 brctl show 481 brctl show 498 brctl show 501 brctl show 502 history| grep brctl |
#history| grep brctl
26 brctl show 127 brctl show 136 brctl show 156 brctl show 157 brctl show 259 brctl show 264 brctl show 415 brctl show 474 brctl show 479 brctl show 481 brctl show 498 brctl show 501 brctl show 502 history| grep brctl |
#brctl
Usage: brctl [commands] commands: addbr <bridge> add bridge delbr <bridge> delete bridge addif <bridge> <device> add interface to bridge delif <bridge> <device> delete interface from bridge setageing <bridge> <time> set ageing time setbridgeprio <bridge> <prio> set bridge priority setfd <bridge> <time> set bridge forward delay sethello <bridge> <time> set hello time setmaxage <bridge> <time> set max message age setpathcost <bridge> <port> <cost> set path cost setportprio <bridge> <port> <prio> set port priority show show a list of bridges showmacs <bridge> show a list of mac addrs showstp <bridge> show bridge stp info stp <bridge> {on|off} turn stp on/off |
#brctl
Usage: brctl [commands] commands: addbr <bridge> add bridge delbr <bridge> delete bridge addif <bridge> <device> add interface to bridge delif <bridge> <device> delete interface from bridge setageing <bridge> <time> set ageing time setbridgeprio <bridge> <prio> set bridge priority setfd <bridge> <time> set bridge forward delay sethello <bridge> <time> set hello time setmaxage <bridge> <time> set max message age setpathcost <bridge> <port> <cost> set path cost setportprio <bridge> <port> <prio> set port priority show show a list of bridges showmacs <bridge> show a list of mac addrs showstp <bridge> show bridge stp info stp <bridge> {on|off} turn stp on/off |
#brctl show
bridge name bridge id STP enabled interfaces br40 8000.000ffe7ea77b no eth0.40 |
#brctl show
bridge name bridge id STP enabled interfaces br40 8000.000ffe7ea77b no eth0.40 |
#By default, no frame buffer device is configured.
"/etc/xen/dom1" 212L, 7537C # Number of Virtual CPUS to use, default is 1 #vcpus = 1 #---------------------------------------------------------------------------- # Define network interfaces. # By default, no network interfaces are configured. You may have one created # with sensible defaults using an empty vif clause: # # vif = [ '' ] # ... # Define the disk devices you want the domain to have access to, and # what you want them accessible as. # Each disk entry is of the form phy:UNAME,DEV,MODE # whe [ UNAME i=br40' ] # and MODE is r for read-only, w for read-write. disk = [ 'phy:/dev/VG0/vol1,xvda1,w' ] #---------------------------------------------------------------------------- # Define frame buffer device. # "/etc/xen/dom1" 212L, 7537C записано |
#By default, no frame buffer device is configured.
# -*- mode: python; -*- #============================================================================ # Python configuration setup for 'xm create'. # This script sets the parameters used when a domain is created using 'xm create'. # You use a separate script for each domain you want to create, or # you can set the parameters for the domain on the xm command line. #============================================================================ #---------------------------------------------------------------------------- # Kernel image file. kernel = "/boot/vmlinuz-3.2.7" ... # Define the disk devices you want the domain to have access to, and # what you want them accessible as. # Each disk entry is of the form phy:UNAME,DEV,MODE # where UNAME is the device, DEV is the device name the domain will see, # and MODE is r for read-only, w for read-write. disk = [ 'phy:/dev/VG0/vol1,xvda1,w' ] #---------------------------------------------------------------------------- # Define frame buffer device. # # By default, no frame buffer device is configured. |
#ping 10.0.1.1
PING 10.0.1.1 (10.0.1.1) 56(84) bytes of data. 64 bytes from 10.0.1.1: icmp_req=1 ttl=127 time=1.30 ms 64 bytes from 10.0.1.1: icmp_req=2 ttl=127 time=0.784 ms 64 bytes from 10.0.1.1: icmp_req=3 ttl=127 time=0.807 ms 64 bytes from 10.0.1.1: icmp_req=4 ttl=127 time=0.779 ms 64 bytes from 10.0.1.1: icmp_req=5 ttl=127 time=0.802 ms ^C --- 10.0.1.1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4006ms rtt min/avg/max/mdev = 0.779/0.894/1.300/0.204 ms |
#ping 10.0.1.1
PING 10.0.1.1 (10.0.1.1) 56(84) bytes of data. 64 bytes from 10.0.1.1: icmp_req=1 ttl=127 time=1.30 ms 64 bytes from 10.0.1.1: icmp_req=2 ttl=127 time=0.784 ms 64 bytes from 10.0.1.1: icmp_req=3 ttl=127 time=0.807 ms 64 bytes from 10.0.1.1: icmp_req=4 ttl=127 time=0.779 ms 64 bytes from 10.0.1.1: icmp_req=5 ttl=127 time=0.802 ms ^C --- 10.0.1.1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4006ms rtt min/avg/max/mdev = 0.779/0.894/1.300/0.204 ms |
#ifconfig
eth0 Link encap:Ethernet HWaddr 00:0f:fe:7e:a7:7b inet addr:10.0.35.44 Bcast:10.0.35.255 Mask:255.255.255.0 inet6 addr: fe80::20f:feff:fe7e:a77b/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:10216 errors:0 dropped:5 overruns:0 frame:0 TX packets:894 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:972830 (950.0 KiB) TX bytes:95298 (93.0 KiB) Interrupt:19 Memory:f0180000-f01a0000 eth0.10 Link encap:Ethernet HWaddr 00:0f:fe:7e:a7:7b ... collisions:0 txqueuelen:0 RX bytes:5364 (5.2 KiB) TX bytes:6386 (6.2 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:14 errors:0 dropped:0 overruns:0 frame:0 TX packets:14 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:900 (900.0 B) TX bytes:900 (900.0 B) |
#ifconfig
eth0 Link encap:Ethernet HWaddr 00:0f:fe:7e:a7:7b inet addr:10.0.35.44 Bcast:10.0.35.255 Mask:255.255.255.0 inet6 addr: fe80::20f:feff:fe7e:a77b/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:10216 errors:0 dropped:5 overruns:0 frame:0 TX packets:894 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:972830 (950.0 KiB) TX bytes:95298 (93.0 KiB) Interrupt:19 Memory:f0180000-f01a0000 eth0.10 Link encap:Ethernet HWaddr 00:0f:fe:7e:a7:7b ... collisions:0 txqueuelen:0 RX bytes:5364 (5.2 KiB) TX bytes:6386 (6.2 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:14 errors:0 dropped:0 overruns:0 frame:0 TX packets:14 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:900 (900.0 B) TX bytes:900 (900.0 B) |
#ping 192.168.10.1
PING 192.168.10.1 (192.168.10.1) 56(84) bytes of data. From 192.168.10.4 icmp_seq=1 Destination Host Unreachable From 192.168.10.4 icmp_seq=2 Destination Host Unreachable From 192.168.10.4 icmp_seq=3 Destination Host Unreachable ^C --- 192.168.10.1 ping statistics --- 4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 3014ms pipe 3 |
#ping 192.168.10.1
PING 192.168.10.1 (192.168.10.1) 56(84) bytes of data. From 192.168.10.4 icmp_seq=1 Destination Host Unreachable From 192.168.10.4 icmp_seq=2 Destination Host Unreachable From 192.168.10.4 icmp_seq=3 Destination Host Unreachable ^C --- 192.168.10.1 ping statistics --- 4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 3014ms pipe 3 |
#ping 192.168.40.3
PING 192.168.40.3 (192.168.40.3) 56(84) bytes of data. ^C --- 192.168.40.3 ping statistics --- 3 packets transmitted, 0 received, 100% packet loss, time 1999ms |
#ping 192.168.40.3
PING 192.168.40.3 (192.168.40.3) 56(84) bytes of data. ^C --- 192.168.40.3 ping statistics --- 3 packets transmitted, 0 received, 100% packet loss, time 1999ms |
#ping 192.168.10.203
PING 192.168.10.203 (192.168.10.203) 56(84) bytes of data. 64 bytes from 192.168.10.203: icmp_req=1 ttl=64 time=14.2 ms 64 bytes from 192.168.10.203: icmp_req=2 ttl=64 time=11.9 ms ^C --- 192.168.10.203 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1001ms rtt min/avg/max/mdev = 11.962/13.083/14.204/1.121 ms |
#ping 192.168.10.203
PING 192.168.10.203 (192.168.10.203) 56(84) bytes of data. 64 bytes from 192.168.10.203: icmp_req=1 ttl=64 time=14.2 ms 64 bytes from 192.168.10.203: icmp_req=2 ttl=64 time=11.9 ms ^C --- 192.168.10.203 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1001ms rtt min/avg/max/mdev = 11.962/13.083/14.204/1.121 ms |
#ping 192.168.40.203
PING 192.168.40.203 (192.168.40.203) 56(84) bytes of data. From 192.168.40.4 icmp_seq=1 Destination Host Unreachable From 192.168.40.4 icmp_seq=2 Destination Host Unreachable From 192.168.40.4 icmp_seq=3 Destination Host Unreachable ^C --- 192.168.40.203 ping statistics --- 5 packets transmitted, 0 received, +3 errors, 100% packet loss, time 4023ms pipe 3 |
#ping 192.168.40.203
PING 192.168.40.203 (192.168.40.203) 56(84) bytes of data. From 192.168.40.4 icmp_seq=1 Destination Host Unreachable From 192.168.40.4 icmp_seq=2 Destination Host Unreachable From 192.168.40.4 icmp_seq=3 Destination Host Unreachable ^C --- 192.168.40.203 ping statistics --- 5 packets transmitted, 0 received, +3 errors, 100% packet loss, time 4023ms pipe 3 |
#ping 192.168.40.203
PING 192.168.40.203 (192.168.40.203) 56(84) bytes of data. From 192.168.40.4 icmp_seq=1 Destination Host Unreachable From 192.168.40.4 icmp_seq=2 Destination Host Unreachable From 192.168.40.4 icmp_seq=3 Destination Host Unreachable From 192.168.40.4 icmp_seq=4 Destination Host Unreachable ^C --- 192.168.40.203 ping statistics --- 7 packets transmitted, 0 received, +4 errors, 100% packet loss, time 6031ms pipe 3 |
#ping 192.168.40.203
PING 192.168.40.203 (192.168.40.203) 56(84) bytes of data. From 192.168.40.4 icmp_seq=1 Destination Host Unreachable From 192.168.40.4 icmp_seq=2 Destination Host Unreachable From 192.168.40.4 icmp_seq=3 Destination Host Unreachable From 192.168.40.4 icmp_seq=4 Destination Host Unreachable ^C --- 192.168.40.203 ping statistics --- 7 packets transmitted, 0 received, +4 errors, 100% packet loss, time 6031ms pipe 3 |
#ifconfig
eth0 Link encap:Ethernet HWaddr 00:0f:fe:7e:a7:7b inet addr:10.0.35.44 Bcast:10.0.35.255 Mask:255.255.255.0 inet6 addr: fe80::20f:feff:fe7e:a77b/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:12496 errors:0 dropped:11 overruns:0 frame:0 TX packets:959 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1159197 (1.1 MiB) TX bytes:99872 (97.5 KiB) Interrupt:19 Memory:f0180000-f01a0000 eth0.10 Link encap:Ethernet HWaddr 00:0f:fe:7e:a7:7b ... collisions:0 txqueuelen:0 RX bytes:6088 (5.9 KiB) TX bytes:7016 (6.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:33 errors:0 dropped:0 overruns:0 frame:0 TX packets:33 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:3028 (2.9 KiB) TX bytes:3028 (2.9 KiB) |
#ifconfig
eth0 Link encap:Ethernet HWaddr 00:0f:fe:7e:a7:7b inet addr:10.0.35.44 Bcast:10.0.35.255 Mask:255.255.255.0 inet6 addr: fe80::20f:feff:fe7e:a77b/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:12496 errors:0 dropped:11 overruns:0 frame:0 TX packets:959 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1159197 (1.1 MiB) TX bytes:99872 (97.5 KiB) Interrupt:19 Memory:f0180000-f01a0000 eth0.10 Link encap:Ethernet HWaddr 00:0f:fe:7e:a7:7b ... collisions:0 txqueuelen:0 RX bytes:6088 (5.9 KiB) TX bytes:7016 (6.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:33 errors:0 dropped:0 overruns:0 frame:0 TX packets:33 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:3028 (2.9 KiB) TX bytes:3028 (2.9 KiB) |
#brctl show
bridge name bridge id STP enabled interfaces br40 8000.000ffe7ea77b no eth0.40 |
#brctl show
bridge name bridge id STP enabled interfaces br40 8000.000ffe7ea77b no eth0.40 |
#ifconfig
br40 Link encap:Ethernet HWaddr 00:0f:fe:7e:a7:7b inet addr:192.168.40.4 Bcast:192.168.40.255 Mask:255.255.255.0 inet6 addr: fe80::20f:feff:fe7e:a77b/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:26 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:5239 (5.1 KiB) eth0 Link encap:Ethernet HWaddr 00:0f:fe:7e:a7:7b inet addr:10.0.35.44 Bcast:10.0.35.255 Mask:255.255.255.0 ... collisions:0 txqueuelen:0 RX bytes:6088 (5.9 KiB) TX bytes:12495 (12.2 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:33 errors:0 dropped:0 overruns:0 frame:0 TX packets:33 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:3028 (2.9 KiB) TX bytes:3028 (2.9 KiB) |
#ifconfig
br40 Link encap:Ethernet HWaddr 00:0f:fe:7e:a7:7b inet addr:192.168.40.4 Bcast:192.168.40.255 Mask:255.255.255.0 inet6 addr: fe80::20f:feff:fe7e:a77b/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:26 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:5239 (5.1 KiB) eth0 Link encap:Ethernet HWaddr 00:0f:fe:7e:a7:7b inet addr:10.0.35.44 Bcast:10.0.35.255 Mask:255.255.255.0 ... collisions:0 txqueuelen:0 RX bytes:6088 (5.9 KiB) TX bytes:12495 (12.2 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:33 errors:0 dropped:0 overruns:0 frame:0 TX packets:33 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:3028 (2.9 KiB) TX bytes:3028 (2.9 KiB) |
#ping 192.168.10.1
PING 192.168.10.1 (192.168.10.1) 56(84) bytes of data. 64 bytes from 192.168.10.1: icmp_req=1 ttl=64 time=1.05 ms 64 bytes from 192.168.10.1: icmp_req=2 ttl=64 time=0.498 ms 64 bytes from 192.168.10.1: icmp_req=3 ttl=64 time=0.550 ms ^C --- 192.168.10.1 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2000ms rtt min/avg/max/mdev = 0.498/0.702/1.058/0.252 ms |
#ping 192.168.10.1
PING 192.168.10.1 (192.168.10.1) 56(84) bytes of data. 64 bytes from 192.168.10.1: icmp_req=1 ttl=64 time=1.05 ms 64 bytes from 192.168.10.1: icmp_req=2 ttl=64 time=0.498 ms 64 bytes from 192.168.10.1: icmp_req=3 ttl=64 time=0.550 ms ^C --- 192.168.10.1 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2000ms rtt min/avg/max/mdev = 0.498/0.702/1.058/0.252 ms |
#ping 192.168.40.3
PING 192.168.40.3 (192.168.40.3) 56(84) bytes of data. 64 bytes from 192.168.40.3: icmp_req=1 ttl=64 time=1.05 ms 64 bytes from 192.168.40.3: icmp_req=2 ttl=64 time=0.553 ms 64 bytes from 192.168.40.3: icmp_req=3 ttl=64 time=0.544 ms ^C --- 192.168.40.3 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2002ms rtt min/avg/max/mdev = 0.544/0.716/1.053/0.239 ms |
#ping 192.168.40.3
PING 192.168.40.3 (192.168.40.3) 56(84) bytes of data. 64 bytes from 192.168.40.3: icmp_req=1 ttl=64 time=1.05 ms 64 bytes from 192.168.40.3: icmp_req=2 ttl=64 time=0.553 ms 64 bytes from 192.168.40.3: icmp_req=3 ttl=64 time=0.544 ms ^C --- 192.168.40.3 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2002ms rtt min/avg/max/mdev = 0.544/0.716/1.053/0.239 ms |
#xm list
Name ID Mem VCPUs State Time(s) Domain-0 0 7365 2 r----- 66.6 dom1 1 128 1 -b---- 2.1 |
#xm list
Name ID Mem VCPUs State Time(s) Domain-0 0 7365 2 r----- 66.6 dom1 1 128 1 -b---- 2.1 |
#ping 192.168.40.14
PING 192.168.40.14 (192.168.40.14) 56(84) bytes of data. 64 bytes from 192.168.40.14: icmp_req=1 ttl=64 time=0.106 ms 64 bytes from 192.168.40.14: icmp_req=2 ttl=64 time=0.063 ms 64 bytes from 192.168.40.14: icmp_req=3 ttl=64 time=0.055 ms 64 bytes from 192.168.40.14: icmp_req=4 ttl=64 time=0.071 ms 64 bytes from 192.168.40.14: icmp_req=5 ttl=64 time=0.097 ms 64 bytes from 192.168.40.14: icmp_req=6 ttl=64 time=0.076 ms ^C --- 192.168.40.14 ping statistics --- 6 packets transmitted, 6 received, 0% packet loss, time 4997ms rtt min/avg/max/mdev = 0.055/0.078/0.106/0.018 ms |
#ping 192.168.40.14
PING 192.168.40.14 (192.168.40.14) 56(84) bytes of data. 64 bytes from 192.168.40.14: icmp_req=1 ttl=64 time=0.106 ms 64 bytes from 192.168.40.14: icmp_req=2 ttl=64 time=0.063 ms 64 bytes from 192.168.40.14: icmp_req=3 ttl=64 time=0.055 ms 64 bytes from 192.168.40.14: icmp_req=4 ttl=64 time=0.071 ms 64 bytes from 192.168.40.14: icmp_req=5 ttl=64 time=0.097 ms 64 bytes from 192.168.40.14: icmp_req=6 ttl=64 time=0.076 ms ^C --- 192.168.40.14 ping statistics --- 6 packets transmitted, 6 received, 0% packet loss, time 4997ms rtt min/avg/max/mdev = 0.055/0.078/0.106/0.018 ms |
#xm attach dom1
Error: Subcommand attach not found! Usage: xm <subcommand> [args] Control, list, and manipulate Xen guest instances. Common 'xm' commands: console Attach to <Domain>'s console. vncviewer Attach to <Domain>'s VNC server. create Create a domain based on <ConfigFile>. new Adds a domain to Xend domain management delete Remove a domain from Xend domain management. destroy Terminate a domain immediately. ... unpause Unpause a paused domain. uptime Print uptime for all/some domains. usb-add Add the usb device to FV VM. usb-del Delete the usb device to FV VM. vcpu-set Set the number of active VCPUs for allowed for the domain. <Domain> can either be the Domain Name or Id. For more help on 'xm' see the xm(1) man page. For more help on 'xm create' see the xmdomain.cfg(5) man page. For a complete list of subcommands run 'xm help'. |
#xm attach dom1
Error: Subcommand attach not found! Usage: xm <subcommand> [args] Control, list, and manipulate Xen guest instances. Common 'xm' commands: console Attach to <Domain>'s console. vncviewer Attach to <Domain>'s VNC server. create Create a domain based on <ConfigFile>. new Adds a domain to Xend domain management delete Remove a domain from Xend domain management. destroy Terminate a domain immediately. ... unpause Unpause a paused domain. uptime Print uptime for all/some domains. usb-add Add the usb device to FV VM. usb-del Delete the usb device to FV VM. vcpu-set Set the number of active VCPUs for allowed for the domain. <Domain> can either be the Domain Name or Id. For more help on 'xm' see the xm(1) man page. For more help on 'xm create' see the xmdomain.cfg(5) man page. For a complete list of subcommands run 'xm help'. |
#ping 192.168.40.14
PING 192.168.40.14 (192.168.40.14) 56(84) bytes of data. 64 bytes from 192.168.40.14: icmp_req=1 ttl=64 time=0.103 ms 64 bytes from 192.168.40.14: icmp_req=2 ttl=64 time=0.083 ms 64 bytes from 192.168.40.14: icmp_req=3 ttl=64 time=0.075 ms ^C --- 192.168.40.14 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2000ms rtt min/avg/max/mdev = 0.075/0.087/0.103/0.011 ms |
#ping 192.168.40.14
PING 192.168.40.14 (192.168.40.14) 56(84) bytes of data. 64 bytes from 192.168.40.14: icmp_req=1 ttl=64 time=0.103 ms 64 bytes from 192.168.40.14: icmp_req=2 ttl=64 time=0.083 ms 64 bytes from 192.168.40.14: icmp_req=3 ttl=64 time=0.075 ms ^C --- 192.168.40.14 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2000ms rtt min/avg/max/mdev = 0.075/0.087/0.103/0.011 ms |
#ifconfig
br40 Link encap:Ethernet HWaddr 00:0f:fe:7e:a7:7b inet addr:192.168.40.4 Bcast:192.168.40.255 Mask:255.255.255.0 inet6 addr: fe80::20f:feff:fe7e:a77b/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:69 errors:0 dropped:0 overruns:0 frame:0 TX packets:93 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:7992 (7.8 KiB) TX bytes:13114 (12.8 KiB) eth0 Link encap:Ethernet HWaddr 00:0f:fe:7e:a7:7b inet addr:10.0.35.44 Bcast:10.0.35.255 Mask:255.255.255.0 ... TX packets:33 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:3028 (2.9 KiB) TX bytes:3028 (2.9 KiB) vif1.0 Link encap:Ethernet HWaddr fe:ff:ff:ff:ff:ff inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1 RX packets:62 errors:0 dropped:0 overruns:0 frame:0 TX packets:60 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:32 RX bytes:7478 (7.3 KiB) TX bytes:8577 (8.3 KiB) |
#ifconfig
br40 Link encap:Ethernet HWaddr 00:0f:fe:7e:a7:7b inet addr:192.168.40.4 Bcast:192.168.40.255 Mask:255.255.255.0 inet6 addr: fe80::20f:feff:fe7e:a77b/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:69 errors:0 dropped:0 overruns:0 frame:0 TX packets:93 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:7992 (7.8 KiB) TX bytes:13114 (12.8 KiB) eth0 Link encap:Ethernet HWaddr 00:0f:fe:7e:a7:7b inet addr:10.0.35.44 Bcast:10.0.35.255 Mask:255.255.255.0 ... TX packets:33 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:3028 (2.9 KiB) TX bytes:3028 (2.9 KiB) vif1.0 Link encap:Ethernet HWaddr fe:ff:ff:ff:ff:ff inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1 RX packets:62 errors:0 dropped:0 overruns:0 frame:0 TX packets:60 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:32 RX bytes:7478 (7.3 KiB) TX bytes:8577 (8.3 KiB) |
#history|grep brctl
127 brctl show 136 brctl show 156 brctl show 157 brctl show 259 brctl show 264 brctl show 415 brctl show 474 brctl show 479 brctl show 481 brctl show 498 brctl show 501 brctl show 502 history| grep brctl 503 brctl addif br40 eth0.40 504 brctl 505 brctl addbr br40 506 brctl addif br40 eth0.40 507 brctl show 518 brctl show 543 history|grep brctl |
#history|grep brctl
127 brctl show 136 brctl show 156 brctl show 157 brctl show 259 brctl show 264 brctl show 415 brctl show 474 brctl show 479 brctl show 481 brctl show 498 brctl show 501 brctl show 502 history| grep brctl 503 brctl addif br40 eth0.40 504 brctl 505 brctl addbr br40 506 brctl addif br40 eth0.40 507 brctl show 518 brctl show 543 history|grep brctl |
#vi /etc/network/interfaces
--- /tmp/l3-saved-2715.1258.14895 2012-02-24 12:31:38.000000000 +0200 +++ /etc/network/interfaces 2012-02-24 12:32:54.000000000 +0200 @@ -22,6 +22,12 @@ address 192.168.10.4 netmask 255.255.255.0 -iface eth0.40 inet static - address 192.168.40.4 - netmask 255.255.255.0 +#iface eth0.40 inet static +# address 192.168.40.4 +# netmask 255.255.255.0 + +iface eth0.40 inet manual + up brctl addbr br40 + up brctl addif br40 eth0.40 + up ifconfig br10 192.168.40.4 255.255.255.0 + |
#vi /etc/sysctl.conf
--- /tmp/l3-saved-2715.4286.20712 2012-02-24 12:33:12.000000000 +0200 +++ /etc/sysctl.conf 2012-02-24 12:33:36.000000000 +0200 @@ -25,7 +25,7 @@ #net.ipv4.tcp_syncookies=1 # Uncomment the next line to enable packet forwarding for IPv4 -#net.ipv4.ip_forward=1 +net.ipv4.ip_forward=1 # Uncomment the next line to enable packet forwarding for IPv6 # Enabling this option disables Stateless Address Autoconfiguration |
#xm list
Name ID Mem VCPUs State Time(s) Domain-0 0 7365 2 r----- 30.6 dom1 1 128 1 -b---- 0.0 |
#xm list
Name ID Mem VCPUs State Time(s) Domain-0 0 7365 2 r----- 30.6 dom1 1 128 1 -b---- 0.0 |
#ifconfig
eth0 Link encap:Ethernet HWaddr 00:0f:fe:7e:a7:7b inet addr:10.0.35.44 Bcast:10.0.35.255 Mask:255.255.255.0 inet6 addr: fe80::20f:feff:fe7e:a77b/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2120 errors:0 dropped:0 overruns:0 frame:0 TX packets:212 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:180737 (176.5 KiB) TX bytes:25264 (24.6 KiB) Interrupt:19 Memory:f0180000-f01a0000 eth0.10 Link encap:Ethernet HWaddr 00:0f:fe:7e:a7:7b ... TX packets:12 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:800 (800.0 B) TX bytes:800 (800.0 B) vif1.0 Link encap:Ethernet HWaddr fe:ff:ff:ff:ff:ff inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1 RX packets:2 errors:0 dropped:0 overruns:0 frame:0 TX packets:16 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:32 RX bytes:100 (100.0 B) TX bytes:3047 (2.9 KiB) |
#ifconfig
eth0 Link encap:Ethernet HWaddr 00:0f:fe:7e:a7:7b inet addr:10.0.35.44 Bcast:10.0.35.255 Mask:255.255.255.0 inet6 addr: fe80::20f:feff:fe7e:a77b/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2120 errors:0 dropped:0 overruns:0 frame:0 TX packets:212 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:180737 (176.5 KiB) TX bytes:25264 (24.6 KiB) Interrupt:19 Memory:f0180000-f01a0000 eth0.10 Link encap:Ethernet HWaddr 00:0f:fe:7e:a7:7b ... TX packets:12 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:800 (800.0 B) TX bytes:800 (800.0 B) vif1.0 Link encap:Ethernet HWaddr fe:ff:ff:ff:ff:ff inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1 RX packets:2 errors:0 dropped:0 overruns:0 frame:0 TX packets:16 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:32 RX bytes:100 (100.0 B) TX bytes:3047 (2.9 KiB) |
#xm list
Name ID Mem VCPUs State Time(s) Domain-0 0 7365 2 r----- 31.8 dom1 1 128 1 -b---- 0.0 |
#xm list
Name ID Mem VCPUs State Time(s) Domain-0 0 7365 2 r----- 31.8 dom1 1 128 1 -b---- 0.0 |
#ping 192.168.40.14
PING 192.168.40.14 (192.168.40.14) 56(84) bytes of data. ^C --- 192.168.40.14 ping statistics --- 6 packets transmitted, 0 received, 100% packet loss, time 5038ms |
#ping 192.168.40.14
PING 192.168.40.14 (192.168.40.14) 56(84) bytes of data. ^C --- 192.168.40.14 ping statistics --- 6 packets transmitted, 0 received, 100% packet loss, time 5038ms |
#brctl show
bridge name bridge id STP enabled interfaces br40 8000.000ffe7ea77b no eth0.40 vif1.0 |
#brctl show
bridge name bridge id STP enabled interfaces br40 8000.000ffe7ea77b no eth0.40 vif1.0 |
#ifconfig
eth0 Link encap:Ethernet HWaddr 00:0f:fe:7e:a7:7b inet addr:10.0.35.44 Bcast:10.0.35.255 Mask:255.255.255.0 inet6 addr: fe80::20f:feff:fe7e:a77b/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:3313 errors:0 dropped:0 overruns:0 frame:0 TX packets:241 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:278113 (271.5 KiB) TX bytes:28052 (27.3 KiB) Interrupt:19 Memory:f0180000-f01a0000 eth0.10 Link encap:Ethernet HWaddr 00:0f:fe:7e:a7:7b ... TX packets:12 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:800 (800.0 B) TX bytes:800 (800.0 B) vif1.0 Link encap:Ethernet HWaddr fe:ff:ff:ff:ff:ff inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1 RX packets:2 errors:0 dropped:0 overruns:0 frame:0 TX packets:16 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:32 RX bytes:100 (100.0 B) TX bytes:3047 (2.9 KiB) |
#ifconfig
eth0 Link encap:Ethernet HWaddr 00:0f:fe:7e:a7:7b inet addr:10.0.35.44 Bcast:10.0.35.255 Mask:255.255.255.0 inet6 addr: fe80::20f:feff:fe7e:a77b/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:3313 errors:0 dropped:0 overruns:0 frame:0 TX packets:241 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:278113 (271.5 KiB) TX bytes:28052 (27.3 KiB) Interrupt:19 Memory:f0180000-f01a0000 eth0.10 Link encap:Ethernet HWaddr 00:0f:fe:7e:a7:7b ... TX packets:12 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:800 (800.0 B) TX bytes:800 (800.0 B) vif1.0 Link encap:Ethernet HWaddr fe:ff:ff:ff:ff:ff inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1 RX packets:2 errors:0 dropped:0 overruns:0 frame:0 TX packets:16 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:32 RX bytes:100 (100.0 B) TX bytes:3047 (2.9 KiB) |
#ifconfig
eth0 Link encap:Ethernet HWaddr 00:0f:fe:7e:a7:7b inet addr:10.0.35.44 Bcast:10.0.35.255 Mask:255.255.255.0 inet6 addr: fe80::20f:feff:fe7e:a77b/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:3578 errors:0 dropped:0 overruns:0 frame:0 TX packets:243 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:300725 (293.6 KiB) TX bytes:28200 (27.5 KiB) Interrupt:19 Memory:f0180000-f01a0000 eth0.10 Link encap:Ethernet HWaddr 00:0f:fe:7e:a7:7b ... TX packets:12 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:800 (800.0 B) TX bytes:800 (800.0 B) vif1.0 Link encap:Ethernet HWaddr fe:ff:ff:ff:ff:ff inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1 RX packets:2 errors:0 dropped:0 overruns:0 frame:0 TX packets:16 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:32 RX bytes:100 (100.0 B) TX bytes:3047 (2.9 KiB) |
#ifconfig
eth0 Link encap:Ethernet HWaddr 00:0f:fe:7e:a7:7b inet addr:10.0.35.44 Bcast:10.0.35.255 Mask:255.255.255.0 inet6 addr: fe80::20f:feff:fe7e:a77b/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:3578 errors:0 dropped:0 overruns:0 frame:0 TX packets:243 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:300725 (293.6 KiB) TX bytes:28200 (27.5 KiB) Interrupt:19 Memory:f0180000-f01a0000 eth0.10 Link encap:Ethernet HWaddr 00:0f:fe:7e:a7:7b ... TX packets:12 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:800 (800.0 B) TX bytes:800 (800.0 B) vif1.0 Link encap:Ethernet HWaddr fe:ff:ff:ff:ff:ff inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1 RX packets:2 errors:0 dropped:0 overruns:0 frame:0 TX packets:16 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:32 RX bytes:100 (100.0 B) TX bytes:3047 (2.9 KiB) |
#ifconfig -a
br40 Link encap:Ethernet HWaddr 00:0f:fe:7e:a7:7b BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) eth0 Link encap:Ethernet HWaddr 00:0f:fe:7e:a7:7b inet addr:10.0.35.44 Bcast:10.0.35.255 Mask:255.255.255.0 inet6 addr: fe80::20f:feff:fe7e:a77b/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 ... TX packets:12 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:800 (800.0 B) TX bytes:800 (800.0 B) vif1.0 Link encap:Ethernet HWaddr fe:ff:ff:ff:ff:ff inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1 RX packets:2 errors:0 dropped:0 overruns:0 frame:0 TX packets:16 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:32 RX bytes:100 (100.0 B) TX bytes:3047 (2.9 KiB) |
#ifconfig -a
br40 Link encap:Ethernet HWaddr 00:0f:fe:7e:a7:7b BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) eth0 Link encap:Ethernet HWaddr 00:0f:fe:7e:a7:7b inet addr:10.0.35.44 Bcast:10.0.35.255 Mask:255.255.255.0 inet6 addr: fe80::20f:feff:fe7e:a77b/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 ... TX packets:12 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:800 (800.0 B) TX bytes:800 (800.0 B) vif1.0 Link encap:Ethernet HWaddr fe:ff:ff:ff:ff:ff inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1 RX packets:2 errors:0 dropped:0 overruns:0 frame:0 TX packets:16 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:32 RX bytes:100 (100.0 B) TX bytes:3047 (2.9 KiB) |
#vi /etc/network/interfaces
--- /tmp/l3-saved-2751.2075.18297 2012-02-24 12:45:34.000000000 +0200 +++ /etc/network/interfaces 2012-02-24 12:45:55.000000000 +0200 @@ -29,5 +29,5 @@ iface eth0.40 inet manual up brctl addbr br40 up brctl addif br40 eth0.40 - up ifconfig br10 192.168.40.4 255.255.255.0 + up ifconfig br40 192.168.40.4 255.255.255.0 |
0
Время первой команды журнала | 11:03:05 2012- 2-24 | ||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 11:44:57 2012- 2-24 | ||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | ||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 15.84 | ||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 0.00 | ||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 0.70 | ||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 2.41 | ||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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