nuttx/tools/gdb
Zhe Weng 5ec2c97424 tools/gdb: Supports args and help for netstats
(gdb) help netstats
Network statistics
    Usage: netstats [iob|pkt|tcp|udp|all]

    Examples: netstats - Show all stats
              netstats all - Show all stats
              netstats iob - Show IOB stats
              netstats tcp udp - Show both TCP and UDP stats

(gdb) netstats iob pkt
IOB:       size    ntotal     nfree     nwait nthrottle
           1518        72        72         0        40

Packets:   IPv4   IPv6    TCP    UDP   ICMP ICMPv6
Received     12     20      2     10      0      0
Dropped       0     20      0      0      0      0
  VHL         0      0      -      -      -      -
  Frag        0      0      -      -      -      -
  Chksum      0      -      0      0      -      -
  Type        -      -      -      -      0      0
  Proto       0      0      -      -      -      -
Sent          4      0      4      0      0      0
  Rexmit      -      -      2      -      -      -

Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
2024-11-22 13:38:23 +08:00
..
__init__.py tools/gdb: use f string where possible 2024-11-20 09:04:22 +08:00
fs.py tools/gdb: add info shm command 2024-11-22 12:30:12 +08:00
gcore.py format code to pass CI 2024-11-20 09:04:22 +08:00
lists.py gdb tools: print inode info 2024-11-22 12:30:12 +08:00
macros.py tools/gdb: fix type and comments 2024-11-21 23:08:55 +08:00
memdump.py tools/gdb: avoid building a full list 2024-11-22 12:30:12 +08:00
net.py tools/gdb: Supports args and help for netstats 2024-11-22 13:38:23 +08:00
requirements.txt memleak:use global symbol to search all global variables 2024-11-21 23:08:55 +08:00
stack.py tools/gdb: fix type and comments 2024-11-21 23:08:55 +08:00
thread.py tools/gdb: avoid building a full list 2024-11-22 12:30:12 +08:00
utils.py tools/gdb: Add UDP in netstats 2024-11-22 13:38:23 +08:00