очень долго выполняется команда ifconfig
Код: Выделить всё
ifconfig | wc -l
82
ifconfig | wc -l | time
4.497u 2.687s 24:23.55 0.4% 23043+368k 138+5io 532pf+0w
Код: Выделить всё
ifconfig | grep ng -c
1056
ifconfig | wc -l
2661
ifconfig | wc -l | time
0.105u 0.839s 1:05:40.35 0.0% 240+240k 0+0io 0pf+0w
Полный вывод команды
Код: Выделить всё
ifconfig
ix0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8000b8<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM>
ether 00:1b:21:6f:a3:5f
inet 10.100.200.1 netmask 0xffffff00 broadcast 10.100.200.255
media: Ethernet autoselect (10Gbase-Twinax <full-duplex,rxpause,txpause>)
status: active
ix1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8000b8<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM>
ether 00:1b:21:6f:a3:5e
inet 10.100.205.205 netmask 0xffffff00 broadcast 10.100.205.255
media: Ethernet autoselect (10Gbase-Twinax <full-duplex,rxpause,txpause>)
status: active
igb0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=400bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,VLAN_HWTSO>
ether 00:19:99:d4:91:0e
inet 172.17.1.13 netmask 0xfffffffc broadcast 172.17.1.15
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
igb1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=400bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,VLAN_HWTSO>
ether 00:19:99:d4:91:0f
inet 172.17.1.81 netmask 0xfffffffc broadcast 172.17.1.83
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
pflog0: flags=141<UP,RUNNING,PROMISC> metric 0 mtu 33160
pfsync0: flags=0<> metric 0 mtu 1500
syncpeer: 0.0.0.0 maxupd: 128 defer: off
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
inet 127.0.0.1 netmask 0xff000000
vlan5: flags=8002<BROADCAST,MULTICAST> metric 0 mtu 1500
ether 00:00:00:00:00:00
vlan: 0 parent interface: <none>
vlan8: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 00:1b:21:6f:a3:5e
inet 172.17.1.9 netmask 0xfffffffc broadcast 172.17.1.11
inet 172.17.1.6 netmask 0xfffffffc broadcast 172.17.1.7
inet 172.17.1.77 netmask 0xfffffffc broadcast 172.17.1.79
media: Ethernet autoselect (10Gbase-Twinax <full-duplex,rxpause,txpause>)
status: active
vlan: 8 parent interface: ix1
vlan46: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 00:1b:21:6f:a3:5e
inet 192.168.89.157 netmask 0xfffffffc broadcast 192.168.89.159
media: Ethernet autoselect (10Gbase-Twinax <full-duplex,rxpause,txpause>)
status: active
vlan: 46 parent interface: ix1
vlan49: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 00:1b:21:6f:a3:5e
inet 172.17.1.29 netmask 0xfffffffc broadcast 172.17.1.31
inet 192.168.210.61 netmask 0xfffffffc broadcast 192.168.210.63
inet 192.168.210.49 netmask 0xfffffffc broadcast 192.168.210.51
inet 192.168.210.149 netmask 0xfffffffc broadcast 192.168.210.151
media: Ethernet autoselect (10Gbase-Twinax <full-duplex,rxpause,txpause>)
status: active
vlan: 49 parent interface: ix1
vlan114: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 00:1b:21:6f:a3:5e
inet 192.168.210.93 netmask 0xfffffffc broadcast 192.168.210.95
inet 172.17.1.97 netmask 0xfffffffc broadcast 172.17.1.99
inet 192.168.210.105 netmask 0xfffffff8 broadcast 192.168.210.111
media: Ethernet autoselect (10Gbase-Twinax <full-duplex,rxpause,txpause>)
status: active
vlan: 114 parent interface: ix1
vlan890: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 00:1b:21:6f:a3:5e
inet 10.100.208.1 netmask 0xffffff00 broadcast 10.100.208.255
media: Ethernet autoselect (10Gbase-Twinax <full-duplex,rxpause,txpause>)
status: active
vlan: 890 parent interface: ix1
vlan1500: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 00:1b:21:6f:a3:5f
inet 94.231.188.250 netmask 0xfffffffc broadcast 94.231.188.251
media: Ethernet autoselect (10Gbase-Twinax <full-duplex,rxpause,txpause>)
status: active
vlan: 1500 parent interface: ix0
vlan2011: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 00:1b:21:6f:a3:5e
inet 172.17.1.237 netmask 0xfffffffc broadcast 172.17.1.239
media: Ethernet autoselect (10Gbase-Twinax <full-duplex,rxpause,txpause>)
status: active
vlan: 2011 parent interface: ix1
Код: Выделить всё
uname -a
FreeBSD core.com.ua 10.2-RELEASE FreeBSD 10.2-RELEASE #0: Sat Jun 25 01:09:45 EEST 2016 silver@core.com.ua:/usr/src/sys/amd64/compile/CORE10GC amd64
Заранее благодарин