Precisa saber estatísticas de sua placa de rede no AIX, conheça o “entstat”, o mesmo mostra várias estatísticas de sua placa de rede, que pode ser útil quando tiver realizando um “troubleshooting” de rede, segue amosta da saída do comando:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 |
# entstat en0 ------------------------------------------------------------- ETHERNET STATISTICS (en0) : Device Type: Virtual I/O Ethernet Adapter (l-lan) Hardware Address: 82:0b:be:92:21:04 Elapsed Time: 26 days 23 hours 59 minutes 28 seconds Transmit Statistics: Receive Statistics: -------------------- ------------------- Packets: 467010 Packets: 508643 Bytes: 44468303 Bytes: 61593659 Interrupts: 0 Interrupts: 508150 Transmit Errors: 0 Receive Errors: 0 Packets Dropped: 0 Packets Dropped: 0 Bad Packets: 0 Max Packets on S/W Transmit Queue: 0 S/W Transmit Queue Overflow: 0 Current S/W+H/W Transmit Queue Length: 0 Broadcast Packets: 7 Broadcast Packets: 43814 Multicast Packets: 5188 Multicast Packets: 9134 No Carrier Sense: 0 CRC Errors: 0 DMA Underrun: 0 DMA Overrun: 0 Lost CTS Errors: 0 Alignment Errors: 0 Max Collision Errors: 0 No Resource Errors: 0 Late Collision Errors: 0 Receive Collision Errors: 0 Deferred: 0 Packet Too Short Errors: 0 SQE Test: 0 Packet Too Long Errors: 0 Timeout Errors: 0 Packets Discarded by Adapter: 0 Single Collision Count: 0 Receiver Start Count: 0 Multiple Collision Count: 0 Current HW Transmit Queue Length: 0 General Statistics: ------------------- No mbuf Errors: 0 Adapter Reset Count: 0 Adapter Data Rate: 20000 Driver Flags: Up Broadcast Running Simplex 64BitSupport ChecksumOffload DataRateSet VIOENT |
Para detalhar mais ainda você pode utilizar o parâmetro “-d”:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 |
#entstat -d en0 ------------------------------------------------------------- ETHERNET STATISTICS (en0) : Device Type: Virtual I/O Ethernet Adapter (l-lan) Hardware Address: 82:0b:be:92:21:04 Elapsed Time: 27 days 0 hours 0 minutes 59 seconds Transmit Statistics: Receive Statistics: -------------------- ------------------- Packets: 467071 Packets: 508688 Bytes: 44476983 Bytes: 61597886 Interrupts: 0 Interrupts: 508194 Transmit Errors: 0 Receive Errors: 0 Packets Dropped: 0 Packets Dropped: 0 Bad Packets: 0 Max Packets on S/W Transmit Queue: 0 S/W Transmit Queue Overflow: 0 Current S/W+H/W Transmit Queue Length: 0 Broadcast Packets: 7 Broadcast Packets: 43816 Multicast Packets: 5188 Multicast Packets: 9134 No Carrier Sense: 0 CRC Errors: 0 DMA Underrun: 0 DMA Overrun: 0 Lost CTS Errors: 0 Alignment Errors: 0 Max Collision Errors: 0 No Resource Errors: 0 Late Collision Errors: 0 Receive Collision Errors: 0 Deferred: 0 Packet Too Short Errors: 0 SQE Test: 0 Packet Too Long Errors: 0 Timeout Errors: 0 Packets Discarded by Adapter: 0 Single Collision Count: 0 Receiver Start Count: 0 Multiple Collision Count: 0 Current HW Transmit Queue Length: 0 General Statistics: ------------------- No mbuf Errors: 0 Adapter Reset Count: 0 Adapter Data Rate: 20000 Driver Flags: Up Broadcast Running Simplex 64BitSupport ChecksumOffload DataRateSet VIOENT Virtual I/O Ethernet Adapter (l-lan) Specific Statistics: --------------------------------------------------------- RQ Length: 4545 Trunk Adapter: False Filter MCast Mode: False Filters: 255 Enabled: 2 Queued: 0 Overflow: 0 LAN State: Operational LPAR Active Memory Sharing: Disabled Hypervisor Send Failures: 0 Receiver Failures: 0 Send Errors: 0 Hypervisor Receive Failures: 0 Invalid VLAN ID Packets: 0 ILLAN Attributes: 0000000000003002 [0000000000002000] Port VLAN ID: 1 VLAN Tag IDs: None Switch ID: ETHERNET0 Hypervisor Information Virtual Memory Total (KB) 80 I/O Memory VRM Minimum (KB) 100 VRM Desired (KB) 100 DMA Max Min (KB) 128 Transmit Information Transmit Buffers Buffer Size 65536 Buffers 32 History No Buffers 0 Virtual Memory Total (KB) 2048 I/O Memory VRM Minimum (KB) 2176 VRM Desired (KB) 16384 DMA Max Min (KB) 16384 Receive Information Receive Buffers Buffer Type Tiny Small Medium Large Huge Min Buffers 512 512 128 24 24 Max Buffers 2048 2048 256 64 64 Allocated 512 512 128 24 24 Registered 512 512 128 24 24 History Max Allocated 512 512 128 24 24 Lowest Registered 511 510 128 24 24 Virtual Memory Minimum (KB) 256 1024 2048 768 1536 Maximum (KB) 1024 4096 4096 2048 4096 I/O Memory VRM Minimum (KB) 4096 4096 2560 864 1632 VRM Desired (KB) 16384 16384 5120 2304 4352 DMA Max Min (KB) 16384 16384 8192 4096 8192 Buffer Mode: Min I/O Memory Information Total VRM Minimum (KB) 15524 Total VRM Desired (KB) 61028 Total DMA Max Min (KB) 69760 |
[]’s 😉