Add comment explaining chk_nr
This commit is contained in:
parent
38cde27f74
commit
df49995c6b
1 changed files with 7 additions and 0 deletions
|
@ -75,6 +75,13 @@ __chk_msk_nr()
|
|||
local condition=$1
|
||||
shift 1
|
||||
|
||||
# ss: dumps socket statistics
|
||||
# -i/--info: show internal TCP information
|
||||
# -n/--numeric: prefer machine output to human output
|
||||
# -m/--memory: show socket memory usage
|
||||
# -H/--no-header: don't print header
|
||||
# -M/--mptcp: display mptcp sockets
|
||||
# -N/--net: use specified network namespace name
|
||||
__chk_nr "ss -inmHMN $ns | $condition" "$@"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue