/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 |
|
#ifconfig
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:2 errors:0 dropped:0 overruns:0 frame:0 TX packets:2 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:100 (100.0 B) TX bytes:100 (100.0 B) |
#ifconfig
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:2 errors:0 dropped:0 overruns:0 frame:0 TX packets:2 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:100 (100.0 B) TX bytes:100 (100.0 B) |
#ifconfig
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:2 errors:0 dropped:0 overruns:0 frame:0 TX packets:2 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:100 (100.0 B) TX bytes:100 (100.0 B) |
#ifconfig
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:2 errors:0 dropped:0 overruns:0 frame:0 TX packets:2 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:100 (100.0 B) TX bytes:100 (100.0 B) |
#ifconfig
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:2 errors:0 dropped:0 overruns:0 frame:0 TX packets:2 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:100 (100.0 B) TX bytes:100 (100.0 B) |
#ifconfig
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:2 errors:0 dropped:0 overruns:0 frame:0 TX packets:2 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:100 (100.0 B) TX bytes:100 (100.0 B) |
#ifconfig
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:2 errors:0 dropped:0 overruns:0 frame:0 TX packets:2 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:100 (100.0 B) TX bytes:100 (100.0 B) |
#ifconfig
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:2 errors:0 dropped:0 overruns:0 frame:0 TX packets:2 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:100 (100.0 B) TX bytes:100 (100.0 B) |
#init 6
INIT: Switching to runlevel: 6 INIT: Sending processes the TERM signal Stopping GNOME Display Manager: gdm. _______ < hello > ------- \ ,-----._ . \ . ,' `-.__,------._ // \ __\\' `-. (( _____-'___)) | ... All processes ended within 1 seconds....done. Stopping portmap daemon.... Stopping AoE devices discovery and mounting AoE filesystems: Deconfiguring network interfaces...done. Cleaning up ifupdown.... Deactivating swap...done. Shutting down LVM Volume Groups. Will now restart. md: stopping all md devices. Restarting system. . |
#init 6
INIT: Switching to runlevel: 6 INIT: Sending processes the TERM signal Stopping GNOME Display Manager: gdm. _______ < hello > ------- \ ,-----._ . \ . ,' `-.__,------._ // \ __\\' `-. (( _____-'___)) | ... All processes ended within 1 seconds....done. Stopping portmap daemon.... Stopping AoE devices discovery and mounting AoE filesystems: Deconfiguring network interfaces...done. Cleaning up ifupdown.... Deactivating swap...done. Shutting down LVM Volume Groups. Will now restart. md: stopping all md devices. Restarting system. . |
#ifconfig
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:2 errors:0 dropped:0 overruns:0 frame:0 TX packets:2 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:100 (100.0 B) TX bytes:100 (100.0 B) |
#xm create -c dom1
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Using config file "/etc/xen/dom1". Error: unexpected indent (dom1, line 5) |
#xm create -c dom1
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Using config file "/etc/xen/dom1". Error: unexpected indent (dom1, line 5) |
#xm create -c dom1
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Using config file "/etc/xen/dom1". Error: unexpected indent (dom1, line 5) |
#xm create -c dom1
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Using config file "/etc/xen/dom1". Error: unexpected indent (dom1, line 5) |
#xm create -c dom1
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Using config file "/etc/xen/dom1". Error: unexpected indent (dom1, line 5) |
#xm create -c dom1
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Using config file "/etc/xen/dom1". Error: unexpected indent (dom1, line 5) |
#xm create -c dom1
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Using config file "/etc/xen/dom1". Error: unexpected indent (dom1, line 5) |
#xm create -c dom1
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Using config file "/etc/xen/dom1". Error: unexpected indent (dom1, line 5) |
#xm list
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 3783 2 r----- 221.2 ExampleDomain 2 256 1 -b---- 7.4 |
#xm list
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 3783 2 r----- 221.2 ExampleDomain 2 256 1 -b---- 7.4 |
#xm shutdown 2
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm |
#xm shutdown 2
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm |
#xm list
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 3783 2 r----- 222.5 ExampleDomain 2 256 1 -b---- 7.6 |
#xm list
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 3783 2 r----- 222.5 ExampleDomain 2 256 1 -b---- 7.6 |
#xm shutdown ExampleDomain
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Error: Domain 'ExampleDomain' does not exist. Usage: xm shutdown <Domain> [-waRH] Shutdown a domain. |
#xm shutdown ExampleDomain
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Error: Domain 'ExampleDomain' does not exist. Usage: xm shutdown <Domain> [-waRH] Shutdown a domain. |
#xm shutdown ExampleDomain
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Error: Domain 'ExampleDomain' does not exist. Usage: xm shutdown <Domain> [-waRH] Shutdown a domain. |
#xm shutdown ExampleDomain
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Error: Domain 'ExampleDomain' does not exist. Usage: xm shutdown <Domain> [-waRH] Shutdown a domain. |
#xm list
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 3783 2 r----- 223.7 |
#xm list
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 3783 2 r----- 223.7 |
#xm create -c dom1
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Using config file "/etc/xen/dom1". Error: unexpected indent (dom1, line 5) |
#xm create -c dom1
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Using config file "/etc/xen/dom1". Error: unexpected indent (dom1, line 5) |
#xm create dom1
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Using config file "/etc/xen/dom1". Error: unexpected indent (dom1, line 5) |
#xm create dom1
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Using config file "/etc/xen/dom1". Error: unexpected indent (dom1, line 5) |
#vim /etc/xen/dom1
--- /tmp/l3-saved-4060.11367.21402 2009-06-05 21:24:09.000000000 +0300 +++ /etc/xen/dom1 2009-06-05 21:24:51.000000000 +0300 @@ -2,7 +2,7 @@ ramdisk="/boot/initrd.img-2.6.18-6-xen-686" memory = 256 name = "ExampleDomain" - vif = [ 'bridge=eth0' ] +vif = [ 'bridge=eth0' ] disk = [ 'phy:sdb2,sdb2,w' ] root = "/dev/sdb2 ro" extra = "4" |
#xm create dom1
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Using config file "/etc/xen/dom1". Started domain ExampleDomain |
#xm create dom1
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Using config file "/etc/xen/dom1". Started domain ExampleDomain |
#xe
xend xenstore-list xenstore-write xentrace_setmask xenperf xenstore-ls xentop xentrace_setsize xenstore-chmod xenstore-read xentrace xev xenstore-exists xenstore-rm xentrace_format xeyes |
#xe
xend xenstore-list xenstore-write xentrace_setmask xenperf xenstore-ls xentop xentrace_setsize xenstore-chmod xenstore-read xentrace xev xenstore-exists xenstore-rm xentrace_format xeyes |
#xm console dom1
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Error: Domain 'dom1' does not exist. Usage: xm console <Domain> Attach to <Domain>'s console. |
#xm console dom1
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Error: Domain 'dom1' does not exist. Usage: xm console <Domain> Attach to <Domain>'s console. |
#vim /etc/xen/dom1
--- /tmp/l3-saved-4060.14708.194 2009-06-05 21:26:13.000000000 +0300 +++ /etc/xen/dom1 2009-06-05 21:26:24.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 = "ExampleDomain" +name = "ED1" vif = [ 'bridge=eth0' ] disk = [ 'phy:sdb2,sdb2,w' ] root = "/dev/sdb2 ro" |
#xm create dom1
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Using config file "/etc/xen/dom1". Error: Device 2066 (vbd) could not be connected. Device /dev/sdb2 is mounted in a guest domain, and so cannot be mounted now. |
#xm create dom1
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Using config file "/etc/xen/dom1". Error: Device 2066 (vbd) could not be connected. Device /dev/sdb2 is mounted in a guest domain, and so cannot be mounted now. |
#xm console ED1
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Error: Domain 'ED1' does not exist. Usage: xm console <Domain> Attach to <Domain>'s console. |
#xm console ED1
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Error: Domain 'ED1' does not exist. Usage: xm console <Domain> Attach to <Domain>'s console. |
#xm list
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 3527 2 r----- 233.6 ExampleDomain 3 256 1 -b---- 7.5 |
#xm list
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 3527 2 r----- 233.6 ExampleDomain 3 256 1 -b---- 7.5 |
#xm shutdown 3
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm |
#xm shutdown 3
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm |
#xm list
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 3527 2 r----- 235.0 ExampleDomain 3 256 1 -b---- 7.7 |
#xm list
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 3527 2 r----- 235.0 ExampleDomain 3 256 1 -b---- 7.7 |
#xm list
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 3527 2 r----- 236.0 |
#xm list
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 3527 2 r----- 236.0 |
#xm create ED1
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Error: Unable to open config file: ED1 Usage: xm create <ConfigFile> [options] [vars] Create a domain based on <ConfigFile>. Options: -h, --help Print this help. --help_config Print the available configuration variables (vars) for the configuration script. -q, --quiet Quiet. ... SXP is the underlying configuration format used by Xen. SXP configurations can be hand-written or generated from Python configuration scripts, using the -n (dryrun) option to print the configuration. -n, --dryrun Dry run - prints the resulting configuration in SXP but does not create the domain. -p, --paused Leave the domain paused after it is created. -c, --console_autoconnect Connect to the console after the domain is created. |
#xm create ED1
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Error: Unable to open config file: ED1 Usage: xm create <ConfigFile> [options] [vars] Create a domain based on <ConfigFile>. Options: -h, --help Print this help. --help_config Print the available configuration variables (vars) for the configuration script. -q, --quiet Quiet. ... SXP is the underlying configuration format used by Xen. SXP configurations can be hand-written or generated from Python configuration scripts, using the -n (dryrun) option to print the configuration. -n, --dryrun Dry run - prints the resulting configuration in SXP but does not create the domain. -p, --paused Leave the domain paused after it is created. -c, --console_autoconnect Connect to the console after the domain is created. |
#xm create ED1
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Error: Unable to open config file: ED1 Usage: xm create <ConfigFile> [options] [vars] Create a domain based on <ConfigFile>. Options: -h, --help Print this help. --help_config Print the available configuration variables (vars) for the configuration script. -q, --quiet Quiet. ... SXP is the underlying configuration format used by Xen. SXP configurations can be hand-written or generated from Python configuration scripts, using the -n (dryrun) option to print the configuration. -n, --dryrun Dry run - prints the resulting configuration in SXP but does not create the domain. -p, --paused Leave the domain paused after it is created. -c, --console_autoconnect Connect to the console after the domain is created. |
#xm create ED1
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Error: Unable to open config file: ED1 Usage: xm create <ConfigFile> [options] [vars] Create a domain based on <ConfigFile>. Options: -h, --help Print this help. --help_config Print the available configuration variables (vars) for the configuration script. -q, --quiet Quiet. ... SXP is the underlying configuration format used by Xen. SXP configurations can be hand-written or generated from Python configuration scripts, using the -n (dryrun) option to print the configuration. -n, --dryrun Dry run - prints the resulting configuration in SXP but does not create the domain. -p, --paused Leave the domain paused after it is created. -c, --console_autoconnect Connect to the console after the domain is created. |
#xm create dom1
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Using config file "/etc/xen/dom1". Started domain ED1 |
#xm create dom1
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Using config file "/etc/xen/dom1". Started domain ED1 |
#xm console ED1
SELinux: Disabled at boot. Capability LSM initialized Mount-cache hash table entries: 512 CPU: L1 I cache: 32K, L1 D cache: 32K CPU: L2 cache: 4096K Checking 'hlt' instruction... OK. SMP alternatives: switching to UP code Freeing SMP alternatives: 12k freed Brought up 1 CPUs migration_cost=0 ... Starting GNOME Display Manager: gdm. Starting deferred execution scheduler: atd. Starting periodic command scheduler: cron. Starting web server: apache2apache2: Could not reliably determine the server's fully qualified domain name, using 192.168.15.12 for ServerName . Starting daemon monitor: monit. Debian GNU/Linux squeeze/sid linux12 tty1 linux12 login: root Password: -bash: agent: command not found |
#xm console ED1
SELinux: Disabled at boot. Capability LSM initialized Mount-cache hash table entries: 512 CPU: L1 I cache: 32K, L1 D cache: 32K CPU: L2 cache: 4096K Checking 'hlt' instruction... OK. SMP alternatives: switching to UP code Freeing SMP alternatives: 12k freed Brought up 1 CPUs migration_cost=0 ... Starting GNOME Display Manager: gdm. Starting deferred execution scheduler: atd. Starting periodic command scheduler: cron. Starting web server: apache2apache2: Could not reliably determine the server's fully qualified domain name, using 192.168.15.12 for ServerName . Starting daemon monitor: monit. Debian GNU/Linux squeeze/sid linux12 tty1 linux12 login: root Password: -bash: agent: command not found |
#xm list
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 3527 2 r----- 240.5 ED1 5 256 1 -b---- 8.4 |
#xm list
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 3527 2 r----- 240.5 ED1 5 256 1 -b---- 8.4 |
#xm list
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 3527 2 r----- 241.4 ED1 5 256 1 -b---- 8.4 |
#xm list
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 3527 2 r----- 241.4 ED1 5 256 1 -b---- 8.4 |
#xm list
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 3527 2 r----- 241.6 ED1 5 256 1 -b---- 8.4 |
#xm list
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 3527 2 r----- 241.6 ED1 5 256 1 -b---- 8.4 |
#xm list
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 3527 2 r----- 241.7 ED1 5 256 1 -b---- 8.4 |
#xm list
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 3527 2 r----- 241.7 ED1 5 256 1 -b---- 8.4 |
#xm list
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 3527 2 r----- 242.3 ED1 5 256 1 -b---- 8.4 |
#xm list
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 3527 2 r----- 242.5 ED1 5 256 1 -b---- 8.4 |
#xm list
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 3527 2 r----- 242.3 ED1 5 256 1 -b---- 8.4 |
#xm list
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 3527 2 r----- 242.5 ED1 5 256 1 -b---- 8.4 |
#xm list
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 3527 2 r----- 242.6 ED1 5 256 1 -b---- 8.4 |
#xm list
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 3527 2 r----- 242.6 ED1 5 256 1 -b---- 8.4 |
#xm shutdown 5
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm |
#xm shutdown 5
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm |
#xm list
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 3527 2 r----- 243.6 ED1 5 256 1 r----- 9.5 |
#xm list
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 3527 2 r----- 243.6 ED1 5 256 1 r----- 9.5 |
#xm list
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 3527 2 r----- 243.8 ED1 5 256 1 -b---- 10.6 |
#xm list
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 3527 2 r----- 243.8 ED1 5 256 1 -b---- 10.6 |
#xm list
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 3527 2 r----- 244.0 ED1 5 256 1 -b---- 10.6 |
#xm list
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 3527 2 r----- 244.0 ED1 5 256 1 -b---- 10.6 |
#xm list
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 3527 2 r----- 244.2 ED1 5 256 1 -b---- 10.7 |
#xm list
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 3527 2 r----- 244.2 ED1 5 256 1 -b---- 10.7 |
#xm list
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 3527 2 r----- 244.4 ED1 5 256 1 -b---- 10.7 |
#xm list
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 3527 2 r----- 244.4 ED1 5 256 1 -b---- 10.7 |
#xm list
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 3527 2 r----- 244.5 ED1 5 256 1 -b---- 10.7 |
#xm list
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 3527 2 r----- 244.7 ED1 5 256 1 -b---- 10.7 |
#xm list
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 3527 2 r----- 244.5 ED1 5 256 1 -b---- 10.7 |
#xm list
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 3527 2 r----- 244.7 ED1 5 256 1 -b---- 10.7 |
#xm list
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 3527 2 r----- 244.9 ED1 5 256 1 -b---- 10.7 |
#xm list
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 3527 2 r----- 244.9 ED1 5 256 1 -b---- 10.7 |
Время первой команды журнала | 21:21:11 2009- 6- 5 | |||||||||||||||||||||
Время последней команды журнала | 21:31:26 2009- 6- 5 | |||||||||||||||||||||
Количество командных строк в журнале | 101 | |||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 27.72 | |||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 0.00 | |||||||||||||||||||||
Суммарное время работы с терминалом *, час | 0.17 | |||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 9.85 | |||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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