Журнал лабораторных работ

Содержание

Журнал

Вторник (02/21/12)

/dev/pts/6
14:21:36
#lvdisplay
  --- Logical volume ---
  LV Name                /dev/VG0/vol1
  VG Name                VG0
  LV UUID                pS5ghr-UfcZ-CBJz-u1xI-eP7V-vlf4-tpr2ex
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                2.00 GiB
  Current LE             512
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:0
/dev/pts/5
14:21:36
#lvdisplay
  --- Logical volume ---
  LV Name                /dev/VG0/vol1
  VG Name                VG0
  LV UUID                pS5ghr-UfcZ-CBJz-u1xI-eP7V-vlf4-tpr2ex
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                2.00 GiB
  Current LE             512
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:0
прошло 52 минуты
/dev/pts/6
15:13:39
#ls /mnt/
lost+found  test.txt
/dev/pts/5
15:13:39
#ls /mnt/
lost+found  test.txt
15:13:48
#mount -a

/dev/pts/6
15:13:48
#mount -a

/dev/pts/5
15:13:55
#ls /mnt/
lost+found  test.txt
/dev/pts/6
15:13:55
#ls /mnt/
lost+found  test.txt
15:13:59
#mount -l
/dev/sda1 on / type ext3 (rw,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
/dev/mapper/VG0-vol1 on /mnt type ext3 (rw)
/dev/pts/5
15:13:59
#mount -l
/dev/sda1 on / type ext3 (rw,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
/dev/mapper/VG0-vol1 on /mnt type ext3 (rw)
15:14:03
#lvs -a
  LV   VG   Attr   LSize Origin Snap%  Move Log Copy%  Convert
  vol1 VG0  -wi-ao 2.00g
/dev/pts/6
15:14:03
#lvs -a
  LV   VG   Attr   LSize Origin Snap%  Move Log Copy%  Convert
  vol1 VG0  -wi-ao 2.00g
/dev/pts/5
15:19:00
#lvcreate -L 100M -n snap1 -s /dev/VG0/vol1
  Logical volume "snap1" created
/dev/pts/6
15:19:00
#lvcreate -L 100M -n snap1 -s /dev/VG0/vol1
  Logical volume "snap1" created
15:22:04
#lvs -a
  LV    VG   Attr   LSize   Origin Snap%  Move Log Copy%  Convert
  snap1 VG0  swi-a- 100.00m vol1     0.01
  vol1  VG0  owi-ao   2.00g
/dev/pts/5
15:22:04
#lvs -a
  LV    VG   Attr   LSize   Origin Snap%  Move Log Copy%  Convert
  snap1 VG0  swi-a- 100.00m vol1     0.01
  vol1  VG0  owi-ao   2.00g
/dev/pts/6
15:22:10
#mkdir /tmp/mnt

/dev/pts/5
15:22:10
#mkdir /tmp/mnt

/dev/pts/6
15:22:51
#cd tmp/
bash: cd: tmp/: No such file or directory
/dev/pts/5
15:22:51
#cd tmp/
bash: cd: tmp/: No such file or directory
/dev/pts/6
15:22:55
#ls tmp
ls: cannot access tmp: No such file or directory
/dev/pts/5
15:22:55
#ls tmp
ls: cannot access tmp: No such file or directory
/dev/pts/6
15:22:58
#ls
file.txt
/dev/pts/5
15:22:58
#ls
file.txt
/dev/pts/6
15:23:02
#cd /tmp

/dev/pts/5
15:23:02
#cd /tmp

/dev/pts/6
15:23:15
#ls
gnash-cookies.9108  keyring-ZOJRLW  mnt  orbit-Debian-gdm  orbit-user  seahorse-H9sKLD  ssh-qDLBLA1987  virtual-user.43U1Xu
/dev/pts/5
15:23:15
#ls
gnash-cookies.9108  keyring-ZOJRLW  mnt  orbit-Debian-gdm  orbit-user  seahorse-H9sKLD  ssh-qDLBLA1987  virtual-user.43U1Xu
/dev/pts/6
15:23:16
#mount /dev/VG0/snap1 /tmp/mnt

/dev/pts/5
15:23:16
#mount /dev/VG0/snap1 /tmp/mnt

/dev/pts/6
15:26:48
#ls /tmp/mnt
lost+found  test.txt
/dev/pts/5
15:26:48
#ls /tmp/mnt
lost+found  test.txt
/dev/pts/6
15:26:53
#cat /tmp/mnt/test.txt
Hello world!
/dev/pts/5
15:26:53
#cat /tmp/mnt/test.txt
Hello world!
/dev/pts/6
15:27:10
#echo Heeeee > /mnt/test.txt

/dev/pts/5
15:27:10
#echo Heeeee > /mnt/test.txt

15:27:26
#cat /mnt/test.txt
Heeeee
/dev/pts/6
15:27:26
#cat /mnt/test.txt
Heeeee
15:27:33
#lvdisplay
  --- Logical volume ---
  LV Name                /dev/VG0/vol1
  VG Name                VG0
  LV UUID                pS5ghr-UfcZ-CBJz-u1xI-eP7V-vlf4-tpr2ex
  LV Write Access        read/write
  LV snapshot status     source of
                         /dev/VG0/snap1 [active]
  LV Status              available
  # open                 1
  LV Size                2.00 GiB
...
  Current LE             512
  COW-table size         100.00 MiB
  COW-table LE           25
  Allocated to snapshot  0.07%
  Snapshot chunk size    4.00 KiB
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:1
/dev/pts/5
15:27:33
#lvdisplay
  --- Logical volume ---
  LV Name                /dev/VG0/vol1
  VG Name                VG0
  LV UUID                pS5ghr-UfcZ-CBJz-u1xI-eP7V-vlf4-tpr2ex
  LV Write Access        read/write
  LV snapshot status     source of
                         /dev/VG0/snap1 [active]
  LV Status              available
  # open                 1
  LV Size                2.00 GiB
...
  Current LE             512
  COW-table size         100.00 MiB
  COW-table LE           25
  Allocated to snapshot  0.07%
  Snapshot chunk size    4.00 KiB
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:1
/dev/pts/6
15:27:43
#apt-get install system-config-lvm
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  autopoint gettext git liberror-perl libunistring0 rsync
Suggested packages:
  gettext-doc git-doc git-arch git-cvs git-svn git-email git-daemon-run git-gui gitk gitweb
The following NEW packages will be installed:
  autopoint gettext git liberror-perl libunistring0 rsync system-config-lvm
0 upgraded, 7 newly installed, 0 to remove and 1 not upgraded.
...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Setting up liberror-perl (0.17-1) ...
Setting up git (1:1.7.2.5-3) ...
Setting up autopoint (0.18.1.1-3) ...
Setting up libunistring0 (0.9.3-3) ...
Setting up gettext (0.18.1.1-3) ...
Setting up rsync (3.0.7-2) ...
update-rc.d: using dependency based boot sequencing
Setting up system-config-lvm (1.1.14-1) ...
/dev/pts/5
15:27:43
#apt-get install system-config-lvm
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  autopoint gettext git liberror-perl libunistring0 rsync
Suggested packages:
  gettext-doc git-doc git-arch git-cvs git-svn git-email git-daemon-run git-gui gitk gitweb
The following NEW packages will be installed:
  autopoint gettext git liberror-perl libunistring0 rsync system-config-lvm
0 upgraded, 7 newly installed, 0 to remove and 1 not upgraded.
...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Setting up liberror-perl (0.17-1) ...
Setting up git (1:1.7.2.5-3) ...
Setting up autopoint (0.18.1.1-3) ...
Setting up libunistring0 (0.9.3-3) ...
Setting up gettext (0.18.1.1-3) ...
Setting up rsync (3.0.7-2) ...
update-rc.d: using dependency based boot sequencing
Setting up system-config-lvm (1.1.14-1) ...
/dev/pts/6
15:29:14
#sys
sysctl                        system-config-lvm             system-config-printer-applet
syslog2eximlog                system-config-printer         system-tools-backends
15:29:14
#sys
sysctl                        system-config-lvm             system-config-printer-applet
syslog2eximlog                system-config-printer         system-tools-backends
/dev/pts/5
15:29:14
#sys
sysctl                        system-config-lvm             system-config-printer-applet
syslog2eximlog                system-config-printer         system-tools-backends
15:29:14
#sys
sysctl                        system-config-lvm             system-config-printer-applet
syslog2eximlog                system-config-printer         system-tools-backends
15:29:14
#system-config-lvm
Setting up LVM Volume Groups  Reading all physical volumes.  This may take a while...
  Found volume group "VG0" using metadata type lvm2
  2 logical volume(s) in volume group "VG0" now active
.
^CTraceback (most recent call last):
  File "/usr/share/system-config-lvm/system-config-lvm.py", line 172, in <module>
    runFullGUI()
  File "/usr/share/system-config-lvm/system-config-lvm.py", line 160, in runFullGUI
    gtk.main()
KeyboardInterrupt
/dev/pts/6
15:29:14
#system-config-lvm
Setting up LVM Volume Groups  Reading all physical volumes.  This may take a while...
  Found volume group "VG0" using metadata type lvm2
  2 logical volume(s) in volume group "VG0" now active
.
^CTraceback (most recent call last):
  File "/usr/share/system-config-lvm/system-config-lvm.py", line 172, in <module>
    runFullGUI()
  File "/usr/share/system-config-lvm/system-config-lvm.py", line 160, in runFullGUI
    gtk.main()
KeyboardInterrupt
/dev/pts/5
15:34:52
#ps aux | grep l3
root      2217 24.3  0.1  16020 12000 ?        Ss   14:24  31:55 l3-agent
root     11474  0.0  0.0   3912   736 pts/7    S+   16:35   0:00 grep l3
/dev/pts/6
15:34:52
#ps aux | grep l3
root      2217 24.3  0.1  16020 12000 ?        Ss   14:24  31:55 l3-agent
root     11474  0.0  0.0   3912   736 pts/7    S+   16:35   0:00 grep l3
15:35:08
#apt-get install systap
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package systap
/dev/pts/5
15:35:08
#apt-get install systap
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package systap
/dev/pts/6
15:36:59
#dmesg | grep eth
[    0.145200] HP Compaq Laptop series board detected. Selecting BIOS-method for reboots.
[    0.296202] ACPI Error: Method parse/execution failed [\_SB_.PCI0._OSC] (Node f24406c8), AE_ALREADY_EXISTS (20110316/psparse-536)
[    0.296209] ACPI: Marking method _OSC as Serialized because of AE_ALREADY_EXISTS error
[    0.298856] ACPI Error: Method parse/execution failed [\_SB_.PCI0._OSC] (Node f24406c8), AE_ALREADY_EXISTS (20110316/psparse-536)
[    0.298924] ACPI Error: Method parse/execution failed [\_SB_.PCI0._OSC] (Node f24406c8), AE_ALREADY_EXISTS (20110316/psparse-536)
[    1.469345] e1000 0000:07:04.0: eth0: (PCI:33MHz:32-bit) 00:07:e9:0c:45:11
[    1.469351] e1000 0000:07:04.0: eth0: Intel(R) PRO/1000 Network Connection
[    1.634292] e1000e 0000:00:19.0: eth1: (PCI Express:2.5GB/s:Width x1) 00:0f:fe:7e:a7:67
[    1.634295] e1000e 0000:00:19.0: eth1: Intel(R) PRO/1000 Network Connection
[    1.634313] e1000e 0000:00:19.0: eth1: MAC: 7, PHY: 6, PBA No: 1062FF-0FF
[    9.011363] ADDRCONF(NETDEV_UP): eth0: link is not ready
[    9.012369] e1000: eth0 NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX
[    9.012593] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   19.538566] eth0: no IPv6 routers present
/dev/pts/5
15:36:59
#dmesg | grep eth
[    0.145200] HP Compaq Laptop series board detected. Selecting BIOS-method for reboots.
[    0.296202] ACPI Error: Method parse/execution failed [\_SB_.PCI0._OSC] (Node f24406c8), AE_ALREADY_EXISTS (20110316/psparse-536)
[    0.296209] ACPI: Marking method _OSC as Serialized because of AE_ALREADY_EXISTS error
[    0.298856] ACPI Error: Method parse/execution failed [\_SB_.PCI0._OSC] (Node f24406c8), AE_ALREADY_EXISTS (20110316/psparse-536)
[    0.298924] ACPI Error: Method parse/execution failed [\_SB_.PCI0._OSC] (Node f24406c8), AE_ALREADY_EXISTS (20110316/psparse-536)
[    1.469345] e1000 0000:07:04.0: eth0: (PCI:33MHz:32-bit) 00:07:e9:0c:45:11
[    1.469351] e1000 0000:07:04.0: eth0: Intel(R) PRO/1000 Network Connection
[    1.634292] e1000e 0000:00:19.0: eth1: (PCI Express:2.5GB/s:Width x1) 00:0f:fe:7e:a7:67
[    1.634295] e1000e 0000:00:19.0: eth1: Intel(R) PRO/1000 Network Connection
[    1.634313] e1000e 0000:00:19.0: eth1: MAC: 7, PHY: 6, PBA No: 1062FF-0FF
[    9.011363] ADDRCONF(NETDEV_UP): eth0: link is not ready
[    9.012369] e1000: eth0 NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX
[    9.012593] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   19.538566] eth0: no IPv6 routers present
/dev/pts/6
15:42:22
#apt-get install ethtool
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  ethtool
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 71.8 kB of archives.
After this operation, 266 kB of additional disk space will be used.
Get:1 http://10.0.35.1/debian/ squeeze/main ethtool i386 1:2.6.34-3 [71.8 kB]
Fetched 71.8 kB in 0s (6,976 kB/s)
Selecting previously deselected package ethtool.
(Reading database ... 112474 files and directories currently installed.)
Unpacking ethtool (from .../ethtool_1%3a2.6.34-3_i386.deb) ...
Processing triggers for man-db ...
Setting up ethtool (1:2.6.34-3) ...
/dev/pts/5
15:42:22
#apt-get install ethtool
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  ethtool
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 71.8 kB of archives.
After this operation, 266 kB of additional disk space will be used.
Get:1 http://10.0.35.1/debian/ squeeze/main ethtool i386 1:2.6.34-3 [71.8 kB]
Fetched 71.8 kB in 0s (6,976 kB/s)
Selecting previously deselected package ethtool.
(Reading database ... 112474 files and directories currently installed.)
Unpacking ethtool (from .../ethtool_1%3a2.6.34-3_i386.deb) ...
Processing triggers for man-db ...
Setting up ethtool (1:2.6.34-3) ...
15:43:48
#ethtool
ethtool: bad command line argument(s)
For more information run ethtool -h
/dev/pts/6
15:43:48
#ethtool
ethtool: bad command line argument(s)
For more information run ethtool -h
/dev/pts/5
15:44:11
#ethtool -l
ethtool version 2.6.34
Usage:
ethtool DEVNAME Display standard information about device
        ethtool -s|--change DEVNAME     Change generic options
                [ speed %d ]
                [ duplex half|full ]
                [ port tp|aui|bnc|mii|fibre ]
                [ autoneg on|off ]
                [ advertise %x ]
                [ phyad %d ]
