| /l3/users/devi/xen-seminar-preparation/crimson.unix.nt/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 :13 :14 :15 :16 :17 |
|
|
#rm /var/log/qemu-dm.*
|
|
#tail /var/log/qemu-dm.13047.log
-usbdevice name add the host or guest USB device 'name'
Network options:
-net nic[,vlan=n][,macaddr=addr][,model=type]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
connect the host TAP network interface to VLAN 'n' and use
the network script 'file' (default=%s);
use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
connect the vlan 'n' to multicast maddr and port
domid: 2
qemu: the number of cpus is 1
xc_get_pfn_list returned error 22
|
|
#rm /var/log/qemu-dm.*
|
|
#vi ../patches/xen-mm
|
|
#grep -r "xc_get_pfn_list returned error" ..
-net nic[,vlan=n][,macaddr=addr][,model=type]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
connect the host TAP network interface to VLAN 'n' and use
the network script 'file' (default=%s);
use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
connect the vlan 'n' to multicast maddr and port
../patches/ioemu-ia64: fprintf(logfile, "xc_get_pfn_list returned error %d\n", errno);
../patches/xen-mm:+ fprintf(logfile, "xc_get_pfn_list returned error %d\n", errno);
../vl.c: fprintf(logfile, "xc_get_pfn_list returned error %d\n", errno);
Binary file ../i386-dm/vl.o matches
Binary file ../i386-dm/qemu-dm matches
|
|
#grep -r xc_get_pfn_list ..
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
connect the host TAP network interface to VLAN 'n' and use
the network script 'file' (default=%s);
use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
connect the vlan 'n' to multicast maddr and port
../patches/ioemu-ia64: if (xc_get_pfn_list(xc_handle, domid, page_array, nr_pages) != nr_pages) {
../patches/ioemu-ia64: fprintf(logfile, "xc_get_pfn_list returned error %d\n", errno);
../patches/xen-mm:+ if (xc_get_pfn_list(xc_handle, domid, page_array, nr_pages) != nr_pages) {
../patches/xen-mm:+ fprintf(logfile, "xc_get_pfn_list returned error %d\n", errno);
../vl.c: if (xc_get_pfn_list(xc_handle, domid, page_array, nr_pages) != nr_pages) {
../vl.c: fprintf(logfile, "xc_get_pfn_list returned error %d\n", errno);
Binary file ../i386-dm/vl.o matches
Binary file ../i386-dm/qemu-dm matches
|
|
#grep -r xc_get_pfn_list ../..
Binary file ../../libxc/xc_core.opic matches Binary file ../../libxc/xc_private.opic matches Binary file ../../libxc/xc_ptrace.opic matches Binary file ../../libxc/libxenctrl.so.3.0.0 matches Binary file ../../libxc/libxenctrl.so.3.0 matches Binary file ../../libxc/libxenctrl.so matches Binary file ../../libxc/xc_linux_build.o matches Binary file ../../libxc/xc_linux_restore.o matches Binary file ../../libxc/xc_hvm_build.o matches Binary file ../../libxc/libxenguest.a matches Binary file ../../libxc/xc_linux_build.opic matches Binary file ../../libxc/xc_linux_restore.opic matches Binary file ../../libxc/xc_hvm_build.opic matches Binary file ../../libxc/libxenguest.so.3.0.0 matches Binary file ../../libxc/libxenguest.so.3.0 matches Binary file ../../libxc/libxenguest.so matches Binary file ../../xenstat/libxenstat/src/libxenstat.a matches |
|
#vi ../../libxc/xc_private.c
|
|
#vi ../../libxc/xc_private.c
|
|
#cd ../../
|
|
#ls
blktap debugger guest-headers libxc pygrub security vnet xcutils xenstore check examples ioemu Makefile python sv vtpm xenmon xentrace console firmware libaio misc Rules.mk tests vtpm_manager xenstat xm-test |
|
#cd ../
|
|
#ls
buildconfigs COPYING install.sh Makefile ref-linux-2.6.16.13 ChangeLog dist linux-2.6.16.13.tar.bz2 patches tools config docs linux-2.6.16.13-xen pristine-linux-2.6.16.13 xen Config.mk extras linux-2.6-xen-sparse README |
|
#make clean
rm -f config-host.mak config-host.h
rm -f qemu-{doc,tech}.{info,aux,cp,dvi,fn,info,ky,log,pg,toc,tp,vr}
for d in i386-dm; do \
rm -rf $d || exit 1 ; \
done
make[3]: Leaving directory `/usr/src/xen-unstable/xen-unstable/tools/ioemu'
make[2]: Leaving directory `/usr/src/xen-unstable/xen-unstable/tools'
make[1]: Leaving directory `/usr/src/xen-unstable/xen-unstable/tools'
make -C docs clean
make[1]: Entering directory `/usr/src/xen-unstable/xen-unstable/docs'
rm -rf .word_count *.aux *.dvi *.bbl *.blg *.glo *.idx *~
rm -rf *.ilg *.log *.ind *.toc *.bak core
rm -rf ps pdf html
rm -rf api
rm -rf man5
rm -rf man1
make[1]: Leaving directory `/usr/src/xen-unstable/xen-unstable/docs'
|
|
#make world
make[5]: Leaving directory `/usr/src/xen-unstable/xen-unstable/tools/ioemu/tests'
for d in ; do \
[ -d $d ] && make -C $d clean || exit 0 ; \
done
rm -f config-host.mak config-host.h
rm -f qemu-{doc,tech}.{info,aux,cp,dvi,fn,info,ky,log,pg,toc,tp,vr}
for d in ; do \
rm -rf $d || exit 1 ; \
done
make[4]: Leaving directory `/usr/src/xen-unstable/xen-unstable/tools/ioemu'
...
gcc -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/usr/src/xen-unstable/xen-unstable/xen/include -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mach-generic -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mac
gcc -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/usr/src/xen-unstable/xen-unstable/xen/include -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mach-generic -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mac
gcc -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/usr/src/xen-unstable/xen-unstable/xen/include -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mach-generic -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mac
gcc -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/usr/src/xen-unstable/xen-unstable/xen/include -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mach-generic -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mac
gcc -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/usr/src/xen-unstable/xen-unstable/xen/include -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mach-generic -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mac
gcc -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/usr/src/xen-unstable/xen-unstable/xen/include -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mach-generic -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mac
gcc -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/usr/src/xen-unstable/xen-unstable/xen/include -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mach-generic -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mac
gcc -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/usr/src/xen-unstable/xen-unstable/xen/include -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mach-generic -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mac
gcc -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/usr/src/xen-unstable/xen-unstable/xen/include -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mach-generic -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mac
gcc -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/usr/src/xen-unstable/xen-unstable/xen/include -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mach-generic -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mac
|
|
#apt-get remove xen-utils-3.0
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
connect the vlan 'n' to multicast maddr and port
Reading package lists... Done
Building dependency tree... Done
The following packages will be REMOVED
xen-utils-3.0
0 upgraded, 0 newly installed, 1 to remove and 2 not upgraded.
Need to get 0B of archives.
After unpacking 1368kB disk space will be freed.
Do you want to continue [Y/n]? Y
(Reading database ... 34217 files and directories currently installed.)
Removing xen-utils-3.0 ...
Shutting down Xen domains:Error: Error connecting to xend: Connection refused. Is xend running?
Error: Error connecting to xend: Connection refused. Is xend running?
[done]
|
|
#/etc/init.d/xend
-win2k-hack use it when installing Windows 2000 to avoid a disk full bug
-usb enable the USB driver (will be the default soon)
-usbdevice name add the host or guest USB device 'name'
Network options:
-net nic[,vlan=n][,macaddr=addr][,model=type]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
connect the host TAP network interface to VLAN 'n' and use
the network script 'file' (default=%s);
use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
connect the vlan 'n' to multicast maddr and port
xend xendomains
|
|
#/etc/init.d/xend stop
/etc/init.d/xend: line 34: xend: command not found |
|
#xen
-usb enable the USB driver (will be the default soon)
-usbdevice name add the host or guest USB device 'name'
Network options:
-net nic[,vlan=n][,macaddr=addr][,model=type]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
connect the host TAP network interface to VLAN 'n' and use
the network script 'file' (default=%s);
use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
connect the vlan 'n' to multicast maddr and port
xenbaked xencons xenperf xentrace
xen-bugtool xenmon.py xenstore-chmod xentrace_format
|
|
#xen
xenbaked xencons xenperf xentrace xen-bugtool xenmon.py xenstore-chmod xentrace_format |
|
#apt-get remove xen-utils-3.0
Reading package lists... Done Building dependency tree... Done Package xen-utils-3.0 is not installed, so not removed 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded. |
|
#dpkg -l xen
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
connect the host TAP network interface to VLAN 'n' and use
the network script 'file' (default=%s);
use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
connect the vlan 'n' to multicast maddr and port
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-===================-===================-======================================================
un xen <none> (no description available)
|
|
#dpkg -l xen.*
No packages found matching xen.*. |
|
#dpkg -l xen*
No packages found matching xen-unstable. No packages found matching xen-unstable.hg. No packages found matching xen-unstable.hgold.tar.gz. No packages found matching xen-unstable-src.tgz. |
|
#dpkg -l 'xen*'
Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description +++-===================-===================-====================================================== un xen <none> (no description available) un xen-hypervisor <none> (no description available) un xen-hypervisor-3.0 <none> (no description available) ii xen-hypervisor-3.0- 3.0.2+hg9697-1 The Xen Hypervisor for i386 ii xen-hypervisor-3.0- 3.0.2+hg9697-1 The Xen Hypervisor for i386 (pae enabled version) un xen-hypervisor-i386 <none> (no description available) un xen-hypervisor-i386 <none> (no description available) ii xen-tools 2.2-3 Tools to manage debian XEN virtual servers un xen-utils <none> (no description available) rc xen-utils-3.0 3.0.2+hg9697-1 XEN administrative tools un xen-vm <none> (no description available) un xengine <none> (no description available) |
|
#apt-get remove xen-utils
-net nic[,vlan=n][,macaddr=addr][,model=type]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
connect the host TAP network interface to VLAN 'n' and use
the network script 'file' (default=%s);
use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
connect the vlan 'n' to multicast maddr and port
Reading package lists... Done
Building dependency tree... Done
Note, selecting xen-utils-3.0 for regex ‘xen-utils’
Package xen-utils-3.0 is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
|
|
#ls /usr/lib/python/
-win2k-hack use it when installing Windows 2000 to avoid a disk full bug
-usb enable the USB driver (will be the default soon)
-usbdevice name add the host or guest USB device 'name'
Network options:
-net nic[,vlan=n][,macaddr=addr][,model=type]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
connect the host TAP network interface to VLAN 'n' and use
the network script 'file' (default=%s);
use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
connect the vlan 'n' to multicast maddr and port
grub xen
|
|
#ls /usr/lib/python/xen/
__init__.py __init__.pyc lowlevel sv util web xend xm |
|
#ls ~?
ls: ~?: No such file or directory |
|
#ls ~/
BACKUP_python2.3_site-packages |
|
#mv /usr/lib/python/xen ~/usr_lib_python_xeb
-full-screen start in full screen
-win2k-hack use it when installing Windows 2000 to avoid a disk full bug
-usb enable the USB driver (will be the default soon)
-usbdevice name add the host or guest USB device 'name'
Network options:
-net nic[,vlan=n][,macaddr=addr][,model=type]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
connect the host TAP network interface to VLAN 'n' and use
the network script 'file' (default=%s);
use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
connect the vlan 'n' to multicast maddr and port
|
|
#mv /usr/lib/python/grub ~/usr_lib_python_grub
-full-screen start in full screen
-win2k-hack use it when installing Windows 2000 to avoid a disk full bug
-usb enable the USB driver (will be the default soon)
-usbdevice name add the host or guest USB device 'name'
Network options:
-net nic[,vlan=n][,macaddr=addr][,model=type]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
connect the host TAP network interface to VLAN 'n' and use
the network script 'file' (default=%s);
use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
connect the vlan 'n' to multicast maddr and port
|
|
#dpkg -L xen-utils-3.0
/etc/xen/scripts/locking.sh /etc/xen/scripts/logging.sh /etc/xen/scripts/xen-hotplug-common.sh /etc/xen/scripts/xen-network-common.sh /etc/xen/scripts/vif-common.sh /etc/xen/scripts/block-common.sh /etc/xen/scripts/vtpm-common.sh /etc/xen/scripts/vtpm-hotplug-common.sh /etc/xen/scripts/network-dummy /etc/xen/xend-config.sxp /etc/init.d /etc/init.d/xend /etc/init.d/xendomains /etc/default /etc/default/xendomains /usr/lib/xen /usr/lib/xen/bin |
|
#ls /usr/lib/xen
-win2k-hack use it when installing Windows 2000 to avoid a disk full bug
-usb enable the USB driver (will be the default soon)
-usbdevice name add the host or guest USB device 'name'
Network options:
-net nic[,vlan=n][,macaddr=addr][,model=type]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
connect the host TAP network interface to VLAN 'n' and use
the network script 'file' (default=%s);
use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
connect the vlan 'n' to multicast maddr and port
bin boot
|
|
#ls /usr/lib/xen/bin/
qemu-dm qemu-dm.debug |
|
#ls /etc/xen
-usb enable the USB driver (will be the default soon)
-usbdevice name add the host or guest USB device 'name'
Network options:
-net nic[,vlan=n][,macaddr=addr][,model=type]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
connect the host TAP network interface to VLAN 'n' and use
the network script 'file' (default=%s);
use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
connect the vlan 'n' to multicast maddr and port
debian-vm0 scripts xend-config.sxp xend-pci-quirks.sxp xmexample2 xmexample.vti
qemu-ifup windowsxp-vm0 xend-pci-permissive.sxp xmexample1 xmexample.hvm
|
|
#ls -l /etc/xen/
total 68 -rw-r--r-- 1 root root 199 2006-08-11 19:43 debian-vm0 -rwxr-xr-x 1 root root 164 2006-08-11 23:37 qemu-ifup drwxr-xr-x 2 root root 4096 2006-08-12 00:30 scripts -rw-r--r-- 1 root root 480 2006-08-11 23:33 windowsxp-vm0 -rw-r--r-- 1 root root 4292 2006-05-31 13:07 xend-config.sxp -rw-r--r-- 1 root root 1256 2006-08-11 22:43 xend-pci-permissive.sxp -rw-r--r-- 1 root root 4129 2006-08-11 22:43 xend-pci-quirks.sxp -rw-r--r-- 1 root root 5463 2006-08-11 22:43 xmexample1 -rw-r--r-- 1 root root 6746 2006-08-11 22:43 xmexample2 -rw-r--r-- 1 root root 6511 2006-08-11 22:43 xmexample.hvm -rw-r--r-- 1 root root 4907 2006-08-11 22:43 xmexample.vti |
|
#ls -ld /etc/xen*
-usbdevice name add the host or guest USB device 'name'
Network options:
-net nic[,vlan=n][,macaddr=addr][,model=type]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
connect the host TAP network interface to VLAN 'n' and use
the network script 'file' (default=%s);
use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
connect the vlan 'n' to multicast maddr and port
drwxr-xr-x 3 root root 4096 2006-08-12 14:28 /etc/xen
drwxr-xr-x 4 root root 4096 2006-08-12 00:27 /etc/xen.BACKUP
drwxr-xr-x 3 root root 4096 2006-08-10 19:25 /etc/xen-tools
|
|
#mv /etc/xen{,.BACKUP-12Aug1434}
-full-screen start in full screen
-win2k-hack use it when installing Windows 2000 to avoid a disk full bug
-usb enable the USB driver (will be the default soon)
-usbdevice name add the host or guest USB device 'name'
Network options:
-net nic[,vlan=n][,macaddr=addr][,model=type]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
connect the host TAP network interface to VLAN 'n' and use
the network script 'file' (default=%s);
use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
connect the vlan 'n' to multicast maddr and port
|
|
#dpkg -l python2.3
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
connect the host TAP network interface to VLAN 'n' and use
the network script 'file' (default=%s);
use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
connect the vlan 'n' to multicast maddr and port
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-===================-===================-======================================================
ii python2.3 2.3.5-15 An interactive high-level object-oriented language (ve
|
|
#apt-cache search python dev
python2.4-sip4-dev - Python/C++ bindings generator - Python2.4+Qt3 devel python2.5-dev - Header files and a static library for Python (v2.5) pythoncard - wxPython-based GUI construction framework (meta-package) pythoncard-doc - wxPython-based GUI construction framework (documentation and samples) pythoncard-tools - wxPython-based GUI construction framework (optional development tools) quantlib-python - Python bindings for the Quantlib Quantitative Finance library quixote - A highly Pythonic Web application framework quixote1 - A highly Pythonic Web application framework rekall - graphical database front-end samba - a LanManager-like file and printer server for Unix sip - Python/C++ bindings generator sip4 - Python/C++ bindings generator tinywm - tiny window manager vtk-examples - C++, Tcl and Python example programs/scripts for VTK zope2.8 - Open Source Web Application Server zope2.9 - Open Source Web Application Server zope3 - Open Source Web Application Server (Libraries) |
|
#which python
-win2k-hack use it when installing Windows 2000 to avoid a disk full bug
-usb enable the USB driver (will be the default soon)
-usbdevice name add the host or guest USB device 'name'
Network options:
-net nic[,vlan=n][,macaddr=addr][,model=type]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
connect the host TAP network interface to VLAN 'n' and use
the network script 'file' (default=%s);
use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
connect the vlan 'n' to multicast maddr and port
/usr/bin/python
|
|
#ls -l `!!`
ls -l `which python` lrwxrwxrwx 1 root root 9 2006-08-12 00:22 /usr/bin/python -> python2.3 |
|
#apt-cache search python2.3 dev
-net nic[,vlan=n][,macaddr=addr][,model=type]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
connect the host TAP network interface to VLAN 'n' and use
the network script 'file' (default=%s);
use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
connect the vlan 'n' to multicast maddr and port
python-all-dev - Package depending on all supported Python development packages
python2.3-dev - Header files and a static library for Python (v2.3)
python2.3-sip-dev - Python/C++ bindings generator - Python2.3+Qt3 devel
python2.3-sip4-dev - Python/C++ bindings generator - Python2.3+Qt3 devel
samba - a LanManager-like file and printer server for Unix
|
|
#apt-get install python2.3-dev
the network script 'file' (default=%s);
use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
connect the vlan 'n' to multicast maddr and port
Reading package lists... Done
Building dependency tree... Done
The following NEW packages will be installed
python2.3-dev
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 0B/1422kB of archives.
After unpacking 4493kB of additional disk space will be used.
Selecting previously deselected package python2.3-dev.
(Reading database ... 34069 files and directories currently installed.)
Unpacking python2.3-dev (from .../python2.3-dev_2.3.5-15_i386.deb) ...
Setting up python2.3-dev (2.3.5-15) ...
|
|
#make world
make[5]: Leaving directory `/usr/src/xen-unstable/xen-unstable/tools/ioemu/tests'
for d in ; do \
[ -d $d ] && make -C $d clean || exit 0 ; \
done
rm -f config-host.mak config-host.h
rm -f qemu-{doc,tech}.{info,aux,cp,dvi,fn,info,ky,log,pg,toc,tp,vr}
for d in ; do \
rm -rf $d || exit 1 ; \
done
make[4]: Leaving directory `/usr/src/xen-unstable/xen-unstable/tools/ioemu'
...
gcc -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/usr/src/xen-unstable/xen-unstable/xen/include -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mach-generic -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mac
gcc -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/usr/src/xen-unstable/xen-unstable/xen/include -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mach-generic -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mac
gcc -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/usr/src/xen-unstable/xen-unstable/xen/include -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mach-generic -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mac
gcc -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/usr/src/xen-unstable/xen-unstable/xen/include -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mach-generic -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mac
gcc -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/usr/src/xen-unstable/xen-unstable/xen/include -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mach-generic -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mac
gcc -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/usr/src/xen-unstable/xen-unstable/xen/include -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mach-generic -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mac
gcc -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/usr/src/xen-unstable/xen-unstable/xen/include -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mach-generic -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mac
gcc -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/usr/src/xen-unstable/xen-unstable/xen/include -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mach-generic -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mac
gcc -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/usr/src/xen-unstable/xen-unstable/xen/include -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mach-generic -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mac
gcc -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/usr/src/xen-unstable/xen-unstable/xen/include -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mach-generic -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mac
|
|
#make install
CC drivers/media/dvb/frontends/dib3000mc.mod.o LD [M] drivers/media/dvb/frontends/dib3000mc.ko CC drivers/media/dvb/frontends/dvb-pll.mod.o LD [M] drivers/media/dvb/frontends/dvb-pll.ko CC drivers/media/dvb/frontends/l64781.mod.o LD [M] drivers/media/dvb/frontends/l64781.ko CC drivers/media/dvb/frontends/lgdt330x.mod.o LD [M] drivers/media/dvb/frontends/lgdt330x.ko CC drivers/media/dvb/frontends/mt312.mod.o LD [M] drivers/media/dvb/frontends/mt312.ko CC drivers/media/dvb/frontends/mt352.mod.o LD [M] drivers/media/dvb/frontends/mt352.ko CC drivers/media/dvb/frontends/nxt200x.mod.o LD [M] drivers/media/dvb/frontends/nxt200x.ko CC drivers/media/dvb/frontends/nxt6000.mod.o LD [M] drivers/media/dvb/frontends/nxt6000.ko CC drivers/media/dvb/frontends/or51132.mod.o |
|
#ls /boot/
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
connect the host TAP network interface to VLAN 'n' and use
the network script 'file' (default=%s);
use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
connect the vlan 'n' to multicast maddr and port
config-2.6.16.13-xen vmlinux-syms-2.6.16.13-xen xen-3.0-i386.gz
config-xen0-2.6.16-xen0-b4 vmlinuz-2.6.16.13-xen xen-3.0-unstable.gz
grub vmlinuz-2.6.16-xen xen-3.gz
initrd.img-2.6.16-xen0-b4 vmlinuz-2.6.17-prexen xen.gz
initrd.img-2.6.17-prexen vmlinuz-2.6-xen xen-syms-3.0-unstable
System.map-2.6.16.13-xen xen0-linux-2.6.16-xen0-b4
System.map-xen0-2.6.16-xen0-b4 xen-3.0.gz
|
|
#vi /boot/grub/menu.lst
|
|
#mkinitramfs -o /boot/initrd.img-2.6.16.13-xen 2.6.16.13-xen
-full-screen start in full screen
-win2k-hack use it when installing Windows 2000 to avoid a disk full bug
-usb enable the USB driver (will be the default soon)
-usbdevice name add the host or guest USB device 'name'
Network options:
-net nic[,vlan=n][,macaddr=addr][,model=type]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
connect the host TAP network interface to VLAN 'n' and use
the network script 'file' (default=%s);
use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
connect the vlan 'n' to multicast maddr and port
|
|
#ls /boot/
config-2.6.16.13-xen System.map-xen0-2.6.16-xen0-b4 xen-3.0.gz config-xen0-2.6.16-xen0-b4 vmlinux-syms-2.6.16.13-xen xen-3.0-i386.gz grub vmlinuz-2.6.16.13-xen xen-3.0-unstable.gz initrd.img-2.6.16.13-xen vmlinuz-2.6.16-xen xen-3.gz initrd.img-2.6.16-xen0-b4 vmlinuz-2.6.17-prexen xen.gz initrd.img-2.6.17-prexen vmlinuz-2.6-xen xen-syms-3.0-unstable System.map-2.6.16.13-xen xen0-linux-2.6.16-xen0-b4 |
|
#vi /boot/grub/menu.lst
48c48 < kernel /boot/xen-3.0-i386.gz dom0_mem=262144 --- > kernel /boot/xen-3.0-unstable.gz dom0_mem=262144 |
|
#xm Error: Error connecting to xend: Connection refused. Is xend running?
|
|
#xen
Network options:
-net nic[,vlan=n][,macaddr=addr][,model=type]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
connect the host TAP network interface to VLAN 'n' and use
the network script 'file' (default=%s);
use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
connect the vlan 'n' to multicast maddr and port
xenbaked xend xenstore-control xenstore-ls xentop
xen-bugtool xenmon.py xenstored xenstore-read xentrace
xencons xenperf xenstore-exists xenstore-rm xentrace_format
xenconsoled xenstore-chmod xenstore-list xenstore-write
|
|
#xend start
|
|
#ls /var/log/xen
-win2k-hack use it when installing Windows 2000 to avoid a disk full bug
-usb enable the USB driver (will be the default soon)
-usbdevice name add the host or guest USB device 'name'
Network options:
-net nic[,vlan=n][,macaddr=addr][,model=type]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
connect the host TAP network interface to VLAN 'n' and use
the network script 'file' (default=%s);
use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
connect the vlan 'n' to multicast maddr and port
xend-debug.log xend.log xen-hotplug.log
|
|
#ls /var/log/xend.log
/var/log/xend.log |
|
#tail /var/log/xend.log
[2006-08-12 14:07:38 xend] DEBUG (__init__:988) Waiting for devices vtpm.
[2006-08-12 14:07:38 xend] INFO (__init__:988) Domain windowsxp-vm0 (2) unpaused.
[2006-08-12 14:28:26 xend] INFO (__init__:988) Xend stopped due to signal 15.
[2006-08-12 16:12:27 xend 31341] INFO (__init__:988) Xend Daemon started
[2006-08-12 16:12:27 xend 31341] ERROR (__init__:988) Exception starting xend ((22, 'Invalid argument'))
Traceback (most recent call last):
File "//usr/lib/python/xen/xend/server/SrvDaemon.py", line 286, in run
xinfo = xc.xeninfo()
Error: (22, 'Invalid argument')
[2006-08-12 16:12:27 xend 31336] INFO (__init__:988) Xend exited with status 1.
|
|
#python
Network options:
-net nic[,vlan=n][,macaddr=addr][,model=type]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
connect the host TAP network interface to VLAN 'n' and use
the network script 'file' (default=%s);
use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
connect the vlan 'n' to multicast maddr and port
Python 2.3.5 (#2, Jul 30 2006, 15:57:01)
[GCC 4.1.2 20060715 (prerelease) (Debian 4.1.1-9)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
|
|
#vi /usr/lib/python/xen/xend/server/SrvDaemon.py
|
|
#vi /usr/lib/python/xen/lowlevel/__init__.py
|
|
#vi /usr/lib/python/xen/lowlevel/__init__.py
|
|
#vi /usr/lib/python/xen/lowlevel/__init__.py
|
|
#vi /usr/lib/python/xen/lowlevel/__init__.pyc
|
|
#ls -l /usr/lib/python/xen/lowlevel/
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
connect the host TAP network interface to VLAN 'n' and use
the network script 'file' (default=%s);
use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
connect the vlan 'n' to multicast maddr and port
total 144
-rwxr-xr-x 1 root root 20647 2006-08-12 15:50 acm.so
-rw-r--r-- 1 root root 2 2006-08-11 08:12 __init__.py
-rw-r--r-- 1 root root 121 2006-08-12 16:07 __init__.pyc
-rwxr-xr-x 1 root root 62675 2006-08-12 15:50 xc.so
-rwxr-xr-x 1 root root 43820 2006-08-12 15:50 xs.so
|
|
#fix xen/
-usb enable the USB driver (will be the default soon)
-usbdevice name add the host or guest USB device 'name'
Network options:
-net nic[,vlan=n][,macaddr=addr][,model=type]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
connect the host TAP network interface to VLAN 'n' and use
the network script 'file' (default=%s);
use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
connect the vlan 'n' to multicast maddr and port
acm/ common/ drivers/ Makefile tools/ xen.gz
arch/ COPYING include/ Rules.mk xen xen-syms
|
|
#fix xen/tools/
-win2k-hack use it when installing Windows 2000 to avoid a disk full bug
-usb enable the USB driver (will be the default soon)
-usbdevice name add the host or guest USB device 'name'
Network options:
-net nic[,vlan=n][,macaddr=addr][,model=type]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
connect the host TAP network interface to VLAN 'n' and use
the network script 'file' (default=%s);
use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
connect the vlan 'n' to multicast maddr and port
figlet/ Makefile symbols symbols.c
|
|
#fix tools/
blktap/ firmware/ Makefile security/ vtpm_manager/ xentrace/ check/ guest-headers/ misc/ sv/ xcutils/ xm-test/ console/ ioemu/ pygrub/ tests/ xenmon/ debugger/ libaio/ python/ vnet/ xenstat/ examples/ libxc/ Rules.mk vtpm/ xenstore/ |
|
#find . -name lowlevel
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
connect the host TAP network interface to VLAN 'n' and use
the network script 'file' (default=%s);
use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
connect the vlan 'n' to multicast maddr and port
./tools/python/xen/lowlevel
./tools/python/build/lib.linux-i686-2.3/xen/lowlevel
./tools/python/build/temp.linux-i686-2.3/xen/lowlevel
./dist/install/usr/lib/python/xen/lowlevel
./ref-linux-2.6.16.13/drivers/char/ftape/lowlevel
./pristine-linux-2.6.16.13/drivers/char/ftape/lowlevel
./linux-2.6.16.13-xen/drivers/char/ftape/lowlevel
|
|
#cd ./dist/install/usr/lib/python/xen/lowlevel
-full-screen start in full screen
-win2k-hack use it when installing Windows 2000 to avoid a disk full bug
-usb enable the USB driver (will be the default soon)
-usbdevice name add the host or guest USB device 'name'
Network options:
-net nic[,vlan=n][,macaddr=addr][,model=type]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
connect the host TAP network interface to VLAN 'n' and use
the network script 'file' (default=%s);
use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
connect the vlan 'n' to multicast maddr and port
|
|
#cd ./dist/install/usr/lib/python/xen/lowlevel
-win2k-hack use it when installing Windows 2000 to avoid a disk full bug
-usb enable the USB driver (will be the default soon)
-usbdevice name add the host or guest USB device 'name'
Network options:
-net nic[,vlan=n][,macaddr=addr][,model=type]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
connect the host TAP network interface to VLAN 'n' and use
the network script 'file' (default=%s);
use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
connect the vlan 'n' to multicast maddr and port
bash: cd: ./dist/install/usr/lib/python/xen/lowlevel: No such file or directory
|
|
#pwd
/usr/src/xen-unstable/xen-unstable/dist/install/usr/lib/python/xen/lowlevel |
|
#dpkg -l python2.4
Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description +++-===================-===================-====================================================== rc python2.4 2.4.3-8 An interactive high-level object-oriented language (ve |
|
#dpkg -r python2.4
-usb enable the USB driver (will be the default soon)
-usbdevice name add the host or guest USB device 'name'
Network options:
-net nic[,vlan=n][,macaddr=addr][,model=type]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
connect the host TAP network interface to VLAN 'n' and use
the network script 'file' (default=%s);
use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
connect the vlan 'n' to multicast maddr and port
dpkg - warning: ignoring request to remove python2.4, only the config
files of which are on the system. Use --purge to remove them too.
|
|
#dpkg -R
dpkg: need an action option Type dpkg --help for help about installing and deinstalling packages [*]; Use `dselect' or `aptitude' for user-friendly package management; Type dpkg -Dhelp for a list of dpkg debug flag values; Type dpkg --force-help for a list of forcing options; Type dpkg-deb --help for help about manipulating *.deb files; Type dpkg --license for copyright license and lack of warranty (GNU GPL) [*]. Options marked [*] produce a lot of output - pipe it through `less' or `more' ! |
|
#man dpkg
|
|
#dpkg -p python2.4
Package: python2.4 Priority: optional Section: python Installed-Size: 9980 Maintainer: Matthias Klose <doko@debian.org> Architecture: i386 Version: 2.4.3-8 Replaces: python2.4-minimal (<< 2.4-3), python2.4-dev (<< 2.4.3-4), idle-python2.4 (<< 2.4.3-8), python-tk (<< 2.4.3-2) Provides: python2.4-cjkcodecs Depends: python2.4-minimal (= 2.4.3-8), mime-support, libbz2-1.0, libc6 (>= 2.3.6-6), libdb4.4, libncurses5 (>= 5.4-5), libncursesw5 (>= 5.4-5), libreadline5 (>= 5.1), libssl0.9.8 (>= 0.9.8b-1) Suggests: python2.4-doc Conflicts: python2.4-dev (<< 2.3.95-2), python-central (<< 0.5), idle-python2.4 (<< 2.4.3-8), python-tk (<< 2.4.3-2) Size: 3011410 Description: An interactive high-level object-oriented language (version 2.4) Version 2.4 of the high-level, interactive object oriented language, includes an extensive class library with lots of goodies for network programming, system administration, sounds and graphics. Python-Version: 2.4 |
|
#dpkg -P python2.4
-usbdevice name add the host or guest USB device 'name'
Network options:
-net nic[,vlan=n][,macaddr=addr][,model=type]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
connect the host TAP network interface to VLAN 'n' and use
the network script 'file' (default=%s);
use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
connect the vlan 'n' to multicast maddr and port
(Reading database ... 34258 files and directories currently installed.)
Removing python2.4 ...
Purging configuration files for python2.4 ...
|
|
#dpkg -l python2.4
Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description +++-===================-===================-====================================================== pn python2.4 <none> (no description available) |
|
#dpkg -l python2.4f
-win2k-hack use it when installing Windows 2000 to avoid a disk full bug
-usb enable the USB driver (will be the default soon)
-usbdevice name add the host or guest USB device 'name'
Network options:
-net nic[,vlan=n][,macaddr=addr][,model=type]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
connect the host TAP network interface to VLAN 'n' and use
the network script 'file' (default=%s);
use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
connect the vlan 'n' to multicast maddr and port
No packages found matching python2.4f.
|
|
#dpkg -l python
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
connect the host TAP network interface to VLAN 'n' and use
the network script 'file' (default=%s);
use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
connect the vlan 'n' to multicast maddr and port
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-===================-===================-======================================================
ii python 2.3.5-11 An interactive high-level object-oriented language (de
|
|
#which python2.4
-win2k-hack use it when installing Windows 2000 to avoid a disk full bug
-usb enable the USB driver (will be the default soon)
-usbdevice name add the host or guest USB device 'name'
Network options:
-net nic[,vlan=n][,macaddr=addr][,model=type]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
connect the host TAP network interface to VLAN 'n' and use
the network script 'file' (default=%s);
use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
connect the vlan 'n' to multicast maddr and port
/usr/bin/python2.4
|
|
#ls -l python2.4
ls: python2.4: No such file or directory |
|
#ls -l `which python2.4`
-win2k-hack use it when installing Windows 2000 to avoid a disk full bug
-usb enable the USB driver (will be the default soon)
-usbdevice name add the host or guest USB device 'name'
Network options:
-net nic[,vlan=n][,macaddr=addr][,model=type]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
connect the host TAP network interface to VLAN 'n' and use
the network script 'file' (default=%s);
use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
connect the vlan 'n' to multicast maddr and port
-rwxr-xr-x 1 root root 1015360 2006-07-30 18:46 /usr/bin/python2.4
|
|
#dpkg -S `which python2.4`
python2.4-minimal: /usr/bin/python2.4 |
|
#dpkg -P python2.4-minimail
-win2k-hack use it when installing Windows 2000 to avoid a disk full bug
-usb enable the USB driver (will be the default soon)
-usbdevice name add the host or guest USB device 'name'
Network options:
-net nic[,vlan=n][,macaddr=addr][,model=type]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
connect the host TAP network interface to VLAN 'n' and use
the network script 'file' (default=%s);
use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
connect the vlan 'n' to multicast maddr and port
dpkg - warning: ignoring request to remove python2.4-minimail which isn't installed.
|
|
#dpkg -P python2.4-minima
(Reading database ... 34258 files and directories currently installed.) Removing python2.4-minimal ... Unlinking and removing bytecode for runtime python2.4 Purging configuration files for python2.4-minimal ... |
|
#dpkg -l python
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
connect the host TAP network interface to VLAN 'n' and use
the network script 'file' (default=%s);
use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
connect the vlan 'n' to multicast maddr and port
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-===================-===================-======================================================
ii python 2.3.5-11 An interactive high-level object-oriented language (de
|
|
#dpkg -l python
Display all 997 possibilities? (y or n) |
|
#dpkg -l python2.
python2.2-glade2 python2.3-pygresql python2.4-htmltmpl python2.2-gnome2 python2.3-pyinotify python2.4-ieee1284 python2.2-gtk2 python2.3-pylibacl python2.4-imaging python2.2-iconvcodec python2.3-pylint python2.4-imaging-sane python2.2-imaging python2.3-pymacs python2.4-imaging-tk python2.2-japanese-codecs python2.3-pymad python2.4-imdbpy python2.2-korean-codecs python2.3-pyme python2.4-iplib python2.2-medusa python2.3-pyogg python2.4-ipy python2.2-mpz python2.3-pyopenssl python2.4-ipython python2.2-optik python2.3-pyorbit python2.4-jabber python2.2-profiler python2.3-pyorbit-omg python2.4-japanese-codecs python2.2-pylint python2.3-pyparsing python2.4-kinterbasdb python2.2-pymacs python2.3-pypoker-eval python2.4-kjbuckets python2.2-pyx python2.3-pyrex python2.4-korean-codecs python2.2-rpy python2.3-pyrss2gen python2.4-ldap python2.2-ssl python2.3-pysnmp2 python2.4-libhamlib2 python2.2-tau python2.3-pysqlite1.1 python2.4-librdf |
|
#dpkg -l python2.4
Display all 239 possibilities? (y or n) |
|
#dpkg -l | less
|
|
#dpkg -l | grep python
ii python 2.3.5-11 An interactive high-level object-oriented la rc python-central 0.5.1 register and build utility for Python packag rc python-support 0.3.8 automated rebuilding support for python modu ii python2.3 2.3.5-15 An interactive high-level object-oriented la ii python2.3-dev 2.3.5-15 Header files and a static library for Python |
|
#ls /usr/lib/python
-win2k-hack use it when installing Windows 2000 to avoid a disk full bug
-usb enable the USB driver (will be the default soon)
-usbdevice name add the host or guest USB device 'name'
Network options:
-net nic[,vlan=n][,macaddr=addr][,model=type]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
connect the host TAP network interface to VLAN 'n' and use
the network script 'file' (default=%s);
use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
connect the vlan 'n' to multicast maddr and port
grub xen
|
|
#ls /usr/share/p
-win2k-hack use it when installing Windows 2000 to avoid a disk full bug
-usb enable the USB driver (will be the default soon)
-usbdevice name add the host or guest USB device 'name'
Network options:
-net nic[,vlan=n][,macaddr=addr][,model=type]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
connect the host TAP network interface to VLAN 'n' and use
the network script 'file' (default=%s);
use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
connect the vlan 'n' to multicast maddr and port
pam/ perl/ perl5/ pixmaps/ pkgconfig/ po-debconf/ proll/ python/
|
|
#ls /usr/share/python/
debian_defaults pyversions.py |
|
#python2.4
-win2k-hack use it when installing Windows 2000 to avoid a disk full bug
-usb enable the USB driver (will be the default soon)
-usbdevice name add the host or guest USB device 'name'
Network options:
-net nic[,vlan=n][,macaddr=addr][,model=type]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
connect the host TAP network interface to VLAN 'n' and use
the network script 'file' (default=%s);
use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
connect the vlan 'n' to multicast maddr and port
bash: python2.4: command not found
|
|
#find /usr -name \*python\*
the network script 'file' (default=%s);
use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
connect the vlan 'n' to multicast maddr and port
/usr/share/doc/python2.3-dev
/usr/share/doc/python2.3
/usr/share/doc/python2.3/python-policy.sgml.gz
/usr/share/doc/python2.3/python-policy.html
/usr/share/doc/python2.3/python-policy.txt.gz
/usr/share/doc/python
/usr/share/doc/python/python-policy.sgml.gz
/usr/share/doc/python/python-policy.html
/usr/share/doc/python/python-policy.html/ch-python.html
/usr/share/doc/python/python-policy.txt.gz
|
|
#find /usr -name \*python\* | less
|
|
#find /usr -name \*python\* | less
|
| Время первой команды журнала | 14:20:08 2006- 8-12 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Время последней команды журнала | 16:23:57 2006- 8-12 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Количество командных строк в журнале | 101 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Процент команд с ненулевым кодом завершения, % | 10.89 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Процент синтаксически неверно набранных команд, % | 3.96 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Суммарное время работы с терминалом *, час | 0.80 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Количество командных строк в единицу времени, команда/мин | 2.10 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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