diff options
author | Denis Vlasenko | 2008-07-27 12:10:07 +0000 |
---|---|---|
committer | Denis Vlasenko | 2008-07-27 12:10:07 +0000 |
commit | 6e69e4237d8f43232afd0dc207275f27c08039ed (patch) | |
tree | d2c3e28157fface75749fa6af53a23c4d85ba4c8 /networking/Config.in | |
parent | 94d03f0da0809784b398585cd0d7669b77a475c9 (diff) | |
download | busybox-6e69e4237d8f43232afd0dc207275f27c08039ed.zip busybox-6e69e4237d8f43232afd0dc207275f27c08039ed.tar.gz |
netstat: optional -p support by L. Gabriel Somlo <somlo AT cmu.edu>
Without FEATURE_NETSTAT_PRG:
function old new delta
recursive_action 416 425 +9
tcp_do_one 420 428 +8
udp_do_one 492 499 +7
raw_do_one 472 479 +7
expand 1697 1701 +4
netstat_main 489 492 +3
unix_do_one 486 488 +2
flags 1 - -1
qgravechar 109 106 -3
net_conn_line 4 - -4
bbunpack 391 383 -8
------------------------------------------------------------------------------
(add/remove: 0/2 grow/shrink: 7/2 up/down: 40/-16) Total: 24 bytes
With FEATURE_NETSTAT_PRG:
file_act - 213 +213
dir_act - 192 +192
netstat_main 489 601 +112
prg_cache_get - 50 +50
tcp_do_one 420 462 +42
udp_do_one 492 533 +41
raw_do_one 472 513 +41
unix_do_one 486 519 +33
recursive_action 416 425 +9
expand 1697 1701 +4
flags 1 - -1
qgravechar 109 106 -3
net_conn_line 4 - -4
bbunpack 391 383 -8
packed_usage 24586 24572 -14
------------------------------------------------------------------------------
(add/remove: 3/2 grow/shrink: 7/3 up/down: 737/-30) Total: 707 bytes
Diffstat (limited to 'networking/Config.in')
-rw-r--r-- | networking/Config.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/networking/Config.in b/networking/Config.in index 5f38062..91f1729 100644 --- a/networking/Config.in +++ b/networking/Config.in @@ -633,6 +633,14 @@ config FEATURE_NETSTAT_WIDE Add support for wide columns. Useful when displaying IPv6 addresses (-W option). +config FEATURE_NETSTAT_PRG + bool "Enable PID/Program name output" + default n + depends on NETSTAT + help + Add support for -p flag to print out PID and program name. + +700 bytes of code. + config NSLOOKUP bool "nslookup" default n |