...
        ethtool -n|--show-nfc DEVNAME   Show Rx network flow classificationoptions
                [ rx-flow-hash tcp4|udp4|ah4|sctp4|tcp6|udp6|ah6|sctp6 ]
        ethtool -f|--flash DEVNAME      FILENAME Flash firmware image from the specified file to a region on the device
               [ REGION-NUMBER-TO-FLASH ]
        ethtool -N|--config-nfc DEVNAME Configure Rx network flow classification options
                [ rx-flow-hash tcp4|udp4|ah4|sctp4|tcp6|udp6|ah6|sctp6 m|v|t|s|d|f|n|r... ]
        ethtool -U|--config-ntuple DEVNAME      Configure Rx ntuple filters and actions
               [ flow-type tcp4|udp4|sctp4 src-ip <addr> src-ip-mask <mask> dst-ip <addr> dst-ip-mask <mask> src-port <port> src-port-mask <mask> dst-port <port> dst-port-mask <mask> vlan <VLAN tag> vlan-mask <mask> user-def <data> user-def-mask <mask> action <queue or drop>
        ethtool -u|--show-ntuple DEVNAME        Get Rx ntuple filters and actions
        ethtool -h|--help               Show this help
/dev/pts/6
15:44:11
#ethtool -l
ethtool version 2.6.34
Usage:
ethtool DEVNAME Display standard information about device
        ethtool -s|--change DEVNAME     Change generic options
                [ speed %d ]
                [ duplex half|full ]
                [ port tp|aui|bnc|mii|fibre ]
                [ autoneg on|off ]
                [ advertise %x ]
                [ phyad %d ]
...
        ethtool -n|--show-nfc DEVNAME   Show Rx network flow classificationoptions
                [ rx-flow-hash tcp4|udp4|ah4|sctp4|tcp6|udp6|ah6|sctp6 ]
        ethtool -f|--flash DEVNAME      FILENAME Flash firmware image from the specified file to a region on the device
               [ REGION-NUMBER-TO-FLASH ]
        ethtool -N|--config-nfc DEVNAME Configure Rx network flow classification options
                [ rx-flow-hash tcp4|udp4|ah4|sctp4|tcp6|udp6|ah6|sctp6 m|v|t|s|d|f|n|r... ]
        ethtool -U|--config-ntuple DEVNAME      Configure Rx ntuple filters and actions
               [ flow-type tcp4|udp4|sctp4 src-ip <addr> src-ip-mask <mask> dst-ip <addr> dst-ip-mask <mask> src-port <port> src-port-mask <mask> dst-port <port> dst-port-mask <mask> vlan <VLAN tag> vlan-mask <mask> user-def <data> user-def-mask <mask> action <queue or drop>
        ethtool -u|--show-ntuple DEVNAME        Get Rx ntuple filters and actions
        ethtool -h|--help               Show this help
15:44:15
#ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 00:07:e9:0c:45:11 brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
    link/ether 00:0f:fe:7e:a7:67 brd ff:ff:ff:ff:ff:ff
4: pan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN
    link/ether b2:8a:66:48:04:4f brd ff:ff:ff:ff:ff:ff
/dev/pts/5
15:44:15
#ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 00:07:e9:0c:45:11 brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
    link/ether 00:0f:fe:7e:a7:67 brd ff:ff:ff:ff:ff:ff
4: pan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN
    link/ether b2:8a:66:48:04:4f brd ff:ff:ff:ff:ff:ff
/dev/pts/6
15:44:31
#mii-tool
eth0: negotiated 100baseTx-FD, link ok
SIOCGMIIREG on eth1 failed: Input/output error
SIOCGMIIREG on eth1 failed: Input/output error
eth1: negotiated 100baseTx-FD, link ok
/dev/pts/5
15:44:31
#mii-tool
eth0: negotiated 100baseTx-FD, link ok
SIOCGMIIREG on eth1 failed: Input/output error
SIOCGMIIREG on eth1 failed: Input/output error
eth1: negotiated 100baseTx-FD, link ok
/dev/pts/6
15:44:56
#ethtool eth0
Settings for eth0:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Advertised pause frame use: No
...
        Duplex: Full
        Port: Twisted Pair
        PHYAD: 0
        Transceiver: internal
        Auto-negotiation: on
        MDI-X: Unknown
        Supports Wake-on: umbg
        Wake-on: g
        Current message level: 0x00000007 (7)
        Link detected: yes
/dev/pts/5
15:44:56
#ethtool eth0
Settings for eth0:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Advertised pause frame use: No
...
        Duplex: Full
        Port: Twisted Pair
        PHYAD: 0
        Transceiver: internal
        Auto-negotiation: on
        MDI-X: Unknown
        Supports Wake-on: umbg
        Wake-on: g
        Current message level: 0x00000007 (7)
        Link detected: yes
/dev/pts/6
15:45:46
#ethtool eth1
Settings for eth1:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Advertised pause frame use: No
...
        Duplex: Full
        Port: Twisted Pair
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        MDI-X: Unknown
        Supports Wake-on: pumbg
        Wake-on: g
        Current message level: 0x00000001 (1)
        Link detected: no
/dev/pts/5
15:45:46
#ethtool eth1
Settings for eth1:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Advertised pause frame use: No
...
        Duplex: Full
        Port: Twisted Pair
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        MDI-X: Unknown
        Supports Wake-on: pumbg
        Wake-on: g
        Current message level: 0x00000001 (1)
        Link detected: no
/dev/pts/6
15:46:06
#ethtool eth1
Settings for eth1:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Advertised pause frame use: No
...
        Duplex: Full
        Port: Twisted Pair
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        MDI-X: Unknown
        Supports Wake-on: pumbg
        Wake-on: g
        Current message level: 0x00000001 (1)
        Link detected: no
/dev/pts/5
15:46:06
#ethtool eth1
Settings for eth1:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Advertised pause frame use: No
...
        Duplex: Full
        Port: Twisted Pair
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        MDI-X: Unknown
        Supports Wake-on: pumbg
        Wake-on: g
        Current message level: 0x00000001 (1)
        Link detected: no
15:46:20
#mii-tool
eth0: negotiated 100baseTx-FD, link ok
SIOCGMIIREG on eth1 failed: Input/output error
SIOCGMIIREG on eth1 failed: Input/output error
eth1: negotiated 100baseTx-FD, link ok
/dev/pts/6
15:46:20
#mii-tool
eth0: negotiated 100baseTx-FD, link ok
SIOCGMIIREG on eth1 failed: Input/output error
SIOCGMIIREG on eth1 failed: Input/output error
eth1: negotiated 100baseTx-FD, link ok
15:46:51
#ethtool eth1
Settings for eth1:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Advertised pause frame use: No
...
        Duplex: Full
        Port: Twisted Pair
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        MDI-X: Unknown
        Supports Wake-on: pumbg
        Wake-on: g
        Current message level: 0x00000001 (1)
        Link detected: no
/dev/pts/5
15:46:51
#ethtool eth1
Settings for eth1:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Advertised pause frame use: No
...
        Duplex: Full
        Port: Twisted Pair
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        MDI-X: Unknown
        Supports Wake-on: pumbg
        Wake-on: g
        Current message level: 0x00000001 (1)
        Link detected: no
/dev/pts/6
15:47:01
#ethtool eth1
Settings for eth1:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Advertised pause frame use: No
...
        Duplex: Full
        Port: Twisted Pair
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        MDI-X: Unknown
        Supports Wake-on: pumbg
        Wake-on: g
        Current message level: 0x00000001 (1)
        Link detected: no
/dev/pts/5
15:47:01
#ethtool eth1
Settings for eth1:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Advertised pause frame use: No
...
        Duplex: Full
        Port: Twisted Pair
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        MDI-X: Unknown
        Supports Wake-on: pumbg
        Wake-on: g
        Current message level: 0x00000001 (1)
        Link detected: no
/dev/pts/6
15:47:11
#ethtool eth1
Settings for eth1:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Advertised pause frame use: No
...
        Duplex: Full
        Port: Twisted Pair
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        MDI-X: Unknown
        Supports Wake-on: pumbg
        Wake-on: g
        Current message level: 0x00000001 (1)
        Link detected: no
/dev/pts/5
15:47:11
#ethtool eth1
Settings for eth1:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Advertised pause frame use: No
...
        Duplex: Full
        Port: Twisted Pair
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        MDI-X: Unknown
        Supports Wake-on: pumbg
        Wake-on: g
        Current message level: 0x00000001 (1)
        Link detected: no
/dev/pts/6
15:47:13
#mii-tool
eth0: negotiated 100baseTx-FD, link ok
SIOCGMIIREG on eth1 failed: Input/output error
SIOCGMIIREG on eth1 failed: Input/output error
eth1: negotiated 100baseTx-FD, link ok
/dev/pts/5
15:47:13
#mii-tool
eth0: negotiated 100baseTx-FD, link ok
SIOCGMIIREG on eth1 failed: Input/output error
SIOCGMIIREG on eth1 failed: Input/output error
eth1: negotiated 100baseTx-FD, link ok
/dev/pts/6
15:47:56
#mii-tool
eth0: negotiated 100baseTx-FD, link ok
SIOCGMIIREG on eth1 failed: Input/output error
SIOCGMIIREG on eth1 failed: Input/output error
eth1: negotiated 100baseTx-FD, link ok
/dev/pts/5
15:47:56
#mii-tool
eth0: negotiated 100baseTx-FD, link ok
SIOCGMIIREG on eth1 failed: Input/output error
SIOCGMIIREG on eth1 failed: Input/output error
eth1: negotiated 100baseTx-FD, link ok
/dev/pts/6
15:49:02
#mii-tool
eth0: negotiated 100baseTx-FD, link ok
SIOCGMIIREG on eth1 failed: Input/output error
SIOCGMIIREG on eth1 failed: Input/output error
eth1: negotiated 100baseTx-FD, link ok
/dev/pts/5
15:49:02
#mii-tool
eth0: negotiated 100baseTx-FD, link ok
SIOCGMIIREG on eth1 failed: Input/output error
SIOCGMIIREG on eth1 failed: Input/output error
eth1: negotiated 100baseTx-FD, link ok
/dev/pts/6
15:49:16
#lspci
00:00.0 Host bridge: Intel Corporation 82Q35 Express DRAM Controller (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82Q35 Express Integrated Graphics Controller (rev 02)
00:03.0 Communication controller: Intel Corporation 82Q35 Express MEI Controller (rev 02)
00:03.2 IDE interface: Intel Corporation 82Q35 Express PT IDER Controller (rev 02)
00:03.3 Serial controller: Intel Corporation 82Q35 Express Serial KT Controller (rev 02)
00:19.0 Ethernet controller: Intel Corporation 82566DM-2 Gigabit Network Connection (rev 02)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 02)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 02)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92)
00:1f.0 ISA bridge: Intel Corporation 82801IO (ICH9DO) LPC Interface Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 4 port SATA IDE Controller (rev 02)
00:1f.5 IDE interface: Intel Corporation 82801I (ICH9 Family) 2 port SATA IDE Controller (rev 02)
07:04.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 02)
/dev/pts/5
15:49:16
#lspci
00:00.0 Host bridge: Intel Corporation 82Q35 Express DRAM Controller (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82Q35 Express Integrated Graphics Controller (rev 02)
00:03.0 Communication controller: Intel Corporation 82Q35 Express MEI Controller (rev 02)
00:03.2 IDE interface: Intel Corporation 82Q35 Express PT IDER Controller (rev 02)
00:03.3 Serial controller: Intel Corporation 82Q35 Express Serial KT Controller (rev 02)
00:19.0 Ethernet controller: Intel Corporation 82566DM-2 Gigabit Network Connection (rev 02)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 02)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 02)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92)
00:1f.0 ISA bridge: Intel Corporation 82801IO (ICH9DO) LPC Interface Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 4 port SATA IDE Controller (rev 02)
00:1f.5 IDE interface: Intel Corporation 82801I (ICH9 Family) 2 port SATA IDE Controller (rev 02)
07:04.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 02)
/dev/pts/6
15:50:21
#ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:07:e9:0c:45:11
          inet addr:10.0.35.43  Bcast:10.0.35.255  Mask:255.255.255.0
          inet6 addr: fe80::207:e9ff:fe0c:4511/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:200184 errors:0 dropped:0 overruns:0 frame:0
          TX packets:21317 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:36708120 (35.0 MiB)  TX bytes:2415675 (2.3 MiB)
