/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 |
|
#xm list
Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 3036 2 r----- 105.9 oes1 11 256 1 -b---- 238.9 |
#xm create winxpN N=1
[root@xen2:~]# [root@xen2:~]# [root@xen2:~]# [root@xen2:~]# [root@xen2:~]# [root@xen2:~]# [root@xen2:~]# [root@xen2:~]# [root@xen2:~]# [root@xen2:~]# [root@xen2:~]# xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 3036 2 r----- 105.9 oes1 11 256 1 -b---- 238.9----- [root@xen2:~]# xm create winxpN N=1 Using config file "/etc/xen/winxpN". Started domain winxp1 [root@xen2:~]# Using config file "/etc/xen/winxpN". Started domain winxp1 |
#xm list
[root@xen2:~]# [root@xen2:~]# [root@xen2:~]# [root@xen2:~]# [root@xen2:~]# [root@xen2:~]# [root@xen2:~]# [root@xen2:~]# [root@xen2:~]# [root@xen2:~]# ... [root@xen2:~]# xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 2759 2 r----- 115.1 oes1 11 256 1 -b---- 245.7 winxp1 12 256 1 ------ 2.3 [root@xen2:~]# Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 2759 2 r----- 115.1 oes1 11 256 1 -b---- 245.7 winxp1 12 256 1 ------ 2.3 |
#xm create winxp8
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 2759 2 r----- 121.4 oes1 11 256 1 -b---- 255.0 winxp1 12 256 1 -b---- 6.8 |
#xm list
Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 2759 2 r----- 124.2 oes1 11 256 1 -b---- 260.3 winxp1 12 256 1 -b---- 7.0 |
#xm list
oes1 11 256 1 -b---- 260.3 winxp1 12 256 1 -b---- 7.0 [root@xen2:~]# xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 2759 2 r----- 128.9 oes1 11 256 1 -b---- 267.3 winxp1 12 256 1 -b---- 7.6 [root@xen2:~]# Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 2759 2 r----- 128.9 ... [root@xen2:~]# xm create winxpN N=1 Using config file "/etc/xen/winxpN". Started domain winxp1 [root@xen2:~]# xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 2759 2 r----- 115.1 oes1 11 256 1 -b---- 245.7 winxp1 12 256 1 ------ 2.3 [root@xen2:~]# [root@xen2:~]# xm list |
#xm create winxpN N=8
Using config file "/etc/xen/winxpN". Started domain winxp8 |
#xm list
winxp1 12 256 1 ------ 15.6 winxp6 15 256 1 ------ 3.5 winxp8 13 256 1 ------ 31.4 winxp9 14 256 1 -b---- 6.9 [root@xen2:~]# Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 1929 2 r----- 198.1 oes1 11 256 1 r----- 299.8 winxp1 12 256 1 ------ 15.6 winxp6 15 256 1 ------ 3.5 ... [root@xen2:~]# xm create winxpN N=1 Using config file "/etc/xen/winxpN". Started domain winxp1 [root@xen2:~]# xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 2759 2 r----- 115.1 oes1 11 256 1 -b---- 245.7 winxp1 12 256 1 ------ 2.3 [root@xen2:~]# [root@xen2:~]# xm list |
#xm create winxpN N=9
Using config file "/etc/xen/winxpN". Started domain winxp9 |
#xm list
Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 2483 2 r----- 136.2 oes1 11 256 1 -b---- 272.6 winxp1 12 256 1 -b---- 9.3 winxp8 13 256 1 r----- 5.3 |
#xm list
Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 2206 2 r----- 145.0 oes1 11 256 1 -b---- 279.4 winxp1 12 256 1 -b---- 10.4 winxp8 13 256 1 r----- 22.7 winxp9 14 256 1 ------ 0.3 |
#xm create winxpN N=6
Using config file "/etc/xen/winxpN". Started domain winxp6 |
#xm create winxpN N=5
winxp1 12 256 1 -b---- 7.6 [root@xen2:~]# xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 1929 2 r----- 198.1 oes1 11 256 1 r----- 299.8 winxp1 12 256 1 ------ 15.6 winxp6 15 256 1 ------ 3.5 winxp8 13 256 1 ------ 31.4 winxp9 14 256 1 -b---- 6.9 [root@xen2:~]# Using config file "/etc/xen/winxpN". Started domain winxp5 |
#xm list
Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 1929 2 r----- 179.8 oes1 11 256 1 -b---- 291.9 winxp1 12 256 1 ------ 12.9 winxp6 15 256 1 ------ 0.6 winxp8 13 256 1 ------ 28.0 winxp9 14 256 1 -b---- 3.6 |
#vncviewer xen2:106
[root@xen2:~]# xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 2759 2 r----- 124.2 oes1 11 256 1 -b---- 260.3 winxp1 12 256 1 -b---- 7.0 [root@xen2:~]# xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 2759 2 r----- 128.9 oes1 11 256 1 -b---- 267.3 winxp1 12 256 1 -b---- 7.6 ... [root@xen2:~]# xm create winxpN N=1 Using config file "/etc/xen/winxpN". Started domain winxp1 [root@xen2:~]# xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 2759 2 r----- 115.1 oes1 11 256 1 -b---- 245.7 winxp1 12 256 1 ------ 2.3 [root@xen2:~]# [root@xen2:~]# xm list |
#xm list
winxp6 15 256 1 -b---- 7.1 winxp8 13 256 1 -b---- 31.5 winxp9 14 256 1 -b---- 7.0 [root@xen2:~]# xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 1653 2 r----- 217.3 oes1 11 256 1 ------ 308.6 winxp1 12 256 1 -b---- 17.7 winxp5 16 256 1 r----- 4.2 winxp6 15 256 1 -b---- 7.1 ... [root@xen2:~]# xm create winxpN N=1 Using config file "/etc/xen/winxpN". Started domain winxp1 [root@xen2:~]# xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 2759 2 r----- 115.1 oes1 11 256 1 -b---- 245.7 winxp1 12 256 1 ------ 2.3 [root@xen2:~]# [root@xen2:~]# xm list |
#xm create winxpN N=4
Using config file "/etc/xen/winxpN". Started domain winxp4 |
#xm list
winxp6 15 256 1 -b---- 7.2 winxp8 13 256 1 -b---- 31.9 winxp9 14 256 1 -b---- 8.6 [root@xen2:~]# Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 1653 2 r----- 224.9 oes1 11 256 1 -b---- 313.8 winxp1 12 256 1 -b---- 17.8 winxp5 16 256 1 -b---- 6.3 winxp6 15 256 1 -b---- 7.2 ... [root@xen2:~]# xm create winxpN N=1 Using config file "/etc/xen/winxpN". Started domain winxp1 [root@xen2:~]# xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 2759 2 r----- 115.1 oes1 11 256 1 -b---- 245.7 winxp1 12 256 1 ------ 2.3 [root@xen2:~]# [root@xen2:~]# xm list |
#xm list
winxp8 13 256 1 r----- 33.6 winxp9 14 256 1 -b---- 12.8 [root@xen2:~]# Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 1376 2 r----- 275.3 oes1 11 256 1 -b---- 354.8 winxp1 12 256 1 -b---- 18.6 winxp4 17 256 1 -b---- 2.8 winxp5 16 256 1 -b---- 7.1 winxp6 15 256 1 -b---- 11.3 ... [root@xen2:~]# xm create winxpN N=1 Using config file "/etc/xen/winxpN". Started domain winxp1 [root@xen2:~]# xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 2759 2 r----- 115.1 oes1 11 256 1 -b---- 245.7 winxp1 12 256 1 ------ 2.3 [root@xen2:~]# [root@xen2:~]# xm list |
#xm list
Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 1376 2 r----- 271.3 oes1 11 256 1 -b---- 338.9 winxp1 12 256 1 -b---- 18.3 winxp4 17 256 1 -b---- 2.7 winxp5 16 256 1 -b---- 6.9 winxp6 15 256 1 -b---- 11.0 winxp8 13 256 1 -b---- 32.5 winxp9 14 256 1 -b---- 12.7 |
#xm list
Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 823 2 r----- 566.6 oes1 11 256 1 -b---- 543.6 winxp1 12 256 1 -b---- 27.2 winxp3 20 256 1 -b---- 19.8 winxp4 17 256 1 ------ 10.5 winxp5 16 256 1 -b---- 16.8 winxp6 15 256 1 -b---- 27.3 winxp7 18 256 1 ------ 45.2 winxp8 13 256 1 -b---- 44.9 winxp9 14 256 1 -b---- 23.8 |
#xm create winxpN N=7
Using config file "/etc/xen/winxpN". Error: invalid literal for int(): 7+7 |
#xm list
xen2 kernel: Call Trace: Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 831 2 r----- 352.0 Message from syslogd@xen2 at Sat Dec 16 16:04:32 2006 ... oes1 11 256 1 -b---- 432.4 xen2 kernel: Code: 8b 44 24 20 89 38 b0 01 86 45 00 e9 81 07 00 00 89 f0 e8 98 a winxp1 12 256 1 -b---- 20.0 9 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 0 winxp3 19 256 1 ------ 0.1 winxp4 17 256 1 -b---- 3.5 ... [root@xen2:~]# xm create winxpN N=1 Using config file "/etc/xen/winxpN". Started domain winxp1 [root@xen2:~]# xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 2759 2 r----- 115.1 oes1 11 256 1 -b---- 245.7 winxp1 12 256 1 ------ 2.3 [root@xen2:~]# [root@xen2:~]# xm list |
#xm create winxpN N=7
Using config file "/etc/xen/winxpN". Using config file "/etc/xen/winxpN". Started domain winxp7 |
#xm create winxpN N=3
Message from syslogd@xen2 at Sat Dec 16 16:04:32 2006 ... xen2 kernel: Call Trace: Message from syslogd@xen2 at Sat Dec 16 16:04:32 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 Sat Dec 16 16:04:32 2006 ... xen2 kernel: EIP: [<c014616c>] __handle_mm_fault+0x37d/0xb12 SS:ESP 0069:e5c91f1c Using config file "/etc/xen/winxpN". Started domain winxp3 |
#xm create winxpN N=7
Using config file "/etc/xen/winxpN". Error: VM name 'winxp7' already in use by domain 27 |
#xm list
Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 831 2 r----- 344.2 oes1 11 256 1 -b---- 416.2 winxp1 12 256 1 -b---- 19.7 winxp3 19 256 1 ------ 0.1 winxp4 17 256 1 -b---- 3.4 winxp5 16 256 1 -b---- 8.9 winxp6 15 256 1 -b---- 16.4 winxp7 18 256 1 -b---- 35.9 winxp8 13 256 1 -b---- 36.8 winxp9 14 256 1 -b---- 13.4 |
#xm list
Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 831 2 r----- 328.3 oes1 11 256 1 r----- 397.4 winxp1 12 256 1 ------ 19.3 winxp3 19 256 1 ------ 0.1 winxp4 17 256 1 -b---- 3.2 winxp5 16 256 1 -b---- 7.6 winxp6 15 256 1 -b---- 16.3 winxp7 18 256 1 -b---- 32.2 winxp8 13 256 1 ------ 36.6 winxp9 14 256 1 ------ 13.2 |
#kill /?
bash: kill: /?: arguments must be process or job IDs |
#xm list
Started domain winxp1 [root@xen2:~]# xm list Name ID Mem(MiB) VCPUs State Time(s) Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 559 2 r----- 981.3 oes1 11 256 1 -b---- 853.8 winxp1 12 256 1 -b---- 30.3 winxp3 25 256 1 ------ 0.0 winxp4 21 256 1 -b---- 22.6 winxp5 23 256 1 ------ 0.0 winxp6 22 256 1 -b---- 16.6 winxp7 18 256 1 -b---- 60.1 winxp8 24 256 1 -b---- 9.4 winxp9 26 256 1 ------ 0.0 |
#xm destroy winxp3
00 08300828 Message from syslogd@xen2 at Sat Dec 16 16:04:32 2006 ... xen2 kernel: Process qemu-dm (pid: 16072, ti=e5c90000 task=c6e63aa0 task.ti=e5c9 Message from syslogd@xen2 at Sat Dec 16 16:04:32 2006 ... 0000) xen2 kernel: c02dcda0 f0ebf740 bfdc5c58 00145003 00000002 dd97c518 f09a5a f4 00000006 Message from syslogd@xen2 at Sat Dec 16 16:04:32 2006 ... xen2 kernel: Stack: 000007ff 00000000 dd97c53c a50df000 dd97c518 f09a5ac0 000003 Message from syslogd@xen2 at Sat Dec 16 16:04:32 2006 ... ... [root@xen2:~]# xm create winxpN N=1 Using config file "/etc/xen/winxpN". Started domain winxp1 [root@xen2:~]# xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 2759 2 r----- 115.1 oes1 11 256 1 -b---- 245.7 winxp1 12 256 1 ------ 2.3 [root@xen2:~]# [root@xen2:~]# xm list |
#xm list
Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 831 2 r----- 360.0 oes1 11 256 1 -b---- 436.7 winxp1 12 256 1 -b---- 20.0 winxp4 17 256 1 -b---- 3.5 winxp5 16 256 1 -b---- 9.7 winxp6 15 256 1 -b---- 17.6 winxp7 18 256 1 -b---- 38.3 winxp8 13 256 1 -b---- 37.0 winxp9 14 256 1 -b---- 15.4 |
#xm create winxpN N=3
00 08300828 Message from syslogd@xen2 at Sat Dec 16 16:04:32 2006 ... xen2 kernel: Process qemu-dm (pid: 16072, ti=e5c90000 task=c6e63aa0 task.ti=e5c9 Message from syslogd@xen2 at Sat Dec 16 16:04:32 2006 ... 0000) xen2 kernel: c02dcda0 f0ebf740 bfdc5c58 00145003 00000002 dd97c518 f09a5a f4 00000006 Message from syslogd@xen2 at Sat Dec 16 16:04:32 2006 ... xen2 kernel: Stack: 000007ff 00000000 dd97c53c a50df000 dd97c518 f09a5ac0 000003 Message from syslogd@xen2 at Sat Dec 16 16:04:32 2006 ... ... [root@xen2:~]# xm create winxpN N=1 Using config file "/etc/xen/winxpN". Started domain winxp1 [root@xen2:~]# xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 2759 2 r----- 115.1 oes1 11 256 1 -b---- 245.7 winxp1 12 256 1 ------ 2.3 [root@xen2:~]# [root@xen2:~]# xm list |
#xm list
Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 823 2 r----- 370.0 oes1 11 256 1 -b---- 440.8 winxp1 12 256 1 -b---- 20.1 winxp3 20 256 1 ------ 0.4 winxp4 17 256 1 -b---- 3.6 winxp5 16 256 1 -b---- 9.8 winxp6 15 256 1 ------ 18.0 winxp7 18 256 1 -b---- 38.3 winxp8 13 256 1 -b---- 37.0 winxp9 14 256 1 -b---- 15.6 |
#xm list
Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 823 2 r----- 373.7 oes1 11 256 1 ------ 442.0 winxp1 12 256 1 -b---- 20.1 winxp3 20 256 1 ------ 1.2 winxp4 17 256 1 -b---- 3.6 winxp5 16 256 1 -b---- 9.8 winxp6 15 256 1 ------ 18.3 winxp7 18 256 1 -b---- 38.3 winxp8 13 256 1 -b---- 37.0 winxp9 14 256 1 -b---- 15.6 |
#mount -L ISO
|
#cd /data/ISO/
|
#ls
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 |
#mount -o loop zensuite-7-sp1.iso zen
00 08300828 Message from syslogd@xen2 at Sat Dec 16 16:04:32 2006 ... xen2 kernel: Process qemu-dm (pid: 16072, ti=e5c90000 task=c6e63aa0 task.ti=e5c9 Message from syslogd@xen2 at Sat Dec 16 16:04:32 2006 ... 0000) xen2 kernel: c02dcda0 f0ebf740 bfdc5c58 00145003 00000002 dd97c518 f09a5a f4 00000006 Message from syslogd@xen2 at Sat Dec 16 16:04:32 2006 ... xen2 kernel: Stack: 000007ff 00000000 dd97c53c a50df000 dd97c518 f09a5ac0 000003 Message from syslogd@xen2 at Sat Dec 16 16:04:32 2006 ... ... [root@xen2:~]# xm create winxpN N=1 Using config file "/etc/xen/winxpN". Started domain winxp1 [root@xen2:~]# xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 2759 2 r----- 115.1 oes1 11 256 1 -b---- 245.7 winxp1 12 256 1 ------ 2.3 [root@xen2:~]# [root@xen2:~]# xm list |
#cd zen
00 08300828 Message from syslogd@xen2 at Sat Dec 16 16:04:32 2006 ... xen2 kernel: Process qemu-dm (pid: 16072, ti=e5c90000 task=c6e63aa0 task.ti=e5c9 Message from syslogd@xen2 at Sat Dec 16 16:04:32 2006 ... 0000) xen2 kernel: c02dcda0 f0ebf740 bfdc5c58 00145003 00000002 dd97c518 f09a5a f4 00000006 Message from syslogd@xen2 at Sat Dec 16 16:04:32 2006 ... xen2 kernel: Stack: 000007ff 00000000 dd97c53c a50df000 dd97c518 f09a5ac0 000003 Message from syslogd@xen2 at Sat Dec 16 16:04:32 2006 ... ... [root@xen2:~]# xm create winxpN N=1 Using config file "/etc/xen/winxpN". Started domain winxp1 [root@xen2:~]# xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 2759 2 r----- 115.1 oes1 11 256 1 -b---- 245.7 winxp1 12 256 1 ------ 2.3 [root@xen2:~]# [root@xen2:~]# xm list |
#cd ..
|
#mount -o loop zen-dm.iso /zen/
companion-cd/ desktop-manager-linux-cd/ companion-cd2/ Novell Client 4.91 SP3 English.exe desktop-manager-cd/ |
#mount -o loop zen-dm.iso /zen/desktop-manager-cd/
00 08300828 Message from syslogd@xen2 at Sat Dec 16 16:04:32 2006 ... xen2 kernel: Process qemu-dm (pid: 16072, ti=e5c90000 task=c6e63aa0 task.ti=e5c9 Message from syslogd@xen2 at Sat Dec 16 16:04:32 2006 ... 0000) xen2 kernel: c02dcda0 f0ebf740 bfdc5c58 00145003 00000002 dd97c518 f09a5a f4 00000006 Message from syslogd@xen2 at Sat Dec 16 16:04:32 2006 ... xen2 kernel: Stack: 000007ff 00000000 dd97c53c a50df000 dd97c518 f09a5ac0 000003 Message from syslogd@xen2 at Sat Dec 16 16:04:32 2006 ... ... [root@xen2:~]# xm create winxpN N=1 Using config file "/etc/xen/winxpN". Started domain winxp1 [root@xen2:~]# xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 2759 2 r----- 115.1 oes1 11 256 1 -b---- 245.7 winxp1 12 256 1 ------ 2.3 [root@xen2:~]# [root@xen2:~]# xm list |
#mount -o loop zen-comp1.iso /zen/companion-cd1
00 08300828 Message from syslogd@xen2 at Sat Dec 16 16:04:32 2006 ... xen2 kernel: Process qemu-dm (pid: 16072, ti=e5c90000 task=c6e63aa0 task.ti=e5c9 Message from syslogd@xen2 at Sat Dec 16 16:04:32 2006 ... 0000) xen2 kernel: c02dcda0 f0ebf740 bfdc5c58 00145003 00000002 dd97c518 f09a5a f4 00000006 Message from syslogd@xen2 at Sat Dec 16 16:04:32 2006 ... xen2 kernel: Stack: 000007ff 00000000 dd97c53c a50df000 dd97c518 f09a5ac0 000003 Message from syslogd@xen2 at Sat Dec 16 16:04:32 2006 ... ... [root@xen2:~]# xm create winxpN N=1 Using config file "/etc/xen/winxpN". Started domain winxp1 [root@xen2:~]# xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 2759 2 r----- 115.1 oes1 11 256 1 -b---- 245.7 winxp1 12 256 1 ------ 2.3 [root@xen2:~]# [root@xen2:~]# xm list |
#mount -o loop zen-comp1.iso /zen/companion-cd
00 08300828 Message from syslogd@xen2 at Sat Dec 16 16:04:32 2006 ... xen2 kernel: Process qemu-dm (pid: 16072, ti=e5c90000 task=c6e63aa0 task.ti=e5c9 Message from syslogd@xen2 at Sat Dec 16 16:04:32 2006 ... 0000) xen2 kernel: c02dcda0 f0ebf740 bfdc5c58 00145003 00000002 dd97c518 f09a5a f4 00000006 Message from syslogd@xen2 at Sat Dec 16 16:04:32 2006 ... xen2 kernel: Stack: 000007ff 00000000 dd97c53c a50df000 dd97c518 f09a5ac0 000003 Message from syslogd@xen2 at Sat Dec 16 16:04:32 2006 ... ... [root@xen2:~]# xm create winxpN N=1 Using config file "/etc/xen/winxpN". Started domain winxp1 [root@xen2:~]# xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 2759 2 r----- 115.1 oes1 11 256 1 -b---- 245.7 winxp1 12 256 1 ------ 2.3 [root@xen2:~]# [root@xen2:~]# xm list |
#xm list
xen2 kernel: Call Trace: Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 559 2 r----- 891.4 Message from syslogd@xen2 at Sat Dec 16 16:04:32 2006 ... oes1 11 256 1 -b---- 788.0 xen2 kernel: Code: 8b 44 24 20 89 38 b0 01 86 45 00 e9 81 07 00 00 89 f0 e8 98 a winxp1 12 256 1 -b---- 29.8 9 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 0 winxp3 20 256 1 -b---- 33.0 winxp4 21 256 1 -b---- 18.2 ... [root@xen2:~]# xm create winxpN N=1 Using config file "/etc/xen/winxpN". Started domain winxp1 [root@xen2:~]# xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 2759 2 r----- 115.1 oes1 11 256 1 -b---- 245.7 winxp1 12 256 1 ------ 2.3 [root@xen2:~]# [root@xen2:~]# xm list |
#xm destroy winxp4
|
#xm list
Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 823 2 r----- 616.5 oes1 11 256 1 ------ 561.5 winxp1 12 256 1 -b---- 27.4 winxp3 20 256 1 -b---- 22.9 winxp5 16 256 1 ------ 20.7 winxp6 15 256 1 -b---- 30.4 winxp7 18 256 1 -b---- 47.9 winxp8 13 256 1 ------ 48.3 winxp9 14 256 1 -b---- 26.5 |
#xm create winxpN N=4
Using config file "/etc/xen/winxpN". Started domain winxp4 |
#xm create winxpN N=4
Started domain winxp1 [root@xen2:~]# xm list Name ID Mem(MiB) VCPUs State Time(s) Using config file "/etc/xen/winxpN". Error: VM name 'winxp4' already in use by domain 28 |
#top
top - 16:19:02 up 1:10, 16 users, load average: 4.37, 2.85, 1.58 Tasks: 172 total, 4 running, 168 sleeping, 0 stopped, 0 zombie Cpu(s): 3.3%us, 3.0%sy, 0.0%ni, 87.5%id, 3.1%wa, 0.0%hi, 0.2%si, 2.9%st Mem: 842752k total, 823972k used, 18780k free, 507564k buffers PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND Swap: 1951888k total, 52k used, 1951836k free, 44936k cached 14749 root 15 0 303m 20m 5328 S 4 2.4 0:36.35 qemu-dm 1 root 15 0 1860 660 564 S 0 0.1 0:00.35 init 2 root RT 0 0 0 0 S 0 0.0 0:00.02 migration/0 3 root 34 19 0 0 0 S 0 0.0 0:00.00 ksoftirqd/0 ... 187 root 19 -5 0 0 0 S 0 0.0 0:00.00 aio/0 188 root 19 -5 0 0 0 S 0 0.0 0:00.00 aio/1 710 root 10 -5 0 0 0 S 0 0.0 0:00.00 khubd 998 root 14 -5 0 0 0 S 0 0.0 0:00.00 kmirrord 1061 root 15 -5 0 0 0 S 0 0.0 0:00.38 kjournald 1240 root 11 -4 2076 612 348 S 0 0.1 0:00.37 udevd 1672 root 16 -5 0 0 0 S 0 0.0 0:00.00 kpsmoused 2066 daemon 17 0 1588 352 264 S 0 0.0 0:00.00 portmap 2271 root 23 0 2460 900 768 S 0 0.1 0:00.14 syslogd 2277 root 18 0 1488 376 304 S 0 0.0 0:00.00 klogd |
#xm top
0 0 1 0 0 0 0 winxp7 --b--- 54 5.2 275048 8.1 283240 8.3 1 1 0 0 1 0 0 0 0 winxp8 --b--- 54 1.0 275048 8.1 283240 8.3 1 1 0 0 1 0 0 0 0 winxp9 --b--- 32 2.4 275048 8.1 283240 8.3 1 1 0 0 1 0 0 0 0 Delay Networks vBds VCPUs Repeat header Sort order Quit vbd-21-768 is VBD. vbd-20-768 is VBD. vbd-18-768 is VBD. vbd-16-768 is VBD. 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. |
#xm top
Delay Networks vBds VCPUs Repeat header Sort order Quit vbd-21-768 is VBD. vbd-20-768 is VBD. vbd-18-768 is VBD. vbd-16-768 is VBD. 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. |
#xm destroy winxp9
|
#apt-cache search stat io
libgutenprintui2-dev - development files for the Gutenprint printer driver user interface library libhd13-dev - Hardware identification system library and headers libhdf4g-dev - The Hierarchical Data Format library -- development package libherwig59-2-dev - [Physics] Monte Carlo event generator for hadrons (development) libhesiod-dev - Dev libraries for hesiod, a service name resolution protocol libhid-dev - userspace USB HID development files libhighgui-dev - development files for libhighgui libhk-classes-dev - C++ library for database applications (development files) libhunspell-dev - spell checker and morphological analyzer (static library) libibverbs-dev - Development files for the libibverbs library ... libpari-dev - PARI/GP Computer Algebra System development files libparted1.7-dbg - The GNU Parted disk partitioning library debug development files libparted1.7-dev - The GNU Parted disk partitioning library development files libpawlib2 - Cernlib PAW library - portion without Lesstif dependencies libpawlib2-dev - Cernlib PAW library - portion without Lesstif (development files) libpawlib2-lesstif - Cernlib PAW library (Lesstif-dependent part) libpawlib2-lesstif-dev - Cernlib PAW library (Lesstif-dependent part - development files) libpcap0.7 - System interface for user-level packet capture libpcap0.7-dev - Development library and header files for libpcap 0.7 libpcap0.8 - System interface for user-level packet capture |
#apt-cache search stat io | grep ^io
ion3-scripts - user-contributed add-ons to the Ion 3 window manager |
#apt-cache search stat io | grep ^io
ion3-scripts - user-contributed add-ons to the Ion 3 window manager |
#xm list
xen2 kernel: Call Trace: Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 559 2 r----- 897.0 Message from syslogd@xen2 at Sat Dec 16 16:04:32 2006 ... oes1 11 256 1 -b---- 789.4 xen2 kernel: Code: 8b 44 24 20 89 38 b0 01 86 45 00 e9 81 07 00 00 89 f0 e8 98 a winxp1 12 256 1 -b---- 29.8 9 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 0 winxp3 20 256 1 -b---- 33.1 winxp4 21 256 1 -b---- 18.3 ... [root@xen2:~]# xm create winxpN N=1 Using config file "/etc/xen/winxpN". Started domain winxp1 [root@xen2:~]# xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 2759 2 r----- 115.1 oes1 11 256 1 -b---- 245.7 winxp1 12 256 1 ------ 2.3 [root@xen2:~]# [root@xen2:~]# xm list |
#xm list
xen2 kernel: Call Trace: Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 559 2 r----- 974.6 Message from syslogd@xen2 at Sat Dec 16 16:04:32 2006 ... oes1 11 256 1 -b---- 849.5 xen2 kernel: Code: 8b 44 24 20 89 38 b0 01 86 45 00 e9 81 07 00 00 89 f0 e8 98 a winxp1 12 256 1 -b---- 30.3 9 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 0 winxp3 25 256 1 ------ 0.0 winxp4 21 256 1 ------ 21.7 ... [root@xen2:~]# xm create winxpN N=1 Using config file "/etc/xen/winxpN". Started domain winxp1 [root@xen2:~]# xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 2759 2 r----- 115.1 oes1 11 256 1 -b---- 245.7 winxp1 12 256 1 ------ 2.3 [root@xen2:~]# [root@xen2:~]# xm list |
#xm list
Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 559 2 r----- 941.9 oes1 11 256 1 -b---- 816.8 winxp1 12 256 1 -b---- 30.0 winxp3 20 256 1 ------ 36.3 winxp4 21 256 1 -b---- 19.1 winxp5 23 256 1 ------ 0.0 winxp6 22 256 1 ------ 10.3 winxp7 18 256 1 ------ 59.4 winxp8 24 256 1 ------ 4.0 winxp9 14 256 1 -b---- 41.7 |
#xm destroy winxp8
Error: Domain 'winxp8winxp8' does not exist. Usage: xm destroy <Domain> Terminate a domain immediately. |
#xm list
xen2 kernel: Call Trace: Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 559 2 r----- 1008.3 Message from syslogd@xen2 at Sat Dec 16 16:04:32 2006 ... oes1 11 256 1 r----- 886.0 xen2 kernel: Code: 8b 44 24 20 89 38 b0 01 86 45 00 e9 81 07 00 00 89 f0 e8 98 a winxp1 12 256 1 -b---- 32.7 9 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 0 winxp3 25 256 1 ------ 0.0 winxp4 28 256 1 ------ 0.0 ... [root@xen2:~]# xm create winxpN N=1 Using config file "/etc/xen/winxpN". Started domain winxp1 [root@xen2:~]# xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 2759 2 r----- 115.1 oes1 11 256 1 -b---- 245.7 winxp1 12 256 1 ------ 2.3 [root@xen2:~]# [root@xen2:~]# xm list |
#xm list
Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 559 2 r----- 1001.4 oes1 11 256 1 -b---- 876.1 winxp1 12 256 1 -b---- 32.4 winxp3 25 256 1 ------ 0.0 winxp4 21 256 1 -b---- 28.6 winxp5 23 256 1 ------ 0.0 winxp6 22 256 1 -b---- 17.9 winxp7 27 256 1 ------ 0.0 winxp8 24 256 1 -b---- 11.3 winxp9 26 256 1 ------ 0.0 |
#xm list
Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 559 2 r----- 1018.1 oes1 11 256 1 -b---- 893.3 winxp1 12 256 1 r----- 33.8 winxp3 25 256 1 ------ 0.0 winxp4 28 256 1 ------ 0.0 winxp5 23 256 1 ------ 0.0 winxp6 22 256 1 ------ 18.9 winxp7 27 256 1 ------ 0.0 winxp8 24 256 1 -b---- 12.6 winxp9 26 256 1 ------ 0.0 |
#xm list
Started domain winxp1 [root@xen2:~]# xm list Name ID Mem(MiB) VCPUs State Time(s) Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 559 2 r----- 1015.3 oes1 11 256 1 -b---- 890.9 winxp1 12 256 1 -b---- 33.4 winxp3 25 256 1 ------ 0.0 winxp4 28 256 1 ------ 0.0 winxp5 23 256 1 ------ 0.0 winxp6 22 256 1 -b---- 18.7 winxp7 27 256 1 ------ 0.0 winxp8 24 256 1 -b---- 12.5 winxp9 26 256 1 ------ 0.0 |
#xm destroy winxp4
|
#xm list
[root@xen2:~]# Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 559 2 r----- 1044.0 oes1 11 256 1 -b---- 912.5 winxp1 12 256 1 -b---- 34.5 winxp4 29 256 1 r----- 2.4 winxp5 23 256 1 ------ 0.0 winxp6 22 256 1 ------ 23.2 winxp7 27 256 1 ------ 0.0 winxp8 24 256 1 -b---- 13.5 winxp9 30 256 1 ------ 0.5 |
#xm create winxpN N=4
Using config file "/etc/xen/winxpN". Started domain winxp4 |
#xm create winxpN N=9
Using config file "/etc/xen/winxpN". Started domain winxp9 |
#xm list
Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 559 2 r----- 1038.1 oes1 11 256 1 r----- 909.0 winxp1 12 256 1 ------ 34.3 winxp4 29 256 1 ------ 2.1 winxp5 23 256 1 ------ 0.0 winxp6 22 256 1 ------ 23.0 winxp7 27 256 1 ------ 0.0 winxp8 24 256 1 ------ 13.3 winxp9 30 256 1 ------ 0.1 |
#xm create winxpN N=3
Started domain winxp1 [root@xen2:~]# xm list Name ID Mem(MiB) VCPUs State Time(s) Using config file "/etc/xen/winxpN". Started domain winxp3 |
#vncviewer xen2:103
winxp4 17 256 1 -b---- 3.5 winxp5 16 256 1 -b---- 9.7 winxp6 15 256 1 -b---- 16.8 winxp7 18 256 1 -b---- 38.2 winxp8 13 256 1 -b---- 37.0 winxp9 14 256 1 -b---- 14.2 [root@xen2:~]# [root@xen2:~]# xm destroy winxp3 [root@xen2:~]# [root@xen2:~]# Error: Can't open display: |
#xm list
Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 559 2 r----- 1056.2 oes1 11 256 1 r----- 915.0 winxp1 12 256 1 ------ 34.7 winxp3 31 256 1 ------ 0.2 winxp4 29 256 1 ------ 2.6 winxp5 23 256 1 ------ 0.0 winxp6 22 256 1 ------ 25.3 winxp7 27 256 1 ------ 0.0 winxp8 24 256 1 ------ 13.7 winxp9 30 256 1 ------ 1.7 |
#xm list
xen2 kernel: Call Trace: Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 559 2 r----- 1068.0 Message from syslogd@xen2 at Sat Dec 16 16:04:32 2006 ... oes1 11 256 1 -b---- 921.4 xen2 kernel: Code: 8b 44 24 20 89 38 b0 01 86 45 00 e9 81 07 00 00 89 f0 e8 98 a winxp1 12 256 1 -b---- 34.7 9 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 0 winxp3 31 256 1 ------ 0.7 winxp4 29 256 1 -b---- 2.9 ... [root@xen2:~]# xm create winxpN N=1 Using config file "/etc/xen/winxpN". Started domain winxp1 [root@xen2:~]# xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 2759 2 r----- 115.1 oes1 11 256 1 -b---- 245.7 winxp1 12 256 1 ------ 2.3 [root@xen2:~]# [root@xen2:~]# xm list |
#xm destroy winxp7
Error: Domain 'winxp7' does not exist. Usage: xm destroy <Domain> Terminate a domain immediately. |
#xm destroy winxp7
00 08300828 Message from syslogd@xen2 at Sat Dec 16 16:04:32 2006 ... xen2 kernel: Process qemu-dm (pid: 16072, ti=e5c90000 task=c6e63aa0 task.ti=e5c9 Message from syslogd@xen2 at Sat Dec 16 16:04:32 2006 ... 0000) xen2 kernel: c02dcda0 f0ebf740 bfdc5c58 00145003 00000002 dd97c518 f09a5a f4 00000006 Message from syslogd@xen2 at Sat Dec 16 16:04:32 2006 ... xen2 kernel: Stack: 000007ff 00000000 dd97c53c a50df000 dd97c518 f09a5ac0 000003 Message from syslogd@xen2 at Sat Dec 16 16:04:32 2006 ... ... [root@xen2:~]# xm create winxpN N=1 Using config file "/etc/xen/winxpN". Started domain winxp1 [root@xen2:~]# xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 2759 2 r----- 115.1 oes1 11 256 1 -b---- 245.7 winxp1 12 256 1 ------ 2.3 [root@xen2:~]# [root@xen2:~]# xm list |
#xm destroy winxp5
00 08300828 Message from syslogd@xen2 at Sat Dec 16 16:04:32 2006 ... xen2 kernel: Process qemu-dm (pid: 16072, ti=e5c90000 task=c6e63aa0 task.ti=e5c9 Message from syslogd@xen2 at Sat Dec 16 16:04:32 2006 ... 0000) xen2 kernel: c02dcda0 f0ebf740 bfdc5c58 00145003 00000002 dd97c518 f09a5a f4 00000006 Message from syslogd@xen2 at Sat Dec 16 16:04:32 2006 ... xen2 kernel: Stack: 000007ff 00000000 dd97c53c a50df000 dd97c518 f09a5ac0 000003 Message from syslogd@xen2 at Sat Dec 16 16:04:32 2006 ... ... [root@xen2:~]# xm create winxpN N=1 Using config file "/etc/xen/winxpN". Started domain winxp1 [root@xen2:~]# xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 2759 2 r----- 115.1 oes1 11 256 1 -b---- 245.7 winxp1 12 256 1 ------ 2.3 [root@xen2:~]# [root@xen2:~]# xm list |
#xm create winxpN N=7
00 08300828 Message from syslogd@xen2 at Sat Dec 16 16:04:32 2006 ... xen2 kernel: Process qemu-dm (pid: 16072, ti=e5c90000 task=c6e63aa0 task.ti=e5c9 Message from syslogd@xen2 at Sat Dec 16 16:04:32 2006 ... 0000) xen2 kernel: c02dcda0 f0ebf740 bfdc5c58 00145003 00000002 dd97c518 f09a5a f4 00000006 Message from syslogd@xen2 at Sat Dec 16 16:04:32 2006 ... xen2 kernel: Stack: 000007ff 00000000 dd97c53c a50df000 dd97c518 f09a5ac0 000003 Message from syslogd@xen2 at Sat Dec 16 16:04:32 2006 ... ... [root@xen2:~]# xm create winxpN N=1 Using config file "/etc/xen/winxpN". Started domain winxp1 [root@xen2:~]# xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 2759 2 r----- 115.1 oes1 11 256 1 -b---- 245.7 winxp1 12 256 1 ------ 2.3 [root@xen2:~]# [root@xen2:~]# xm list |
#xm create winxpN N=5
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. oes1 11 256 1 -b---- 238.9----- [root@xen2:~]# xm create winxpN N=1 Using config file "/etc/xen/winxpN". Started domain winxp1 [root@xen2:~]# xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 2759 2 r----- 115.1 oes1 11 256 1 -b---- 245.7 winxp1 12 256 1 ------ 2.3 [root@xen2:~]# [root@xen2:~]# xm list |
#xm create winxpN N=5
00 08300828 Message from syslogd@xen2 at Sat Dec 16 16:04:32 2006 ... xen2 kernel: Process qemu-dm (pid: 16072, ti=e5c90000 task=c6e63aa0 task.ti=e5c9 Message from syslogd@xen2 at Sat Dec 16 16:04:32 2006 ... 0000) xen2 kernel: c02dcda0 f0ebf740 bfdc5c58 00145003 00000002 dd97c518 f09a5a f4 00000006 Message from syslogd@xen2 at Sat Dec 16 16:04:32 2006 ... xen2 kernel: Stack: 000007ff 00000000 dd97c53c a50df000 dd97c518 f09a5ac0 000003 Message from syslogd@xen2 at Sat Dec 16 16:04:32 2006 ... ... [root@xen2:~]# xm create winxpN N=1 Using config file "/etc/xen/winxpN". Started domain winxp1 [root@xen2:~]# xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 2759 2 r----- 115.1 oes1 11 256 1 -b---- 245.7 winxp1 12 256 1 ------ 2.3 [root@xen2:~]# [root@xen2:~]# xm list |
#xm list
Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 559 2 r----- 1225.5 oes1 11 256 1 r----- 983.5 winxp1 12 256 1 -b---- 37.6 winxp3 31 256 1 ------ 9.0 winxp4 29 256 1 ------ 9.0 winxp5 33 256 1 ------ 2.6 winxp6 22 256 1 ------ 28.9 winxp7 32 256 1 -b---- 6.8 winxp8 24 256 1 ------ 23.7 winxp9 30 256 1 ------ 8.8 |
#xm create winxpN N=5
Using config file "/etc/xen/winxpN". Error: VM name 'winxp5' already in use by domain 33 |
#xm list
xen2 kernel: Call Trace: Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 559 2 r----- 1233.6 Message from syslogd@xen2 at Sat Dec 16 16:04:32 2006 ... oes1 11 256 1 r----- 984.4 xen2 kernel: Code: 8b 44 24 20 89 38 b0 01 86 45 00 e9 81 07 00 00 89 f0 e8 98 a winxp1 12 256 1 -b---- 37.6 9 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 0 winxp3 31 256 1 -b---- 9.1 winxp4 29 256 1 -b---- 9.1 ... [root@xen2:~]# xm create winxpN N=1 Using config file "/etc/xen/winxpN". Started domain winxp1 [root@xen2:~]# xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 2759 2 r----- 115.1 oes1 11 256 1 -b---- 245.7 winxp1 12 256 1 ------ 2.3 [root@xen2:~]# [root@xen2:~]# xm list |
#xm destroy winxp3
00 08300828 Message from syslogd@xen2 at Sat Dec 16 16:04:32 2006 ... xen2 kernel: Process qemu-dm (pid: 16072, ti=e5c90000 task=c6e63aa0 task.ti=e5c9 Message from syslogd@xen2 at Sat Dec 16 16:04:32 2006 ... 0000) xen2 kernel: c02dcda0 f0ebf740 bfdc5c58 00145003 00000002 dd97c518 f09a5a f4 00000006 Message from syslogd@xen2 at Sat Dec 16 16:04:32 2006 ... xen2 kernel: Stack: 000007ff 00000000 dd97c53c a50df000 dd97c518 f09a5ac0 000003 Message from syslogd@xen2 at Sat Dec 16 16:04:32 2006 ... ... [root@xen2:~]# xm create winxpN N=1 Using config file "/etc/xen/winxpN". Started domain winxp1 [root@xen2:~]# xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 2759 2 r----- 115.1 oes1 11 256 1 -b---- 245.7 winxp1 12 256 1 ------ 2.3 [root@xen2:~]# [root@xen2:~]# xm list |
#xm destroy winxp3
|
#xm create winxpN N=3
00 08300828 Message from syslogd@xen2 at Sat Dec 16 16:04:32 2006 ... xen2 kernel: Process qemu-dm (pid: 16072, ti=e5c90000 task=c6e63aa0 task.ti=e5c9 Message from syslogd@xen2 at Sat Dec 16 16:04:32 2006 ... 0000) xen2 kernel: c02dcda0 f0ebf740 bfdc5c58 00145003 00000002 dd97c518 f09a5a f4 00000006 Message from syslogd@xen2 at Sat Dec 16 16:04:32 2006 ... xen2 kernel: Stack: 000007ff 00000000 dd97c53c a50df000 dd97c518 f09a5ac0 000003 Message from syslogd@xen2 at Sat Dec 16 16:04:32 2006 ... ... [root@xen2:~]# xm create winxpN N=1 Using config file "/etc/xen/winxpN". Started domain winxp1 [root@xen2:~]# xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 2759 2 r----- 115.1 oes1 11 256 1 -b---- 245.7 winxp1 12 256 1 ------ 2.3 [root@xen2:~]# [root@xen2:~]# xm list |
#xm list
xen2 kernel: Call Trace: Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 559 2 r----- 1980.0 Message from syslogd@xen2 at Sat Dec 16 16:04:32 2006 ... oes1 11 256 1 -b---- 1646.2 xen2 kernel: Code: 8b 44 24 20 89 38 b0 01 86 45 00 e9 81 07 00 00 89 f0 e8 98 a winxp1 12 256 1 -b---- 51.3 9 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 0 winxp3 34 256 1 -b---- 100.6 winxp4 35 256 1 -b---- 20.1 ... [root@xen2:~]# xm create winxpN N=1 Using config file "/etc/xen/winxpN". Started domain winxp1 [root@xen2:~]# xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 2759 2 r----- 115.1 oes1 11 256 1 -b---- 245.7 winxp1 12 256 1 ------ 2.3 [root@xen2:~]# [root@xen2:~]# xm list |
#xm list
Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 558 2 r----- 2291.4 oes1 11 256 1 -b---- 2002.1 winxp1 12 256 1 -b---- 75.9 winxp3 38 256 1 ------ 0.0 winxp4 35 256 1 ------ 71.6 winxp5 36 256 1 -b---- 25.4 winxp6 37 256 1 -b---- 9.6 winxp7 32 256 1 -b---- 97.7 winxp8 24 256 1 -b---- 116.4 winxp9 30 256 1 ------ 88.7 |
Время первой команды журнала | 15:54:10 2006-12-16 | ||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 16:37:13 2006-12-16 | ||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | ||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 19.80 | ||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 0.99 | ||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 0.72 | ||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 2.35 | ||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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