/l3/users/18-01-2010/nt-fbsdnet/fbsd7.net.nt/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 :13 :14 :15 :16 :17 :18 :19 :20 :21 |
|
#vim /etc/rc.conf
![]() --- /tmp/l3-saved-2440.17063.382 2010-01-18 15:05:52.000000000 +0200 +++ /etc/rc.conf 2010-01-18 15:06:55.000000000 +0200 @@ -16,7 +16,7 @@ ifconfig_re2="inet 192.168.16.227 netmask 255.255.255.0" defaultrouter="192.168.16.254" gateway_enable="YES" -static_routes="route1, route2" -route_route2="-net 192.168.17.0/24 192.168.16.22" -route_route1="-host 192.168.18.18 192.168.16.226" +static_routes="routeA, routeB" +route_routeA="-net 192.168.17.0/24 192.168.16.22" +route_routeB="-host 192.168.18.18 192.168.16.226" |
#vim /etc/rc.conf
![]() --- /tmp/l3-saved-2440.17063.382 2010-01-18 15:05:52.000000000 +0200 +++ /etc/rc.conf 2010-01-18 15:06:55.000000000 +0200 @@ -16,7 +16,7 @@ ifconfig_re2="inet 192.168.16.227 netmask 255.255.255.0" defaultrouter="192.168.16.254" gateway_enable="YES" -static_routes="route1, route2" -route_route2="-net 192.168.17.0/24 192.168.16.22" -route_route1="-host 192.168.18.18 192.168.16.226" +static_routes="routeA, routeB" +route_routeA="-net 192.168.17.0/24 192.168.16.22" +route_routeB="-host 192.168.18.18 192.168.16.226" |
#vim /etc/rc.conf
--- /tmp/l3-saved-2440.17063.382 2010-01-18 15:05:52.000000000 +0200 +++ /etc/rc.conf 2010-01-18 15:06:55.000000000 +0200 @@ -16,7 +16,7 @@ ifconfig_re2="inet 192.168.16.227 netmask 255.255.255.0" defaultrouter="192.168.16.254" gateway_enable="YES" -static_routes="route1, route2" -route_route2="-net 192.168.17.0/24 192.168.16.22" -route_route1="-host 192.168.18.18 192.168.16.226" +static_routes="routeA, routeB" +route_routeA="-net 192.168.17.0/24 192.168.16.22" +route_routeB="-host 192.168.18.18 192.168.16.226" |
#route flush
![]() default debian done 192.168.17 fbsd22 done |
#route flush
![]() default debian done 192.168.17 fbsd22 done |
#route flush
default debian done 192.168.17 fbsd22 done |
#sh /etc/netstart
![]() devd already running? (pid=659). lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.27 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:07 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.227 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:02:07 media: Ethernet autoselect (100baseTX <full-duplex>) status: active add net default: gateway 192.168.16.254 route: bad address: 192.168.16.22, add host 192.168.18.18: gateway 192.168.16.226 Additional routing options: IP gateway=YES. |
#sh /etc/netstart
![]() devd already running? (pid=659). lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.27 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:07 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.227 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:02:07 media: Ethernet autoselect (100baseTX <full-duplex>) status: active add net default: gateway 192.168.16.254 route: bad address: 192.168.16.22, add host 192.168.18.18: gateway 192.168.16.226 Additional routing options: IP gateway=YES. |
#sh /etc/netstart
devd already running? (pid=659). lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.27 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:07 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.227 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:02:07 media: Ethernet autoselect (100baseTX <full-duplex>) status: active add net default: gateway 192.168.16.254 route: bad address: 192.168.16.22, add host 192.168.18.18: gateway 192.168.16.226 Additional routing options: IP gateway=YES. |
#vim /etc/rc.conf
![]() --- /tmp/l3-saved-2440.25568.15276 2010-01-18 15:07:30.000000000 +0200 +++ /etc/rc.conf 2010-01-18 15:07:43.000000000 +0200 @@ -19,4 +19,3 @@ static_routes="routeA, routeB" route_routeA="-net 192.168.17.0/24 192.168.16.22" route_routeB="-host 192.168.18.18 192.168.16.226" - |
#vim /etc/rc.conf
![]() --- /tmp/l3-saved-2440.25568.15276 2010-01-18 15:07:30.000000000 +0200 +++ /etc/rc.conf 2010-01-18 15:07:43.000000000 +0200 @@ -19,4 +19,3 @@ static_routes="routeA, routeB" route_routeA="-net 192.168.17.0/24 192.168.16.22" route_routeB="-host 192.168.18.18 192.168.16.226" - |
#vim /etc/rc.conf
![]() --- /tmp/l3-saved-2440.25568.15276 2010-01-18 15:07:30.000000000 +0200 +++ /etc/rc.conf 2010-01-18 15:07:43.000000000 +0200 @@ -19,4 +19,3 @@ static_routes="routeA, routeB" route_routeA="-net 192.168.17.0/24 192.168.16.22" route_routeB="-host 192.168.18.18 192.168.16.226" - |
#vim /etc/rc.conf
--- /tmp/l3-saved-2440.25568.15276 2010-01-18 15:07:30.000000000 +0200 +++ /etc/rc.conf 2010-01-18 15:07:43.000000000 +0200 @@ -19,4 +19,3 @@ static_routes="routeA, routeB" route_routeA="-net 192.168.17.0/24 192.168.16.22" route_routeB="-host 192.168.18.18 192.168.16.226" - |
#sh /etc/netstart
![]() devd already running? (pid=659). lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.27 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:07 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.227 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:02:07 media: Ethernet autoselect (100baseTX <full-duplex>) status: active add net default: gateway 192.168.16.254 route: bad address: 192.168.16.22, add host 192.168.18.18: gateway 192.168.16.226 Additional routing options: IP gateway=YES. |
#sh /etc/netstart
![]() devd already running? (pid=659). lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.27 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:07 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.227 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:02:07 media: Ethernet autoselect (100baseTX <full-duplex>) status: active add net default: gateway 192.168.16.254 route: bad address: 192.168.16.22, add host 192.168.18.18: gateway 192.168.16.226 Additional routing options: IP gateway=YES. |
#sh /etc/netstart
![]() devd already running? (pid=659). lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.27 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:07 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.227 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:02:07 media: Ethernet autoselect (100baseTX <full-duplex>) status: active add net default: gateway 192.168.16.254 route: bad address: 192.168.16.22, add host 192.168.18.18: gateway 192.168.16.226 Additional routing options: IP gateway=YES. |
#sh /etc/netstart
devd already running? (pid=659). lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.27 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:07 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.227 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:02:07 media: Ethernet autoselect (100baseTX <full-duplex>) status: active add net default: gateway 192.168.16.254 route: bad address: 192.168.16.22, add host 192.168.18.18: gateway 192.168.16.226 Additional routing options: IP gateway=YES. |
#vim /etc/rc.conf
![]() --- /tmp/l3-saved-2440.19427.14427 2010-01-18 15:08:06.000000000 +0200 +++ /etc/rc.conf 2010-01-18 15:08:31.000000000 +0200 @@ -16,6 +16,6 @@ ifconfig_re2="inet 192.168.16.227 netmask 255.255.255.0" defaultrouter="192.168.16.254" gateway_enable="YES" -static_routes="routeA, routeB" +static_routes="routeA routeB" route_routeA="-net 192.168.17.0/24 192.168.16.22" route_routeB="-host 192.168.18.18 192.168.16.226" |
#vim /etc/rc.conf
![]() --- /tmp/l3-saved-2440.19427.14427 2010-01-18 15:08:06.000000000 +0200 +++ /etc/rc.conf 2010-01-18 15:08:31.000000000 +0200 @@ -16,6 +16,6 @@ ifconfig_re2="inet 192.168.16.227 netmask 255.255.255.0" defaultrouter="192.168.16.254" gateway_enable="YES" -static_routes="routeA, routeB" +static_routes="routeA routeB" route_routeA="-net 192.168.17.0/24 192.168.16.22" route_routeB="-host 192.168.18.18 192.168.16.226" |
#vim /etc/rc.conf
--- /tmp/l3-saved-2440.19427.14427 2010-01-18 15:08:06.000000000 +0200 +++ /etc/rc.conf 2010-01-18 15:08:31.000000000 +0200 @@ -16,6 +16,6 @@ ifconfig_re2="inet 192.168.16.227 netmask 255.255.255.0" defaultrouter="192.168.16.254" gateway_enable="YES" -static_routes="routeA, routeB" +static_routes="routeA routeB" route_routeA="-net 192.168.17.0/24 192.168.16.22" route_routeB="-host 192.168.18.18 192.168.16.226" |
#sh /etc/netstart
![]() devd already running? (pid=659). lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.27 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:07 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.227 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:02:07 media: Ethernet autoselect (100baseTX <full-duplex>) status: active add net default: gateway 192.168.16.254 add net 192.168.17.0: gateway 192.168.16.22 add host 192.168.18.18: gateway 192.168.16.226 Additional routing options: IP gateway=YES. |
#sh /etc/netstart
![]() devd already running? (pid=659). lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.27 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:07 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.227 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:02:07 media: Ethernet autoselect (100baseTX <full-duplex>) status: active add net default: gateway 192.168.16.254 add net 192.168.17.0: gateway 192.168.16.22 add host 192.168.18.18: gateway 192.168.16.226 Additional routing options: IP gateway=YES. |
#sh /etc/netstart
devd already running? (pid=659). lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.27 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:07 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.227 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:02:07 media: Ethernet autoselect (100baseTX <full-duplex>) status: active add net default: gateway 192.168.16.254 add net 192.168.17.0: gateway 192.168.16.22 add host 192.168.18.18: gateway 192.168.16.226 Additional routing options: IP gateway=YES. |
#vim /etc/rc.conf
![]() --- /tmp/l3-saved-2440.16619.32225 2010-01-18 15:08:43.000000000 +0200 +++ /etc/rc.conf 2010-01-18 15:09:11.000000000 +0200 @@ -14,8 +14,8 @@ ifconfig_re0="inet 192.168.16.27 netmask 255.255.255.0" hostname="fbsd7.net.nt" ifconfig_re2="inet 192.168.16.227 netmask 255.255.255.0" -defaultrouter="192.168.16.254" -gateway_enable="YES" static_routes="routeA routeB" route_routeA="-net 192.168.17.0/24 192.168.16.22" route_routeB="-host 192.168.18.18 192.168.16.226" +gateway_enable="YES" +defaultrouter="192.168.16.254" |
#vim /etc/rc.conf
--- /tmp/l3-saved-2440.16619.32225 2010-01-18 15:08:43.000000000 +0200 +++ /etc/rc.conf 2010-01-18 15:09:11.000000000 +0200 @@ -14,8 +14,8 @@ ifconfig_re0="inet 192.168.16.27 netmask 255.255.255.0" hostname="fbsd7.net.nt" ifconfig_re2="inet 192.168.16.227 netmask 255.255.255.0" -defaultrouter="192.168.16.254" -gateway_enable="YES" static_routes="routeA routeB" route_routeA="-net 192.168.17.0/24 192.168.16.22" route_routeB="-host 192.168.18.18 192.168.16.226" +gateway_enable="YES" +defaultrouter="192.168.16.254" |
#vim /etc/rc.conf
![]() --- /tmp/l3-saved-2440.7386.10426 2010-01-18 15:09:25.000000000 +0200 +++ /etc/rc.conf 2010-01-18 15:09:37.000000000 +0200 @@ -14,8 +14,11 @@ ifconfig_re0="inet 192.168.16.27 netmask 255.255.255.0" hostname="fbsd7.net.nt" ifconfig_re2="inet 192.168.16.227 netmask 255.255.255.0" + static_routes="routeA routeB" route_routeA="-net 192.168.17.0/24 192.168.16.22" route_routeB="-host 192.168.18.18 192.168.16.226" + + gateway_enable="YES" defaultrouter="192.168.16.254" |
#vim /etc/rc.conf
![]() --- /tmp/l3-saved-2440.7386.10426 2010-01-18 15:09:25.000000000 +0200 +++ /etc/rc.conf 2010-01-18 15:09:37.000000000 +0200 @@ -14,8 +14,11 @@ ifconfig_re0="inet 192.168.16.27 netmask 255.255.255.0" hostname="fbsd7.net.nt" ifconfig_re2="inet 192.168.16.227 netmask 255.255.255.0" + static_routes="routeA routeB" route_routeA="-net 192.168.17.0/24 192.168.16.22" route_routeB="-host 192.168.18.18 192.168.16.226" + + gateway_enable="YES" defaultrouter="192.168.16.254" |
#vim /etc/rc.conf
--- /tmp/l3-saved-2440.7386.10426 2010-01-18 15:09:25.000000000 +0200 +++ /etc/rc.conf 2010-01-18 15:09:37.000000000 +0200 @@ -14,8 +14,11 @@ ifconfig_re0="inet 192.168.16.27 netmask 255.255.255.0" hostname="fbsd7.net.nt" ifconfig_re2="inet 192.168.16.227 netmask 255.255.255.0" + static_routes="routeA routeB" route_routeA="-net 192.168.17.0/24 192.168.16.22" route_routeB="-host 192.168.18.18 192.168.16.226" + + gateway_enable="YES" defaultrouter="192.168.16.254" |
#sh /etc/netstart
![]() devd already running? (pid=659). lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.27 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:07 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.227 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:02:07 media: Ethernet autoselect (100baseTX <full-duplex>) status: active add net default: gateway 192.168.16.254 add net 192.168.17.0: gateway 192.168.16.22 add host 192.168.18.18: gateway 192.168.16.226 Additional routing options: IP gateway=YES. |
#sh /etc/netstart
![]() devd already running? (pid=659). lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.27 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:07 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.227 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:02:07 media: Ethernet autoselect (100baseTX <full-duplex>) status: active add net default: gateway 192.168.16.254 add net 192.168.17.0: gateway 192.168.16.22 add host 192.168.18.18: gateway 192.168.16.226 Additional routing options: IP gateway=YES. |
#sh /etc/netstart
devd already running? (pid=659). lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.27 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:07 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.227 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:02:07 media: Ethernet autoselect (100baseTX <full-duplex>) status: active add net default: gateway 192.168.16.254 add net 192.168.17.0: gateway 192.168.16.22 add host 192.168.18.18: gateway 192.168.16.226 Additional routing options: IP gateway=YES. |
#cat /etc/rc.conf
![]() sshd_enable="yes" font8x14="cp866-8x14" font8x16="cp866b-8x16" font8x8="cp866-8x8" keymap="ru.koi8-r" keyrate="normal" local_startup="/usr/local/etc/rc.d" mousechar_start="3" moused_enable="YES" saver="fire" scrnmap="koi8-r2cp866" usbd_enable="YES" inetd_enable=yes ifconfig_re0="inet 192.168.16.27 netmask 255.255.255.0" hostname="fbsd7.net.nt" ifconfig_re2="inet 192.168.16.227 netmask 255.255.255.0" static_routes="routeA routeB" route_routeA="-net 192.168.17.0/24 192.168.16.22" route_routeB="-host 192.168.18.18 192.168.16.226" gateway_enable="YES" defaultrouter="192.168.16.254" |
#cat /etc/rc.conf
![]() sshd_enable="yes" font8x14="cp866-8x14" font8x16="cp866b-8x16" font8x8="cp866-8x8" keymap="ru.koi8-r" keyrate="normal" local_startup="/usr/local/etc/rc.d" mousechar_start="3" moused_enable="YES" saver="fire" scrnmap="koi8-r2cp866" usbd_enable="YES" inetd_enable=yes ifconfig_re0="inet 192.168.16.27 netmask 255.255.255.0" hostname="fbsd7.net.nt" ifconfig_re2="inet 192.168.16.227 netmask 255.255.255.0" static_routes="routeA routeB" route_routeA="-net 192.168.17.0/24 192.168.16.22" route_routeB="-host 192.168.18.18 192.168.16.226" gateway_enable="YES" defaultrouter="192.168.16.254" |
#cat /etc/rc.conf
sshd_enable="yes" font8x14="cp866-8x14" font8x16="cp866b-8x16" font8x8="cp866-8x8" keymap="ru.koi8-r" keyrate="normal" local_startup="/usr/local/etc/rc.d" mousechar_start="3" moused_enable="YES" saver="fire" scrnmap="koi8-r2cp866" usbd_enable="YES" inetd_enable=yes ifconfig_re0="inet 192.168.16.27 netmask 255.255.255.0" hostname="fbsd7.net.nt" ifconfig_re2="inet 192.168.16.227 netmask 255.255.255.0" static_routes="routeA routeB" route_routeA="-net 192.168.17.0/24 192.168.16.22" route_routeB="-host 192.168.18.18 192.168.16.226" gateway_enable="YES" defaultrouter="192.168.16.254" |
#less /etc/rc.conf
![]() |
#less /etc/rc.conf
![]() |
#less /etc/rc.conf
![]() |
#less /etc/rc.conf
![]() |
#less /etc/rc.conf
![]() |
#less /etc/rc.conf
|
#sh /etc/rc
![]() rc rc.d/ rc.initdiskless rc.shutdown rc.bsdextended rc.firewall rc.resume rc.subr rc.conf rc.firewall6 rc.sendmail rc.suspend |
#sh /etc/rc.d/rout
![]() route6d routed routing |
#sh /etc/rc.d/rout
![]() route6d routed routing |
#sh /etc/rc
![]() rc rc.d/ rc.initdiskless rc.shutdown rc.bsdextended rc.firewall rc.resume rc.subr rc.conf rc.firewall6 rc.sendmail rc.suspend |
#sh /etc/rc.d/rout
![]() route6d routed routing |
#sh /etc/rc.d/rout
![]() route6d routed routing |
#sh /etc/rc
![]() rc rc.d/ rc.initdiskless rc.shutdown rc.bsdextended rc.firewall rc.resume rc.subr rc.conf rc.firewall6 rc.sendmail rc.suspend |
#sh /etc/rc.d/rout
![]() route6d routed routing |
#sh /etc/rc.d/rout
![]() route6d routed routing |
#ipc
![]() ipcrm ipcs |
#cd /usr/ports/
![]() õ ×ÁÓ ÅÓÔØ ÎÏ×ÁÑ ÐÏÞÔÁ × /var/mail/root |
#ipc
![]() ipcrm ipcs |
#cd /usr/ports/
![]() õ ×ÁÓ ÅÓÔØ ÎÏ×ÁÑ ÐÏÞÔÁ × /var/mail/root |
#ipc
![]() ipcrm ipcs |
#cd /usr/ports/
õ ×ÁÓ ÅÓÔØ ÎÏ×ÁÑ ÐÏÞÔÁ × /var/mail/root |
#make search name-ipcalc
![]() The search target requires a keyword parameter or name parameter, e.g.: "make search key=somekeyword" or "make search name=somekeyword" make: don't know how to make name-ipcalc. Stop |
#make search name-ipcalc
![]() The search target requires a keyword parameter or name parameter, e.g.: "make search key=somekeyword" or "make search name=somekeyword" make: don't know how to make name-ipcalc. Stop |
#make search name-ipcalc
![]() The search target requires a keyword parameter or name parameter, e.g.: "make search key=somekeyword" or "make search name=somekeyword" make: don't know how to make name-ipcalc. Stop |
#make search name=ipcalc
![]() Port: ipcalc-0.41 Path: /usr/ports/net-mgmt/ipcalc Info: IP Calculator Maint: ceri@FreeBSD.org B-deps: perl-5.8.8_1 R-deps: perl-5.8.8_1 WWW: http://jodies.de/ipcalc Port: sipcalc-1.1.4 Path: /usr/ports/net-mgmt/sipcalc Info: Sipcalc is an IP subnet calculator with IPv6 support ... R-deps: WWW: http://www.routemeister.net/projects/sipcalc/ Port: net/ipcalc Moved: net-mgmt/ipcalc Date: 2004-02-22 Reason: new category Port: net/sipcalc Moved: net-mgmt/sipcalc Date: 2004-02-22 Reason: new category |
#make search name=ipcalc
![]() Port: ipcalc-0.41 Path: /usr/ports/net-mgmt/ipcalc Info: IP Calculator Maint: ceri@FreeBSD.org B-deps: perl-5.8.8_1 R-deps: perl-5.8.8_1 WWW: http://jodies.de/ipcalc Port: sipcalc-1.1.4 Path: /usr/ports/net-mgmt/sipcalc Info: Sipcalc is an IP subnet calculator with IPv6 support ... R-deps: WWW: http://www.routemeister.net/projects/sipcalc/ Port: net/ipcalc Moved: net-mgmt/ipcalc Date: 2004-02-22 Reason: new category Port: net/sipcalc Moved: net-mgmt/sipcalc Date: 2004-02-22 Reason: new category |
#make search name=ipcalc
Port: ipcalc-0.41 Path: /usr/ports/net-mgmt/ipcalc Info: IP Calculator Maint: ceri@FreeBSD.org B-deps: perl-5.8.8_1 R-deps: perl-5.8.8_1 WWW: http://jodies.de/ipcalc Port: sipcalc-1.1.4 Path: /usr/ports/net-mgmt/sipcalc Info: Sipcalc is an IP subnet calculator with IPv6 support ... R-deps: WWW: http://www.routemeister.net/projects/sipcalc/ Port: net/ipcalc Moved: net-mgmt/ipcalc Date: 2004-02-22 Reason: new category Port: net/sipcalc Moved: net-mgmt/sipcalc Date: 2004-02-22 Reason: new category |
#vim /etc/rc.conf
![]() |
#vim /etc/rc.conf
![]() |
#vim /etc/rc.conf
![]() |
#make search name=ipcalc | less
![]() |
#make search name=ipcalc | less
![]() |
#make search name=ipcalc | less
|
#\\
![]() bash: \: ËÏÍÁÎÄÁ ÎÅ ÎÁÊÄÅÎÁ õ ×ÁÓ ÅÓÔØ ÎÏ×ÁÑ ÐÏÞÔÁ × /var/mail/root |
#\\
![]() bash: \: ËÏÍÁÎÄÁ ÎÅ ÎÁÊÄÅÎÁ õ ×ÁÓ ÅÓÔØ ÎÏ×ÁÑ ÐÏÞÔÁ × /var/mail/root |
#\\
![]() bash: \: ËÏÍÁÎÄÁ ÎÅ ÎÁÊÄÅÎÁ õ ×ÁÓ ÅÓÔØ ÎÏ×ÁÑ ÐÏÞÔÁ × /var/mail/root |
#screen -x
![]() |
#screen -x
![]() |
#screen -x
|
#screen
![]() |
#screen
![]() |
#screen
|
#ls -l
![]() total 144 -rw------- 1 root wheel 467 24 ÉÀÌ 16:12 .ICEauthority drwx------ 2 root wheel 512 24 ÉÀÌ 16:12 .Trash -rw------- 1 root wheel 58 18 ÑÎ× 12:12 .Xauthority -rw------- 1 root wheel 11554 18 ÑÎ× 16:05 .bash_history -rw-r--r-- 1 root wheel 19 24 ÉÀÌ 19:40 .bash_profile -rw-r--r-- 1 root wheel 38 24 ÉÀÌ 19:40 .bashrc drwx------ 3 root wheel 512 24 ÉÀÌ 16:10 .config -rw-r--r-- 2 root wheel 801 16 ÑÎ× 2008 .cshrc drwx------ 4 root wheel 512 24 ÉÀÌ 16:10 .gconf ... drwx------ 3 root wheel 512 24 ÉÀÌ 16:12 .thumbnails drwxr-xr-x 2 root wheel 512 28 ÍÁÒ 2008 .vnc -rw-r--r-- 1 root wheel 26 24 ÉÀÌ 15:58 .xsession -rw------- 1 root wheel 3017 24 ÉÀÌ 16:12 .xsession-errors -rw------- 1 root wheel 599 24 ÉÀÌ 15:57 .xsmIk2fG7 drwxr-xr-x 2 root wheel 512 24 ÉÀÌ 16:11 Desktop -rw-r--r-- 1 root wheel 5160 28 ÍÁÒ 2008 install -rw------- 1 root wheel 54239 24 ÉÀÌ 19:01 mbox -rw-r--r-- 1 root wheel 0 24 ÉÀÌ 16:12 nautilus-debug-log.txt -rwxr-xr-x 1 root wheel 727 18 ÑÎ× 08:30 prepare-freebsd.sh |
#ls -l
![]() total 144 -rw------- 1 root wheel 467 24 ÉÀÌ 16:12 .ICEauthority drwx------ 2 root wheel 512 24 ÉÀÌ 16:12 .Trash -rw------- 1 root wheel 58 18 ÑÎ× 12:12 .Xauthority -rw------- 1 root wheel 11554 18 ÑÎ× 16:05 .bash_history -rw-r--r-- 1 root wheel 19 24 ÉÀÌ 19:40 .bash_profile -rw-r--r-- 1 root wheel 38 24 ÉÀÌ 19:40 .bashrc drwx------ 3 root wheel 512 24 ÉÀÌ 16:10 .config -rw-r--r-- 2 root wheel 801 16 ÑÎ× 2008 .cshrc drwx------ 4 root wheel 512 24 ÉÀÌ 16:10 .gconf ... drwx------ 3 root wheel 512 24 ÉÀÌ 16:12 .thumbnails drwxr-xr-x 2 root wheel 512 28 ÍÁÒ 2008 .vnc -rw-r--r-- 1 root wheel 26 24 ÉÀÌ 15:58 .xsession -rw------- 1 root wheel 3017 24 ÉÀÌ 16:12 .xsession-errors -rw------- 1 root wheel 599 24 ÉÀÌ 15:57 .xsmIk2fG7 drwxr-xr-x 2 root wheel 512 24 ÉÀÌ 16:11 Desktop -rw-r--r-- 1 root wheel 5160 28 ÍÁÒ 2008 install -rw------- 1 root wheel 54239 24 ÉÀÌ 19:01 mbox -rw-r--r-- 1 root wheel 0 24 ÉÀÌ 16:12 nautilus-debug-log.txt -rwxr-xr-x 1 root wheel 727 18 ÑÎ× 08:30 prepare-freebsd.sh |
#ls -l
![]() total 144 -rw------- 1 root wheel 467 24 ÉÀÌ 16:12 .ICEauthority drwx------ 2 root wheel 512 24 ÉÀÌ 16:12 .Trash -rw------- 1 root wheel 58 18 ÑÎ× 12:12 .Xauthority -rw------- 1 root wheel 11554 18 ÑÎ× 16:05 .bash_history -rw-r--r-- 1 root wheel 19 24 ÉÀÌ 19:40 .bash_profile -rw-r--r-- 1 root wheel 38 24 ÉÀÌ 19:40 .bashrc drwx------ 3 root wheel 512 24 ÉÀÌ 16:10 .config -rw-r--r-- 2 root wheel 801 16 ÑÎ× 2008 .cshrc drwx------ 4 root wheel 512 24 ÉÀÌ 16:10 .gconf ... drwx------ 3 root wheel 512 24 ÉÀÌ 16:12 .thumbnails drwxr-xr-x 2 root wheel 512 28 ÍÁÒ 2008 .vnc -rw-r--r-- 1 root wheel 26 24 ÉÀÌ 15:58 .xsession -rw------- 1 root wheel 3017 24 ÉÀÌ 16:12 .xsession-errors -rw------- 1 root wheel 599 24 ÉÀÌ 15:57 .xsmIk2fG7 drwxr-xr-x 2 root wheel 512 24 ÉÀÌ 16:11 Desktop -rw-r--r-- 1 root wheel 5160 28 ÍÁÒ 2008 install -rw------- 1 root wheel 54239 24 ÉÀÌ 19:01 mbox -rw-r--r-- 1 root wheel 0 24 ÉÀÌ 16:12 nautilus-debug-log.txt -rwxr-xr-x 1 root wheel 727 18 ÑÎ× 08:30 prepare-freebsd.sh |
#ls -l
total 144 -rw------- 1 root wheel 467 24 ÉÀÌ 16:12 .ICEauthority drwx------ 2 root wheel 512 24 ÉÀÌ 16:12 .Trash -rw------- 1 root wheel 58 18 ÑÎ× 12:12 .Xauthority -rw------- 1 root wheel 11554 18 ÑÎ× 16:05 .bash_history -rw-r--r-- 1 root wheel 19 24 ÉÀÌ 19:40 .bash_profile -rw-r--r-- 1 root wheel 38 24 ÉÀÌ 19:40 .bashrc drwx------ 3 root wheel 512 24 ÉÀÌ 16:10 .config -rw-r--r-- 2 root wheel 801 16 ÑÎ× 2008 .cshrc drwx------ 4 root wheel 512 24 ÉÀÌ 16:10 .gconf ... drwx------ 3 root wheel 512 24 ÉÀÌ 16:12 .thumbnails drwxr-xr-x 2 root wheel 512 28 ÍÁÒ 2008 .vnc -rw-r--r-- 1 root wheel 26 24 ÉÀÌ 15:58 .xsession -rw------- 1 root wheel 3017 24 ÉÀÌ 16:12 .xsession-errors -rw------- 1 root wheel 599 24 ÉÀÌ 15:57 .xsmIk2fG7 drwxr-xr-x 2 root wheel 512 24 ÉÀÌ 16:11 Desktop -rw-r--r-- 1 root wheel 5160 28 ÍÁÒ 2008 install -rw------- 1 root wheel 54239 24 ÉÀÌ 19:01 mbox -rw-r--r-- 1 root wheel 0 24 ÉÀÌ 16:12 nautilus-debug-log.txt -rwxr-xr-x 1 root wheel 727 18 ÑÎ× 08:30 prepare-freebsd.sh |
#cd /usr/ports/
![]() |
#cd /usr/ports/
![]() |
#cd /usr/ports/
![]() |
#cd /usr/ports/
|
#make search name=ipcalc
Port: ipcalc-0.41 Path: /usr/ports/net-mgmt/ipcalc Info: IP Calculator Maint: ceri@FreeBSD.org B-deps: perl-5.8.8_1 R-deps: perl-5.8.8_1 WWW: http://jodies.de/ipcalc Port: sipcalc-1.1.4 Path: /usr/ports/net-mgmt/sipcalc Info: Sipcalc is an IP subnet calculator with IPv6 support ... R-deps: WWW: http://www.routemeister.net/projects/sipcalc/ Port: net/ipcalc Moved: net-mgmt/ipcalc Date: 2004-02-22 Reason: new category Port: net/sipcalc Moved: net-mgmt/sipcalc Date: 2004-02-22 Reason: new category |
#top
last pid: 6121; load averages: 1.08, 0.30, 0.28 up 0+01:54:25 16:06:45 39 processes 0.0 running 0.0 sleepin 0.0 0.0 100 CPU states: % user, % nice, % system, % interrupt, % idle Mem: 42M Active, 14M Inact, 53M Wired, 45M Buf, 381M Free Swap: 2015M Total, 2015M Free PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 1684 root 1 8 0 9952K 8700K nanslp 7:24 15.23% perl5.8.8 1043 root 1 8 0 9976K 8672K nanslp 8:05 14.60% perl5.8.8 5877 root 1 8 0 9372K 8112K nanslp 0:05 13.20% perl5.8.8 975 root 1 8 0 9984K 8692K nanslp 8:14 12.99% perl5.8.8 ... 945 root 1 5 0 1352K 936K ttyin 0:00 0.00% getty 948 root 1 5 0 1352K 936K ttyin 0:00 0.00% getty 949 root 1 5 0 1352K 936K ttyin 0:00 0.00% getty 943 root 1 5 0 1352K 936K ttyin 0:00 0.00% getty 944 root 1 5 0 1352K 936K ttyin 0:00 0.00% getty 6121 root 1 108 0 2308K 1488K RUN 0:00 0.00% top 796 root 1 114 0 1436K 892K select 0:00 0.00% moused 584 root 1 114 0 1436K 912K select 0:00 0.00% moused 154 root 1 20 0 1260K 716K pause 0:00 0.00% adjkerntz 659 root 1 114 0 528K 380K select 0:00 0.00% devd |
#ps aux | grep l3
![]() root 975 12,1 1,7 9984 8692 ?? Ss 14:13 8:15,03 l3-agent (perl5.8.8) root 1684 11,1 1,7 9952 8700 ?? Ss 14:22 7:24,17 l3-agent (perl5.8.8) root 1043 10,7 1,7 9976 8672 ?? Ss 14:13 8:05,10 l3-agent (perl5.8.8) root 5877 8,7 1,6 9372 8112 ?? Ss 16:05 0:05,39 l3-agent (perl5.8.8) |
#ps aux | grep l3
![]() root 975 12,1 1,7 9984 8692 ?? Ss 14:13 8:15,03 l3-agent (perl5.8.8) root 1684 11,1 1,7 9952 8700 ?? Ss 14:22 7:24,17 l3-agent (perl5.8.8) root 1043 10,7 1,7 9976 8672 ?? Ss 14:13 8:05,10 l3-agent (perl5.8.8) root 5877 8,7 1,6 9372 8112 ?? Ss 16:05 0:05,39 l3-agent (perl5.8.8) |
#ps aux | grep l3
root 975 12,1 1,7 9984 8692 ?? Ss 14:13 8:15,03 l3-agent (perl5.8.8) root 1684 11,1 1,7 9952 8700 ?? Ss 14:22 7:24,17 l3-agent (perl5.8.8) root 1043 10,7 1,7 9976 8672 ?? Ss 14:13 8:05,10 l3-agent (perl5.8.8) root 5877 8,7 1,6 9372 8112 ?? Ss 16:05 0:05,39 l3-agent (perl5.8.8) |
#ps aux | grep l3 | awk '{print$2}'
1684 1043 975 5877 6167 |
#kill -9 `ps aux | grep l3 | awk '{print$2}'`
|
#l3-agent
Removing stale pidfile |
#ps aux | grep l3
root 6192 84,0 1,6 9328 8048 ?? Ss 16:07 0:01,59 l3-agent (perl5.8.8) |
#top
last pid: 6230; load averages: 0.84, 0.30, 0.28 up 0+01:55:01 16:07:21 36 processes: 1 running, 35 sleeping CPU states: % user, % nice, % system, % interrupt, % idle Mem: 23M Active, 13M Inact, 53M Wired, 45M Buf, 400M Free Swap: 2015M Total, 2015M Free PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 6192 root 1 8 0 9328K 8048K nanslp 0:02 12.23% perl5.8.8 1033 root 1 96 0 6280K 3320K select 0:01 0.00% sshd 953 root 1 96 0 20916K 12984K select 0:01 0.00% Xorg 1037 root 1 96 0 1348K 936K select 0:00 0.00% script ... 946 root 1 5 0 1352K 936K ttyin 0:00 0.00% getty 945 root 1 5 0 1352K 936K ttyin 0:00 0.00% getty 948 root 1 5 0 1352K 936K ttyin 0:00 0.00% getty 949 root 1 5 0 1352K 936K ttyin 0:00 0.00% getty 943 root 1 5 0 1352K 936K ttyin 0:00 0.00% getty 944 root 1 5 0 1352K 936K ttyin 0:00 0.00% getty 796 root 1 114 0 1436K 892K select 0:00 0.00% moused 584 root 1 114 0 1436K 912K select 0:00 0.00% moused 154 root 1 20 0 1260K 716K pause 0:00 0.00% adjkerntz 659 root 1 114 0 528K 380K select 0:00 0.00% devd |
# 6230 root 1 102 0 2308K 1488K RUN 0:00 0.00% top
|
#ps aux | grep l3
root 6192 7,4 1,6 9328 8048 ?? Ss 16:07 0:01,59 l3-agent (perl5.8.8) |
#ps aux
USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND root 10 73,3 0,0 0 8 ?? RL 14:12 89:52,69 [idle: cpu0] root 6192 14,1 1,6 9364 8088 ?? Ss 16:07 0:03,96 l3-agent (perl5.8.8) root 0 0,0 0,0 0 0 ?? WLs 14:12 0:00,00 [swapper] root 1 0,0 0,1 768 388 ?? SLs 14:12 0:00,01 /sbin/init -- root 2 0,0 0,0 0 8 ?? DL 14:12 0:00,51 [g_event] root 3 0,0 0,0 0 8 ?? DL 14:12 0:01,62 [g_up] root 4 0,0 0,0 0 8 ?? DL 14:12 0:01,80 [g_down] root 5 0,0 0,0 0 8 ?? DL 14:12 0:00,00 [thread taskq] root 6 0,0 0,0 0 8 ?? DL 14:12 0:00,00 [xpt_thrd] ... root 949 0,0 0,2 1352 936 v7 Is+ 14:12 0:00,00 /usr/libexec/getty Pc ttyv7 root 5871 0,0 0,2 1348 936 p1 Ss+ 16:05 0:00,05 script -t 0 -q /root/.lilalo//5617186401981814219-1263823557.script root 5914 0,0 0,4 3324 2160 p2 Is 16:05 0:00,02 /usr/local/bin/bash -i root 5935 0,0 0,3 2012 1616 p2 S+ 16:05 0:00,01 screen root 1037 0,0 0,2 1348 936 p3 Ss+ 14:13 0:00,36 script -t 0 -q /root/.lilalo//29401276301412423613-1263809581.script root 1080 0,0 0,4 3336 2184 p4 Is 14:13 0:00,03 /usr/local/bin/bash -i root 6025 0,0 0,3 2012 1620 p4 S+ 16:06 0:00,01 screen -x root 5938 0,0 0,2 1348 940 p5 Ss+ 16:05 0:00,05 script -t 0 -q /root/.lilalo//46513272861919794-1263823559.script root 5975 0,0 0,4 3356 2200 p6 Ss 16:05 0:00,10 /usr/local/bin/bash -i root 6268 0,0 0,2 1504 1040 p6 R+ 16:07 0:00,00 ps aux |
#ps aux | grep l3 | awk '{print$2}'
6192 |
#ps aux | grep l3
root 6192 11,8 1,6 9404 8128 ?? Ss 16:07 0:06,11 l3-agent (perl5.8.8) root 6287 0,0 0,2 1608 1064 p6 S+ 16:07 0:00,00 grep l3 |
sshd_enable="yes" font8x14="cp866-8x14" font8x16="cp866b-8x16" font8x8="cp866-8x8" keymap="ru.koi8-r" keyrate="normal" local_startup="/usr/local/etc/rc.d" mousechar_start="3" moused_enable="YES" saver="fire" scrnmap="koi8-r2cp866" usbd_enable="YES" inetd_enable=yes ifconfig_re0="inet 192.168.16.27 netmask 255.255.255.0" hostname="fbsd7.net.nt" ifconfig_re2="inet 192.168.16.227 netmask 255.255.255.0" static_routes="routeA routeB" route_routeA="-net 192.168.17.0/24 192.168.16.22" route_routeB="-host 192.168.18.18 192.168.16.226" gateway_enable="YES" defaultrouter="192.168.16.254"
Время первой команды журнала | 14:05:38 2010- 1-18 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 15:07:54 2010- 1-18 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 5.94 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 2.97 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 1.04 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 1.62 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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