/dev/pts/5
15:50:21
#ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:07:e9:0c:45:11
          inet addr:10.0.35.43  Bcast:10.0.35.255  Mask:255.255.255.0
          inet6 addr: fe80::207:e9ff:fe0c:4511/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:200184 errors:0 dropped:0 overruns:0 frame:0
          TX packets:21317 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:36708120 (35.0 MiB)  TX bytes:2415675 (2.3 MiB)
/dev/pts/6
15:53:28
#ifconfig eth1
eth1      Link encap:Ethernet  HWaddr 00:0f:fe:7e:a7:67
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:19 Memory:f0180000-f01a0000
/dev/pts/5
15:53:28
#ifconfig eth1
eth1      Link encap:Ethernet  HWaddr 00:0f:fe:7e:a7:67
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:19 Memory:f0180000-f01a0000
/dev/pts/8
15:55:03
#ifconfig
eth0      Link encap:Ethernet  HWaddr 00:07:e9:0c:45:11
          inet addr:10.0.35.43  Bcast:10.0.35.255  Mask:255.255.255.0
          inet6 addr: fe80::207:e9ff:fe0c:4511/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:202397 errors:0 dropped:0 overruns:0 frame:0
          TX packets:21737 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:37010184 (35.2 MiB)  TX bytes:2446707 (2.3 MiB)
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:12 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:800 (800.0 B)  TX bytes:800 (800.0 B)
15:55:04
#ifconfig eth1
eth1      Link encap:Ethernet  HWaddr 00:0f:fe:7e:a7:67
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:19 Memory:f0180000-f01a0000
15:55:11
#lspci -v | less
/dev/pts/6
15:55:14
#lspci | less
/dev/pts/5
15:55:14
#lspci | less
/dev/pts/8
15:56:18
#lspci -v | less
/dev/pts/6
15:56:23
#lspci
00:00.0 Host bridge: Intel Corporation 82Q35 Express DRAM Controller (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82Q35 Express Integrated Graphics Controller (rev 02)
00:03.0 Communication controller: Intel Corporation 82Q35 Express MEI Controller (rev 02)
00:03.2 IDE interface: Intel Corporation 82Q35 Express PT IDER Controller (rev 02)
00:03.3 Serial controller: Intel Corporation 82Q35 Express Serial KT Controller (rev 02)
00:19.0 Ethernet controller: Intel Corporation 82566DM-2 Gigabit Network Connection (rev 02)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 02)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 02)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92)
00:1f.0 ISA bridge: Intel Corporation 82801IO (ICH9DO) LPC Interface Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 4 port SATA IDE Controller (rev 02)
00:1f.5 IDE interface: Intel Corporation 82801I (ICH9 Family) 2 port SATA IDE Controller (rev 02)
07:04.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 02)
/dev/pts/5
15:56:23
#lspci
00:00.0 Host bridge: Intel Corporation 82Q35 Express DRAM Controller (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82Q35 Express Integrated Graphics Controller (rev 02)
00:03.0 Communication controller: Intel Corporation 82Q35 Express MEI Controller (rev 02)
00:03.2 IDE interface: Intel Corporation 82Q35 Express PT IDER Controller (rev 02)
00:03.3 Serial controller: Intel Corporation 82Q35 Express Serial KT Controller (rev 02)
00:19.0 Ethernet controller: Intel Corporation 82566DM-2 Gigabit Network Connection (rev 02)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 02)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 02)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92)
00:1f.0 ISA bridge: Intel Corporation 82801IO (ICH9DO) LPC Interface Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 4 port SATA IDE Controller (rev 02)
00:1f.5 IDE interface: Intel Corporation 82801I (ICH9 Family) 2 port SATA IDE Controller (rev 02)
07:04.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 02)
15:56:30
#lspci -v
00:00.0 Host bridge: Intel Corporation 82Q35 Express DRAM Controller (rev 02)
        Subsystem: Hewlett-Packard Company Device 2819
        Flags: bus master, fast devsel, latency 0
        Capabilities: [e0] Vendor Specific Information: Len=0b <?>
        Kernel driver in use: agpgart-intel
