/l3/users/devi/xen-for-zen/xen2.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 :27 :28 :29 :30 :31 :32 :33 :34 :35 :36 :37 |
|
#vncviewer xen2:108
Message from syslogd@xen2 at Tue Dec 12 14:35:19 2006 ... xen2 kernel: Code: 8b 44 24 20 89 38 b0 01 86 45 00 e9 81 07 00 00 89 f0 e8 98 a9 ff ff eb ed 8b 54 24 10 c7 44 24 50 02 00 00 00 f6 42 15 04 74 08 <0f> 0b c5 08 33 b7 29 c0 8b 74 24 10 8b 46 48 85 c0 75 12 c7 44 Message from syslogd@xen2 at Tue Dec 12 14:35:19 2006 ... xen2 kernel: EIP: [<c014616c>] __handle_mm_fault+0x37d/0xb12 SS:ESP 0069:d10c1f1c [root@xen2:~]# vncviev xen2:cviev xen2:108 bash: vncviev: command not found [root@xen2:~]# vncviewer xen2:108 Error: Can't open display: Error: Can't open display: |
#xm create winXPN N=7
Error: Unable to open config file: winXPN 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. --path=PATH Search path for configuration scripts. The value of PATH is a colon-separated directory list. ... 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 winXPN N=7
Error: Unable to open config file: winXPN 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. --path=PATH Search path for configuration scripts. The value of PATH is a colon-separated directory list. ... 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 list
Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 2262 2 r----- 216.9 winxp1 5 128 1 -b---- 7.5 winxp2 3 128 1 -b---- 10.4 winxp3 6 128 1 -b---- 7.2 winxp4 4 128 1 -b---- 11.6 winxp5 1 128 1 -b---- 8.5 winxp6 7 128 1 ------ 0.1 winxp8 2 128 1 -b---- 7.5 |
#xm create winXPN N=7
Error: Unable to open config file: winXPN 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. --path=PATH Search path for configuration scripts. The value of PATH is a colon-separated directory list. ... 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 list
Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 2262 2 r----- 227.4 winxp1 5 128 1 -b---- 7.9 winxp2 3 128 1 -b---- 10.5 winxp3 6 128 1 -b---- 7.3 winxp4 4 128 1 -b---- 12.4 winxp5 1 128 1 -b---- 8.6 winxp8 2 128 1 -b---- 7.6 |
#xm list
Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 2262 2 r----- 228.3 winxp1 5 128 1 -b---- 7.9 winxp2 3 128 1 -b---- 10.5 winxp3 6 128 1 -b---- 7.3 winxp4 4 128 1 -b---- 12.4 winxp5 1 128 1 -b---- 8.6 winxp8 2 128 1 -b---- 7.6 |
#xm create winxpN N=7
~ ~ "/etc/fstab" 11 lines, 378 characters written [root@xen2:~]# mount -L ISO [root@xen2:~]# [root@xen2:~]# Using config file "/etc/xen/winxpN". Started domain winxp7 |
#xm list
Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 2254 2 r----- 237.6 winxp1 5 128 1 ------ 9.3 winxp2 3 128 1 -b---- 10.6 winxp3 6 128 1 -b---- 7.4 winxp4 4 128 1 -b---- 14.1 winxp5 1 128 1 -b---- 8.7 winxp6 8 128 1 ------ 0.2 winxp8 2 128 1 -b---- 7.7 |
#xm list
Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 2254 2 r----- 241.5 winxp1 5 128 1 ------ 9.5 winxp2 3 128 1 -b---- 10.7 winxp3 6 128 1 -b---- 7.5 winxp4 4 128 1 -b---- 14.4 winxp5 1 128 1 -b---- 8.7 winxp6 8 128 1 ------ 0.6 winxp8 2 128 1 -b---- 7.7 |
#xm list
Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 2254 2 r----- 244.1 winxp1 5 128 1 ------ 9.5 winxp2 3 128 1 ------ 10.7 winxp3 6 128 1 r----- 7.8 winxp4 4 128 1 ------ 14.5 winxp5 1 128 1 ------ 8.7 winxp6 8 128 1 ------ 1.2 winxp8 2 128 1 ------ 7.7 |
#xm list
Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 2106 2 r----- 558.7 winxp1 12 128 1 -b---- 13.4 winxp2 11 128 1 -b---- 25.3 winxp3 6 128 1 -b---- 24.7 winxp4 9 128 1 -b---- 21.3 winxp5 1 128 1 r----- 29.1 winxp6 15 128 1 -b---- 6.9 winxp7 13 128 1 -b---- 9.4 winxp8 14 128 1 -b---- 7.1 |
#xm list
Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 1829 2 r----- 1789.2 oes0 21 256 1 r----- 199.6 winxp1 19 128 1 -b---- 28.0 winxp2 11 128 1 -b---- 76.1 winxp3 6 128 1 -b---- 71.9 winxp4 9 128 1 -b---- 68.4 winxp5 1 128 1 ------ 41.0 winxp6 16 128 1 ------ 75.4 winxp7 22 128 1 ------ 11.4 winxp8 17 128 1 -b---- 42.9 |
#xm list
Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 2106 2 r----- 284.7 winxp1 5 128 1 -b---- 10.6 winxp2 3 128 1 -b---- 10.8 winxp3 6 128 1 -b---- 9.6 winxp4 9 128 1 ------ 2.8 winxp5 1 128 1 -b---- 8.8 winxp6 8 128 1 ------ 3.3 winxp7 10 128 1 ------ 1.2 winxp8 2 128 1 -b---- 7.8 |
#vnxviewer xen2:104
bash: vnxviewer: command not found |
#vncviewer xen2:108v xen2:108
Message from syslogd@xen2 at Tue Dec 12 14:35:19 2006 ... xen2 kernel: Code: 8b 44 24 20 89 38 b0 01 86 45 00 e9 81 07 00 00 89 f0 e8 98 a9 ff ff eb ed 8b 54 24 10 c7 44 24 50 02 00 00 00 f6 42 15 04 74 08 <0f> 0b c5 08 33 b7 29 c0 8b 74 24 10 8b 46 48 85 c0 75 12 c7 44 Message from syslogd@xen2 at Tue Dec 12 14:35:19 2006 ... xen2 kernel: EIP: [<c014616c>] __handle_mm_fault+0x37d/0xb12 SS:ESP 0069:d10c1f1c [root@xen2:~]# vncviev xen2:cviev xen2:108 bash: vncviev: command not found [root@xen2:~]# vncviewer xen2:108 Error: Can't open display: Error: Can't open display: |
#vncviewer winxp7:104
Message from syslogd@xen2 at Tue Dec 12 14:35:19 2006 ... xen2 kernel: Code: 8b 44 24 20 89 38 b0 01 86 45 00 e9 81 07 00 00 89 f0 e8 98 a9 ff ff eb ed 8b 54 24 10 c7 44 24 50 02 00 00 00 f6 42 15 04 74 08 <0f> 0b c5 08 33 b7 29 c0 8b 74 24 10 8b 46 48 85 c0 75 12 c7 44 Message from syslogd@xen2 at Tue Dec 12 14:35:19 2006 ... xen2 kernel: EIP: [<c014616c>] __handle_mm_fault+0x37d/0xb12 SS:ESP 0069:d10c1f1c [root@xen2:~]# vncviev xen2:cviev xen2:108 bash: vncviev: command not found [root@xen2:~]# vncviewer xen2:108 Error: Can't open display: Error: Can't open display: |
#xm create winxpN N=7XPN N=7
Using config file "/etc/xen/winxpN". Error: VM name 'winxp7' already in use by domain 10 |
#root
~ ~ rw ~ ~ ~ "/etc/fstab" 11 lines, 378 characters written bash: root: command not found |
#rdesktop -a 16 winxp7
bash: rdesktop: command not found |
#xm list
vbd-11-768 is VBD. vbd-9-768 is VBD. vbd-6-768 is VBD. vbd-1-768 is VBD. Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 2106 2 r----- 1259.6 winxp1 19 128 1 -b---- 7.8 winxp2 11 128 1 -b---- 57.7 winxp3 6 128 1 -b---- 53.3 winxp4 9 128 1 -b---- 45.4 winxp5 1 128 1 -b---- 36.4 winxp6 16 128 1 r----- 9.1 winxp8 17 128 1 -b---- 12.4 |
#iostat 1 3000
Message from syslogd@xen2 at Tue Dec 12 14:35:19 2006 ... xen2 kernel: Code: 8b 44 24 20 89 38 b0 01 86 45 00 e9 81 07 00 00 89 f0 e8 98 a9 ff ff eb ed 8b 54 24 10 c7 44 24 50 02 00 00 00 f6 42 15 04 74 08 <0f> 0b c5 08 33 b7 29 c0 8b 74 24 10 8b 46 48 85 c0 75 12 c7 44 Message from syslogd@xen2 at Tue Dec 12 14:35:19 2006 ... xen2 kernel: EIP: [<c014616c>] __handle_mm_fault+0x37d/0xb12 SS:ESP 0069:d10c1f1c [root@xen2:~]# vncviev xen2:cviev xen2:108 bash: vncviev: command not found [root@xen2:~]# vncviewer xen2:108 Error: Can't open display: bash: iostat: command not found |
#xm create winxpN N=6
~ rw ~ ~ ~ "/etc/fstab" 11 lines, 378 characters written Using config file "/etc/xen/winxpN". Error: VM name 'winxp6' already in use by domain 15 |
#xm list
"/etc/fstab" 11 lines, 378 characters written Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 2106 2 r----- 567.3 winxp1 12 128 1 -b---- 13.7 winxp2 11 128 1 -b---- 25.8 winxp3 6 128 1 -b---- 25.1 winxp4 9 128 1 -b---- 21.4 winxp5 1 128 1 -b---- 30.8 winxp6 15 128 1 -b---- 7.3 winxp7 13 128 1 -b---- 10.2 winxp8 14 128 1 -b---- 7.4 |
#xm list
"/etc/fstab" 11 lines, 378 characters written Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 2106 2 r----- 618.1 winxp1 12 128 1 -b---- 18.9 winxp2 11 128 1 -b---- 30.2 winxp3 6 128 1 -b---- 30.2 winxp4 9 128 1 ------ 25.8 winxp5 1 128 1 -b---- 31.6 winxp6 15 128 1 -b---- 14.3 winxp7 13 128 1 -b---- 14.0 winxp8 14 128 1 -b---- 12.6 |
#xm list
Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 2106 2 r----- 639.3 winxp1 12 128 1 -b---- 20.0 winxp2 11 128 1 -b---- 31.5 winxp3 6 128 1 -b---- 32.2 winxp4 9 128 1 ------ 27.8 winxp5 1 128 1 -b---- 31.8 winxp6 15 128 1 -b---- 15.6 winxp7 13 128 1 -b---- 15.7 winxp8 14 128 1 -b---- 15.9 |
#xm list
Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 2106 2 r----- 646.1 winxp1 12 128 1 -b---- 21.1 winxp2 11 128 1 ------ 32.6 winxp3 6 128 1 -b---- 32.8 winxp4 9 128 1 -b---- 28.3 winxp5 1 128 1 -b---- 31.9 winxp6 15 128 1 -b---- 16.2 winxp7 13 128 1 -b---- 15.9 winxp8 14 128 1 ------ 16.1 |
#xm top
1 1 0 0 1 0 0 0 0 winxp6 --b--- 17 1.1 143540 4.2 151860 4.5 1 1 0 0 1 0 0 0 0 winxp7 --b--- 16 0.7 143540 4.2 151860 4.5 1 1 0 0 1 0 0 0 0 winxp8 --b--- 18 0.7 143540 4.2 151860 4.5 1 1 0 0 1 0 0 0 0 Delay Networks vBds VCPUs Repeat header Sort order Quit vbd-15-768 is VBD. vbd-14-768 is VBD. vbd-13-768 is VBD. vbd-12-768 is VBD. vbd-11-768 is VBD. vbd-9-768 is VBD. vbd-6-768 is VBD. vbd-1-768 is VBD. |
#vncviewer xen2:107
LV Write Access read/write LV Status available # open 0 LV Size 2,00 GB Current LE 512 Segments 1 Allocation inherit Read ahead sectors 0 Block device 254:10 --- Logical volume --- LV Name /dev/NAS1/winxp8 Error: Can't open display: [root@xen2:~]# /etc/init.d/lvm restart Shutting down LVM Volume Groups... No volume groups found [root@xen2:~]# xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 3165 2 r----- 17.7 [root@xen2:~]# ------------------------------------------------------------------------------- |
#xm ls
top Monitor a host and the domains in real time. unpause Unpause a paused domain. uptime Print uptime for a domain. 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 create winxpN N=6
~ rw ~ ~ ~ "/etc/fstab" 11 lines, 378 characters written Using config file "/etc/xen/winxpN". Error: VM name 'winxp6' already in use by domain 16 |
#xm list
"/etc/fstab" 11 lines, 378 characters written Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 2106 2 r----- 1482.9 winxp1 19 128 1 -b---- 18.2 winxp2 11 128 1 -b---- 62.9 winxp3 6 128 1 -b---- 62.7 winxp4 9 128 1 r----- 48.0 winxp5 1 128 1 -b---- 38.0 winxp6 16 128 1 -b---- 32.0 winxp7 20 128 1 -b---- 16.1 winxp8 17 128 1 -b---- 22.2 |
#xm create winxpN N=7
1 1 0 0 1 0 0 0 0 winxp8 --b--- 18 0.7 143540 4.2 151860 4.5 1 1 0 0 1 0 0 0 0 Delay Networks vBds VCPUs Repeat header Sort order Quit vbd-15-768 is VBD. vbd-14-768 is VBD. vbd-13-768 is VBD. vbd-12-768 is VBD. vbd-11-768 is VBD. vbd-9-768 is VBD. vbd-6-768 is VBD. vbd-1-768 is VBD. Using config file "/etc/xen/winxpN". Started domain winxp7 |
#xm list
vbd-9-768 is VBD. vbd-6-768 is VBD. vbd-1-768 is VBD. Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 2106 2 r----- 1273.4 winxp1 19 128 1 -b---- 7.9 winxp2 11 128 1 -b---- 58.0 winxp3 6 128 1 -b---- 53.4 winxp4 9 128 1 -b---- 45.5 winxp5 1 128 1 -b---- 36.4 winxp6 16 128 1 -b---- 9.6 winxp7 20 128 1 ------ 0.5 winxp8 17 128 1 -b---- 12.8 |
#xm list
--- Logical volume --- LV Name /dev/NAS1/winxp8 Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 2106 2 r----- 1557.6 winxp1 19 128 1 -b---- 21.1 winxp2 11 128 1 -b---- 64.8 winxp3 6 128 1 -b---- 65.2 winxp4 9 128 1 -b---- 51.3 winxp5 1 128 1 -b---- 38.6 winxp6 16 128 1 r----- 36.7 winxp7 20 128 1 -b---- 18.1 winxp8 17 128 1 ------ 24.9 |
#xm list
Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 1829 2 r----- 1817.7 oes0 21 256 1 ------ 217.0 winxp1 19 128 1 ------ 28.7 winxp2 11 128 1 -b---- 77.1 winxp3 6 128 1 -b---- 78.7 winxp4 23 128 1 ------ 2.1 winxp5 1 128 1 -b---- 41.4 winxp6 16 128 1 r----- 83.6 winxp7 22 128 1 -b---- 11.9 winxp8 17 128 1 ------ 44.1 |
#xm top
1 0 0 1 0 0 0 0 winxp7 --b--- 102 3.5 143540 4.2 151860 4.5 1 1 0 0 1 0 0 0 0 winxp8 ------ 80 0.0 143540 4.2 151860 4.5 1 1 0 0 1 0 0 0 0 Delay Networks vBds VCPUs Repeat header Sort order Quit vbd-28-768 is VBD. vbd-26-768 is VBD. vbd-22-768 is VBD. vbd-21-5632 is VBD. vbd-21-768 is VBD. vbd-19-768 is VBD. vbd-17-768 is VBD. vbd-16-768 is VBD. vbd-1-768 is VBD. |
#xm list
Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 2106 2 r----- 1637.8 winxp1 19 128 1 -b---- 25.7 winxp2 11 128 1 -b---- 67.8 winxp3 6 128 1 -b---- 68.4 winxp4 9 128 1 -b---- 55.7 winxp5 1 128 1 -b---- 39.4 winxp6 16 128 1 -b---- 50.0 winxp7 20 128 1 -b---- 26.2 winxp8 17 128 1 -b---- 39.3 |
#xm create oes0
Using config file "/etc/xen/oes0". Started domain oes0 |
#xm list
Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 1829 2 r----- 1643.9 oes0 21 256 1 ------ 0.4 winxp1 19 128 1 -b---- 25.8 winxp2 11 128 1 -b---- 67.9 winxp3 6 128 1 -b---- 68.4 winxp4 9 128 1 -b---- 56.1 winxp5 1 128 1 -b---- 39.4 winxp6 16 128 1 -b---- 50.8 winxp7 20 128 1 -b---- 26.4 winxp8 17 128 1 -b---- 39.3 |
#xm list
Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 1829 2 r----- 1797.6 oes0 21 256 1 r----- 207.7 winxp1 19 128 1 -b---- 28.4 winxp2 11 128 1 ------ 76.7 winxp3 6 128 1 -b---- 74.5 winxp4 9 128 1 -b---- 68.7 winxp5 1 128 1 -b---- 41.2 winxp6 16 128 1 -b---- 79.7 winxp7 22 128 1 -b---- 11.6 winxp8 17 128 1 -b---- 43.5 |
#xm destroy winxp4
|
#xm list
Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 1829 2 r----- 1801.1 oes0 21 256 1 ------ 210.0 winxp1 19 128 1 -b---- 28.5 winxp2 11 128 1 -b---- 76.8 winxp3 6 128 1 -b---- 75.5 winxp5 1 128 1 -b---- 41.3 winxp6 16 128 1 -b---- 80.9 winxp7 22 128 1 -b---- 11.8 winxp8 17 128 1 -b---- 43.6 |
#xm create winxpN N=4
Using config file "/etc/xen/winxpN". Error: invalid literal for int(): 4=4 |
#xm create winxpN N=4
Using config file "/etc/xen/winxpN". Started domain winxp4 |
#xm list
Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 1829 2 r----- 1832.1 oes0 21 256 1 -b---- 220.4 winxp1 19 128 1 -b---- 29.2 winxp2 11 128 1 -b---- 77.3 winxp3 6 128 1 -b---- 80.0 winxp4 23 128 1 -b---- 5.9 winxp5 1 128 1 -b---- 41.5 winxp6 16 128 1 -b---- 85.6 winxp7 22 128 1 -b---- 12.0 winxp8 17 128 1 -b---- 44.5 |
#vncviewer oes0:1
LV Write Access read/write LV Status available # open 0 LV Size 2,00 GB Current LE 512 Segments 1 Allocation inherit Read ahead sectors 0 Block device 254:10 --- Logical volume --- LV Name /dev/NAS1/winxp8 Error: Can't open display: |
#xm list
Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 1829 2 r----- 2080.6 oes0 21 256 1 -b---- 324.9 winxp1 19 128 1 -b---- 42.6 winxp2 24 128 1 -b---- 30.4 winxp4 25 128 1 -b---- 6.4 winxp5 1 128 1 -b---- 43.6 winxp6 16 128 1 -b---- 100.7 winxp7 22 128 1 -b---- 25.2 winxp8 17 128 1 -b---- 50.9 |
#xm list
Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 1829 2 r----- 1844.0 oes0 21 256 1 -b---- 227.4 winxp1 19 128 1 -b---- 32.5 winxp2 11 128 1 -b---- 77.8 winxp3 6 128 1 -b---- 81.1 winxp4 23 128 1 -b---- 8.1 winxp5 1 128 1 -b---- 41.7 winxp6 16 128 1 -b---- 90.2 winxp7 22 128 1 ------ 13.5 winxp8 17 128 1 -b---- 45.5 |
#xm destroy winxp2
|
#xm create winxp2
Error: Unable to open config file: winxp2 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. --path=PATH Search path for configuration scripts. The value of PATH is a colon-separated directory list. ... 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 list
Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 1829 2 r----- 1854.8 oes0 21 256 1 -b---- 234.7 winxp1 19 128 1 -b---- 33.7 winxp3 6 128 1 -b---- 82.4 winxp4 23 128 1 -b---- 12.3 winxp5 1 128 1 -b---- 41.9 winxp6 16 128 1 -b---- 92.8 winxp7 22 128 1 -b---- 14.1 winxp8 17 128 1 -b---- 46.2 |
#xm create winxp2
Error: Unable to open config file: winxp2 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. --path=PATH Search path for configuration scripts. The value of PATH is a colon-separated directory list. ... 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 winxpN N=2
Using config file "/etc/xen/winxpN". Started domain winxp2 |
#vncviever vnc0:1
LV Write Access read/write LV Status available # open 0 LV Size 2,00 GB Current LE 512 Segments 1 Allocation inherit Read ahead sectors 0 Block device 254:10 --- Logical volume --- LV Name /dev/NAS1/winxp8 bash: vncviever: command not found |
#xm list
Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 1829 2 r----- 2082.5 oes0 21 256 1 ------ 326.6 winxp1 19 128 1 -b---- 42.7 winxp2 24 128 1 -b---- 30.7 winxp4 25 128 1 -b---- 6.5 winxp5 1 128 1 -b---- 43.6 winxp6 16 128 1 -b---- 100.8 winxp7 22 128 1 -b---- 25.3 winxp8 17 128 1 -b---- 51.0 |
#xm destroy winxp4
|
#xm create winxpN N=4
Using config file "/etc/xen/winxpN". Started domain winxp4 |
#xm create winxpN N=3
Using config file "/etc/xen/winxpN". Started domain winxp3 |
#xm list
Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 1829 2 r----- 2194.2 oes0 21 256 1 ------ 378.1 winxp1 19 128 1 -b---- 45.1 winxp2 28 128 1 -b---- 7.9 winxp3 27 128 1 -b---- 8.7 winxp4 26 128 1 -b---- 8.7 winxp5 1 128 1 -b---- 44.3 winxp6 16 128 1 r----- 102.6 winxp7 22 128 1 -b---- 28.6 winxp8 17 128 1 -b---- 53.7 |
#xm list
Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 1829 2 r----- 2171.9 oes0 21 256 1 -b---- 363.4 winxp1 19 128 1 -b---- 44.5 winxp2 28 128 1 -b---- 3.3 winxp3 27 128 1 -b---- 7.2 winxp4 26 128 1 -b---- 8.2 winxp5 1 128 1 -b---- 44.1 winxp6 16 128 1 -b---- 102.1 winxp7 22 128 1 -b---- 27.6 winxp8 17 128 1 -b---- 52.9 |
#vncviewer xen2:104
Error: Can't open display: |
#vncviewer xen2:104
Error: Can't open display: |
#ping oes0
PING oes0.unix.nt (192.168.15.50) 56(84) bytes of data. 64 bytes from 192.168.15.50: icmp_seq=1 ttl=64 time=1.68 ms --- oes0.unix.nt ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 1.680/1.680/1.680/0.000 ms |
#xm list
Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 1829 2 r----- 2325.4 oes0 21 256 1 ------ 465.3 winxp1 19 128 1 ------ 49.3 winxp2 28 128 1 ------ 16.8 winxp3 29 128 1 ------ 3.7 winxp4 26 128 1 ------ 16.7 winxp5 1 128 1 -b---- 45.5 winxp6 16 128 1 -b---- 109.9 winxp7 22 128 1 ------ 37.1 winxp8 17 128 1 -b---- 61.2 |
#ls /data/iso/
lost+found oes-linux-cd6.iso windows-server-2003.iso oes-linux-cd10.iso oes-linux-cd7.iso windowsxp-pro-sp2.iso oes-linux-cd1.iso oes-linux-cd8.iso zen oes-linux-cd2.iso oes-linux-cd9.iso zen-comp1.iso oes-linux-cd3.iso remove zen-dm.iso oes-linux-cd4.iso suse-linux10.1-dvd.iso zen-ln.iso oes-linux-cd5.iso suse-linux10-dvd.iso zensuite-7-sp1.iso |
#ls -l /data/iso/
итого 18268366 drwx------ 2 root root 16384 2006-12-06 20:21 lost+found -rw-r--r-- 1 root root 679772160 2006-12-08 14:03 oes-linux-cd10.iso -rw-r--r-- 1 root root 668932096 2006-12-08 12:58 oes-linux-cd1.iso -rw-r--r-- 1 root root 550617088 2006-12-08 13:27 oes-linux-cd2.iso -rw-r--r-- 1 root root 421402624 2006-12-08 13:32 oes-linux-cd3.iso -rw-r--r-- 1 root root 357967872 2006-12-08 13:35 oes-linux-cd4.iso -rw-r--r-- 1 root root 659724288 2006-12-08 13:41 oes-linux-cd5.iso -rw-r--r-- 1 root root 641007616 2006-12-08 13:45 oes-linux-cd6.iso -rw-r--r-- 1 root root 609058816 2006-12-08 13:52 oes-linux-cd7.iso ... drwxr-xr-x 2 root root 4096 2006-12-11 16:15 remove -rw-r--r-- 1 root root 3749740544 2006-12-08 22:47 suse-linux10.1-dvd.iso -rw-r--r-- 1 root root 3193274368 2006-12-08 23:39 suse-linux10-dvd.iso -rw-r--r-- 1 root root 735705088 2006-12-07 18:36 windows-server-2003.iso -rw-r--r-- 1 root root 607518720 2006-12-06 20:25 windowsxp-pro-sp2.iso dr-xr-xr-x 1 root root 2048 2006-07-20 13:36 zen lrwxrwxrwx 1 root root 32 2006-12-11 18:44 zen-comp1.iso -> zen/ZEN7_with_SP1_Companion1.iso lrwxrwxrwx 1 root root 34 2006-12-11 16:30 zen-dm.iso -> zen/ZEN7_with_SP1_DesktopMgmt1.iso lrwxrwxrwx 1 root root 48 2006-12-11 17:29 zen-ln.iso -> /data/iso/zen/ZEN7_with_SP1_DesktopMgmtLinux.iso -rw-r--r-- 1 root root 4560486400 2006-12-07 23:49 zensuite-7-sp1.iso |
#xm list
Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 1829 2 r----- 2337.4 oes0 21 256 1 -b---- 481.4 winxp1 19 128 1 -b---- 50.0 winxp2 28 128 1 -b---- 17.6 winxp3 29 128 1 -b---- 7.9 winxp4 26 128 1 -b---- 17.4 winxp5 1 128 1 -b---- 46.1 winxp6 16 128 1 -b---- 110.5 winxp7 22 128 1 -b---- 37.7 winxp8 17 128 1 -b---- 63.1 |
#ls -l /data/iso/zen
итого 4453212 -r-xr-xr-x 1 root root 469272576 2006-07-18 22:54 ZEN7_LinuxMgmt_with_IR1.iso -r-xr-xr-x 1 root root 466163712 2006-07-19 21:22 ZEN7_with_SP1_AssetInv.iso -r-xr-xr-x 1 root root 597841920 2006-07-20 01:08 ZEN7_with_SP1_Companion1.iso -r-xr-xr-x 1 root root 677451776 2006-07-20 10:07 ZEN7_with_SP1_Companion2.iso -r-xr-xr-x 1 root root 719116288 2006-07-19 00:07 ZEN7_with_SP1_DesktopMgmt1.iso -r-xr-xr-x 1 root root 389785600 2006-07-19 17:31 ZEN7_with_SP1_DesktopMgmtLinux.iso -r-xr-xr-x 1 root root 169873408 2006-07-19 20:38 ZEN7_with_SP1_HandheldMgmt.iso -r-xr-xr-x 1 root root 590626816 2006-07-19 19:55 ZEN7_with_SP1_ServerMgmt.iso -r-xr-xr-x 1 root root 479956992 2006-07-20 00:07 ZEN7_with_SP1_SoftwarePackaging.iso |
#ls -l /data/iso/zen-comp1.iso
lrwxrwxrwx 1 root root 32 2006-12-11 18:44 /data/iso/zen-comp1.iso -> zen/ZEN7_with_SP1_Companion1.iso |
#mount -o loop /data/iso/zen-comp1.iso /mnt
|
#ls /mnt/
AUTORUN.INF Novell ConsoleOne readmes install Novell eDirectory for Linux winsetup.exe license Novell eDirectory for Windows 2k winsetup.ini License_Agreements Novell iManager |
#vi /etc/xen/winxpN
6a7 > #disk = [ 'phy:/dev/NAS1/winxp'+N+',hda,w', 'tap:/data/ISO/zen-dm.iso,hdc:cdrom,r' ] |
#xm list
Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 1829 2 r----- 2762.7 oes0 21 256 1 -b---- 736.7 winxp1 19 128 1 -b---- 71.7 winxp2 28 128 1 -b---- 50.3 winxp4 26 128 1 -b---- 41.3 winxp5 1 128 1 -b---- 51.2 winxp6 16 128 1 -b---- 175.3 winxp7 22 128 1 -b---- 100.9 winxp8 17 128 1 ------ 80.8 |
#xm list
Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 1829 2 r----- 2672.5 oes0 21 256 1 -b---- 701.5 winxp1 19 128 1 -b---- 68.7 winxp2 28 128 1 -b---- 45.2 winxp3 29 128 1 -b---- 30.3 winxp4 26 128 1 -b---- 38.4 winxp5 1 128 1 -b---- 50.4 winxp6 16 128 1 -b---- 149.2 winxp7 22 128 1 -b---- 62.5 winxp8 17 128 1 ------ 80.8 |
#xm list
Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 1829 2 r----- 2675.8 oes0 21 256 1 ------ 702.5 winxp1 19 128 1 -b---- 68.8 winxp2 28 128 1 -b---- 45.3 winxp3 29 128 1 ------ 30.7 winxp4 26 128 1 -b---- 38.4 winxp5 1 128 1 -b---- 50.4 winxp6 16 128 1 -b---- 150.1 winxp7 22 128 1 ------ 62.7 winxp8 17 128 1 ------ 80.8 |
#top
top - 16:20:09 up 2:02, 14 users, load average: 3.03, 1.93, 1.48 Tasks: 121 total, 3 running, 117 sleeping, 0 stopped, 1 zombie Cpu(s): 4.8%us, 0.8%sy, 0.0%ni, 49.0%id, 43.3%wa, 0.0%hi, 0.3%si, 1.7%st Mem: 1872896k total, 1183548k used, 689348k free, 711164k buffers PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND Swap: 1951888k total, 0k used, 1951888k free, 217500k cached 19195 root 15 0 175m 20m 5328 R 10 1.1 0:17.40 qemu-dm 14706 root 15 0 175m 20m 5328 S 4 1.1 1:40.74 qemu-dm 14088 root 15 0 300m 16m 7540 S 2 0.9 2:35.70 qemu-dm 11103 root 15 0 171m 15m 5332 S 1 0.9 0:50.82 qemu-dm ... 6 root 10 -5 0 0 0 S 0 0.0 0:00.77 events/0 7 root 10 -5 0 0 0 S 0 0.0 0:00.85 events/1 8 root 10 -5 0 0 0 S 0 0.0 0:00.00 khelper 9 root 11 -5 0 0 0 S 0 0.0 0:00.00 kthread 11 root 10 -5 0 0 0 S 0 0.0 0:00.79 xenwatch 12 root 10 -5 0 0 0 S 0 0.0 0:00.08 xenbus 15 root 14 -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 18 -5 0 0 0 S 0 0.0 0:00.00 kacpid 138 root 10 -5 0 0 0 S 0 0.0 0:00.02 kseriod |
#xm list
Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 1829 2 r----- 2737.1 oes0 21 256 1 -b---- 724.6 winxp1 19 128 1 -b---- 70.6 winxp2 28 128 1 -b---- 47.2 winxp4 26 128 1 -b---- 40.2 winxp5 1 128 1 -b---- 50.9 winxp6 16 128 1 ------ 171.4 winxp7 22 128 1 -b---- 98.5 winxp8 17 128 1 ------ 80.8 |
#top
top - 16:22:45 up 2:04, 14 users, load average: 2.92, 2.26, 1.66 Tasks: 120 total, 6 running, 113 sleeping, 0 stopped, 1 zombie Cpu(s): 7.6%us, 4.0%sy, 0.0%ni, 67.5%id, 18.1%wa, 0.0%hi, 0.2%si, 2.5%st Mem: 1872896k total, 1170356k used, 702540k free, 712152k buffers PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND Swap: 1951888k total, 0k used, 1951888k free, 218960k cached 18490 root 15 0 170m 14m 6424 R 4 0.8 0:16.08 qemu-dm 1 root 15 0 1948 672 568 S 0 0.0 0:00.34 init 2 root RT 0 0 0 0 S 0 0.0 0:00.16 migration/0 3 root 34 19 0 0 0 S 0 0.0 0:00.00 ksoftirqd/0 ... 11 root 11 -5 0 0 0 S 0 0.0 0:00.79 xenwatch 12 root 10 -5 0 0 0 S 0 0.0 0:00.08 xenbus 15 root 17 -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 18 -5 0 0 0 S 0 0.0 0:00.00 kacpid 138 root 10 -5 0 0 0 S 0 0.0 0:00.02 kseriod 184 root 23 0 0 0 0 S 0 0.0 0:00.00 pdflush 185 root 15 0 0 0 0 S 0 0.0 0:00.07 pdflush 186 root 10 -5 0 0 0 S 0 0.0 0:00.93 kswapd0 187 root 18 -5 0 0 0 S 0 0.0 0:00.00 aio/0 |
#xm top
1 1 0 0 1 0 0 0 0 winxp7 --b--- 100 4.4 143540 4.2 151860 4.5 1 1 0 0 1 0 0 0 0 winxp8 ------ 80 0.0 143540 4.2 151860 4.5 1 1 0 0 1 0 0 0 0 Delay Networks vBds VCPUs Repeat header Sort order Quit vbd-28-768 is VBD. vbd-26-768 is VBD. vbd-22-768 is VBD. vbd-21-5632 is VBD. vbd-21-768 is VBD. vbd-19-768 is VBD. vbd-17-768 is VBD. vbd-16-768 is VBD. vbd-1-768 is VBD. |
#xm top
vbd-17-768 is VBD. vbd-16-768 is VBD. vbd-1-768 is VBD. vbd-30-768 is VBD. vbd-28-768 is VBD. vbd-26-768 is VBD. vbd-22-768 is VBD. vbd-21-5632 is VBD. vbd-21-768 is VBD. vbd-19-768 is VBD. vbd-17-768 is VBD. vbd-16-768 v Delay Networks vBds VCPUs Repeat header Sort order Quit vbd-30-768 is VBD. |
#xm top 1 3000
Message from syslogd@xen2 at Tue Dec 12 14:35:19 2006 ... xen2 kernel: EIP: [<c014616c>] __handle_mm_fault+0x37d/0xb12 SS:ESP 0069:d10c1f1c [root@xen2:~]# vncviev xen2:cviev xen2:108 bash: vncviev: command not found [root@xen2:~]# vncviewer xen2:108 Error: Can't open display: Error: 'xm top' requires 0 arguments. Usage: xm top Monitor a host and the domains in real time. |
#xm top
vbd-28-768 is VBD. vbd-26-768 is VBD. vbd-22-768 is VBD. vbd-21-5632 is VBD. vbd-21-768 is VBD. vbd-19-768 is VBD. vbd-17-768 is VBD. vbd-16-768 is VBD. vbd-1-768 is VBD. Delay Networks vBds VCPUs Repeat header Sort order Quit vbd-30-768 is VBD. |
#xm list
Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 1829 2 r----- 2811.2 oes0 21 256 1 -b---- 751.6 winxp1 19 128 1 -b---- 76.4 winxp2 28 128 1 -b---- 54.8 winxp3 30 128 1 -b---- 3.0 winxp4 26 128 1 -b---- 42.9 winxp5 1 128 1 -b---- 51.7 winxp6 16 128 1 -b---- 178.7 winxp7 22 128 1 -b---- 104.6 winxp8 17 128 1 ------ 80.8 |
#xm list
Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 1829 2 r----- 2871.8 oes0 21 256 1 -b---- 768.0 winxp1 19 128 1 ------ 78.6 winxp2 28 128 1 -b---- 59.0 winxp3 30 128 1 -b---- 9.8 winxp4 26 128 1 -b---- 44.4 winxp5 1 128 1 -b---- 52.1 winxp6 16 128 1 -b---- 181.7 winxp7 22 128 1 -b---- 107.8 winxp8 17 128 1 ------ 80.8 |
#cd
|
#ps axx
18927 pts/6 Ss+ 0:00 script -f -q /root/.lilalo//109352339634367061-116593 18964 pts/6 S+ 0:00 script -f -q /root/.lilalo//109352339634367061-116593 18965 pts/7 Ss+ 0:00 bash -i 19680 ? S< 0:00 [loop2] 20038 pts/19 S+ 0:00 /usr/lib/xen-3.0.3-1/bin/xentop 20086 ? Sl 0:37 /usr/lib/xen-3.0.3-1/bin/qemu-dm -d 30 -m 128 -boot c 20514 ? Rs 0:00 sshd: root@pts/2 20516 pts/2 Ss+ 0:00 script -f -q /root/.lilalo//2935271223563174-11659347 20553 pts/2 S+ 0:00 script -f -q /root/.lilalo//2935271223563174-11659347 20554 pts/3 Ss 0:00 bash -i 20573 pts/3 R+ 0:00 ps axx |
#cd /
xen2 kernel: Call Trace: Message from syslogd@xen2 at Tue Dec 12 14:35:19 2006 ... xen2 kernel: Code: 8b 44 24 20 89 38 b0 01 86 45 00 e9 81 07 00 00 89 f0 e8 98 a9 ff ff eb ed 8b 54 24 10 c7 44 24 50 02 00 00 00 f6 42 15 04 74 08 <0f> 0b c5 08 33 b7 29 c0 8b 74 24 10 8b 46 48 85 c0 75 12 c7 44 Message from syslogd@xen2 at Tue Dec 12 14:35:19 2006 ... xen2 kernel: EIP: [<c014616c>] __handle_mm_fault+0x37d/0xb12 SS:ESP 0069:d10c1f1c [root@xen2:~]# vncviev xen2:cviev xen2:108 bash: vncviev: command not found [root@xen2:~]# vncviewer xen2:108 Error: Can't open display: |
#pwd
/ |
#ls
bin dev initrd lib64 mnt root srv usr boot etc initrd.img lost+found opt sbin sys var data home lib media proc selinux tmp vmlinuz |
#cd usr/
Message from syslogd@xen2 at Tue Dec 12 14:35:19 2006 ... xen2 kernel: Code: 8b 44 24 20 89 38 b0 01 86 45 00 e9 81 07 00 00 89 f0 e8 98 a9 ff ff eb ed 8b 54 24 10 c7 44 24 50 02 00 00 00 f6 42 15 04 74 08 <0f> 0b c5 08 33 b7 29 c0 8b 74 24 10 8b 46 48 85 c0 75 12 c7 44 Message from syslogd@xen2 at Tue Dec 12 14:35:19 2006 ... xen2 kernel: EIP: [<c014616c>] __handle_mm_fault+0x37d/0xb12 SS:ESP 0069:d10c1f1c [root@xen2:~]# vncviev xen2:cviev xen2:108 bash: vncviev: command not found [root@xen2:~]# vncviewer xen2:108 Error: Can't open display: bin/ include/ lib64/ sbin/ src/ games/ lib/ local/ share/ X11R6/ |
#cd usr/local/
Message from syslogd@xen2 at Tue Dec 12 14:35:19 2006 ... xen2 kernel: Code: 8b 44 24 20 89 38 b0 01 86 45 00 e9 81 07 00 00 89 f0 e8 98 a9 ff ff eb ed 8b 54 24 10 c7 44 24 50 02 00 00 00 f6 42 15 04 74 08 <0f> 0b c5 08 33 b7 29 c0 8b 74 24 10 8b 46 48 85 c0 75 12 c7 44 Message from syslogd@xen2 at Tue Dec 12 14:35:19 2006 ... xen2 kernel: EIP: [<c014616c>] __handle_mm_fault+0x37d/0xb12 SS:ESP 0069:d10c1f1c [root@xen2:~]# vncviev xen2:cviev xen2:108 bash: vncviev: command not found [root@xen2:~]# vncviewer xen2:108 Error: Can't open display: bin/ games/ lib/ sbin/ src/ etc/ include/ man/ share/ |
#cd /etc/xen/
|
Время первой команды журнала | 14:37:40 2006-12-12 | |||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 16:46:49 2006-12-12 | |||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | |||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 24.75 | |||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 6.93 | |||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 2.15 | |||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 0.78 | |||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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