![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 658 Pomógł: 37 Dołączył: 4.06.2005 Skąd: Wawa Ostrzeżenie: (0%) ![]() ![]() |
Witam,
Mam w firmie swith-e CISCO, poprzez www można oglądać statystyki każdego gniazdka ile danych wysłał ile odebrał. Niestety dane te są czystym tekstem w prostym HTML-u. I tu moje pytanie czy wiecie jak i czy wogóle można pobrać wartości z takiej sieczki FastEthernet0/5 is up, line protocol is up Hardware is Fast Ethernet, address is 0004.27dc.0345 (bia 0004.27dc.0345) Description: GM3/22 MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation ARPA, loopback not set Keepalive not set Auto-duplex (Full), Auto Speed (100), 100BaseTX/FX ARP type: ARPA, ARP Timeout 04:00:00 Last input 00:00:26, output 00:00:26, output hang never Last clearing of "show interface" counters never Queueing strategy: fifo Output queue 0/40, 0 drops; input queue 0/75, 0 drops 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 1000 bits/sec, 1 packets/sec 2481810 packets input, 1426225855 bytes Received 82915 broadcasts, 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored 0 watchdog, 21650 multicast 0 input packets with dribble condition detected 4037360 packets output, 1553305833 bytes, 0 underruns 0 output errors, 0 collisions, 1 interface resets 0 babbles, 0 late collision, 0 deferred 0 lost carrier, 0 no carrier 0 output buffer failures, 0 output buffers swapped out Przykładowe wartości które by mnie interesowały pogróbiłem. Czy można to jakoś pobrać czy raczej nierealne to jest ? Dzięki za info i wskazówki Redelek |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 875 Pomógł: 122 Dołączył: 2.02.2008 Ostrzeżenie: (0%) ![]() ![]() |
No i dobrze... powinno działać... co ci wyświetla...?
|
|
|
![]()
Post
#3
|
|
Grupa: Zarejestrowani Postów: 658 Pomógł: 37 Dołączył: 4.06.2005 Skąd: Wawa Ostrzeżenie: (0%) ![]() ![]() |
No i dobrze... powinno działać... co ci wyświetla...? Takie coś Array ( [0] => Array ( [name] => [bytes_in] => [bytes_out] => ) [1] => Array ( [name] => FastEthernet0/1 [bytes_in] => [bytes_out] => ) [2] => Array ( [name] => FastEthernet0/2 [bytes_in] => [bytes_out] => ) [3] => Array ( [name] => FastEthernet0/3 [bytes_in] => [bytes_out] => ) [4] => Array ( [name] => FastEthernet0/4 [bytes_in] => [bytes_out] => ) [5] => Array ( [name] => FastEthernet0/5 [bytes_in] => [bytes_out] => ) [6] => Array ( [name] => FastEthernet0/6 [bytes_in] => [bytes_out] => ) [7] => Array ( [name] => FastEthernet0/7 [bytes_in] => [bytes_out] => ) [8] => Array ( [name] => FastEthernet0/8 [bytes_in] => [bytes_out] => ) [9] => Array ( [name] => FastEthernet0/9 [bytes_in] => [bytes_out] => ) [10] => Array ( [name] => FastEthernet0/10 [bytes_in] => [bytes_out] => ) [11] => Array ( [name] => FastEthernet0/11 [bytes_in] => [bytes_out] => ) [12] => Array ( [name] => FastEthernet0/12 [bytes_in] => [bytes_out] => ) [13] => Array ( [name] => FastEthernet0/13 [bytes_in] => [bytes_out] => ) [14] => Array ( [name] => FastEthernet0/14 [bytes_in] => [bytes_out] => ) [15] => Array ( [name] => FastEthernet0/15 [bytes_in] => [bytes_out] => ) [16] => Array ( [name] => FastEthernet0/16 [bytes_in] => [bytes_out] => ) [17] => Array ( [name] => FastEthernet0/17 [bytes_in] => [bytes_out] => ) [18] => Array ( [name] => FastEthernet0/18 [bytes_in] => [bytes_out] => ) [19] => Array ( [name] => FastEthernet0/19 [bytes_in] => [bytes_out] => ) [20] => Array ( [name] => FastEthernet0/20 [bytes_in] => [bytes_out] => ) [21] => Array ( [name] => FastEthernet0/21 [bytes_in] => [bytes_out] => ) [22] => Array ( [name] => FastEthernet0/22 [bytes_in] => [bytes_out] => ) [23] => Array ( [name] => FastEthernet0/23 [bytes_in] => [bytes_out] => ) [24] => Array ( [name] => FastEthernet0/24 [bytes_in] => [bytes_out] => ) [25] => Array ( [name] => GigabitEthernet0/1 [bytes_in] => [bytes_out] => ) [26] => Array ( [name] => GigabitEthernet0/2 [bytes_in] => [bytes_out] => ) ) |
|
|
![]() ![]() |
![]() |
Aktualny czas: 5.10.2025 - 15:18 |