00:02.0 VGA compatible controller: Intel Corporation 82Q35 Express Integrated Graphics Controller (rev 02) (prog-if 00 [VGA controller])
        Subsystem: Hewlett-Packard Company Device 2819
        Flags: bus master, fast devsel, latency 0, IRQ 44
        Memory at f0100000 (32-bit, non-prefetchable) [size=512K]
        I/O ports at 2230 [size=8]
...
        Subsystem: Intel Corporation PRO/1000 MT Desktop Adapter
        Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 20
        Memory at f0200000 (32-bit, non-prefetchable) [size=128K]
        Memory at f0220000 (32-bit, non-prefetchable) [size=128K]
        I/O ports at 1100 [size=64]
        [virtual] Expansion ROM at f0300000 [disabled] [size=128K]
        Capabilities: [dc] Power Management version 2
        Capabilities: [e4] PCI-X non-bridge device
        Capabilities: [f0] MSI: Enable- Count=1/1 Maskable- 64bit+
        Kernel driver in use: e1000
/dev/pts/6
15:56:30
#lspci -v
00:00.0 Host bridge: Intel Corporation 82Q35 Express DRAM Controller (rev 02)
        Subsystem: Hewlett-Packard Company Device 2819
        Flags: bus master, fast devsel, latency 0
        Capabilities: [e0] Vendor Specific Information: Len=0b <?>
        Kernel driver in use: agpgart-intel
00:02.0 VGA compatible controller: Intel Corporation 82Q35 Express Integrated Graphics Controller (rev 02) (prog-if 00 [VGA controller])
        Subsystem: Hewlett-Packard Company Device 2819
        Flags: bus master, fast devsel, latency 0, IRQ 44
        Memory at f0100000 (32-bit, non-prefetchable) [size=512K]
        I/O ports at 2230 [size=8]
...
        Subsystem: Intel Corporation PRO/1000 MT Desktop Adapter
        Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 20
        Memory at f0200000 (32-bit, non-prefetchable) [size=128K]
        Memory at f0220000 (32-bit, non-prefetchable) [size=128K]
        I/O ports at 1100 [size=64]
        [virtual] Expansion ROM at f0300000 [disabled] [size=128K]
        Capabilities: [dc] Power Management version 2
        Capabilities: [e4] PCI-X non-bridge device
        Capabilities: [f0] MSI: Enable- Count=1/1 Maskable- 64bit+
        Kernel driver in use: e1000
15:56:34
#lspci -v | less

Файлы

  • /mnt/test.txt
  • /tmp/mnt/test.txt
  • /mnt/test.txt
    >
    Heeeee
    
    /tmp/mnt/test.txt
    >
    Hello world!
    

    Статистика

    Время первой команды журнала14:21:36 2012- 2-21
    Время последней команды журнала15:56:34 2012- 2-21
    Количество командных строк в журнале101
    Процент команд с ненулевым кодом завершения, %10.89
    Процент синтаксически неверно набранных команд, % 0.00
    Суммарное время работы с терминалом *, час 0.72
    Количество командных строк в единицу времени, команда/мин 2.35
    Частота использования команд
    ethtool16|==============| 14.29%
    ls12|==========| 10.71%
    lspci11|=========| 9.82%
    mii-tool10|========| 8.93%
    ifconfig6|=====| 5.36%
    mount6|=====| 5.36%
    apt-get6|=====| 5.36%
    less5|====| 4.46%
    sys4|===| 3.57%
    cd4|===| 3.57%
    lvdisplay4|===| 3.57%
    cat4|===| 3.57%
    grep4|===| 3.57%
    lvs4|===| 3.57%
    ps2|=| 1.79%
    mkdir2|=| 1.79%
    test.txt2|=| 1.79%
    dmesg2|=| 1.79%
    system-config-lvm2|=| 1.79%
    echo2|=| 1.79%
    lvcreate2|=| 1.79%
    ip2|=| 1.79%
    ____
    *) Интервалы неактивности длительностью 30 минут и более не учитываются

    Справка

    Для того чтобы использовать LiLaLo, не нужно знать ничего особенного: всё происходит само собой. Однако, чтобы ведение и последующее использование журналов было как можно более эффективным, желательно иметь в виду следующее:
    1. В журнал автоматически попадают все команды, данные в любом терминале системы.

    2. Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.

    3. Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
      $ l s-l
      bash: l: command not found
      

    4. Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
      $ test 5 -lt 4
      Обратите внимание на то, что код завершения команды может быть отличен от нуля не только в тех случаях, когда команда была выполнена с ошибкой. Многие команды используют код завершения, например, для того чтобы показать результаты проверки

    5. Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
      $ 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
      

    6. Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
      # id
      uid=0(root) gid=0(root) Gruppen=0(root)
      

    7. Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
      $ vi ~/.bashrc
      2a3,5
      >    if [ -f /usr/local/etc/bash_completion ]; then
      >         . /usr/local/etc/bash_completion
      >        fi
      

    8. Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
      $ patch ~/.bashrc
      В данном случае изменения применяются к файлу ~/.bashrc

    9. Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.

      Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.

    10. Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.

    11. Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора

    12. Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.

    13. Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.

    14. Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:

      $ whoami
      
      user
      
      $ #^ Интересно, кто я?
      
      в журнале это будет выглядеть так:
      $ whoami
      
      user
      
      Интересно, кто я?

    15. Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:

      $ whoami
      
      user
      
      $ cat > /dev/null #^ Интересно, кто я?
      
      Программа whoami выводит имя пользователя, под которым 
      мы зарегистрировались в системе.
      -
      Она не может ответить на вопрос о нашем назначении 
      в этом мире.
      
      В журнале это будет выглядеть так:
      $ whoami
      user
      
      Интересно, кто я?
      Программа whoami выводит имя пользователя, под которым
      мы зарегистрировались в системе.

      Она не может ответить на вопрос о нашем назначении
      в этом мире.
      Для разделения нескольких абзацев между собой используйте символ "-", один в строке.

    16. Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=

    17. Содержимое файла может быть показано в журнале. Для этого его нужно вывести с помощью программы cat. Если вывод команды отметить симоволами #!, содержимое файла будет показано в журнале в специально отведённой для этого секции.
    18. Для того чтобы вставить скриншот интересующего вас окна в журнал, нужно воспользоваться командой l3shot. После того как команда вызвана, нужно с помощью мыши выбрать окно, которое должно быть в журнале.
    19. Команды в журнале расположены в хронологическом порядке. Если две команды давались одна за другой, но на разных терминалах, в журнале они будут рядом, даже если они не имеют друг к другу никакого отношения.
      1
          2
      3   
          4
      
      Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.

    О программе

    LiLaLo (L3) расшифровывается как Live Lab Log.
    Программа разработана для повышения эффективности обучения Unix/Linux-системам.
    (c) Игорь Чубин, 2004-2008

    $Id$