Compare commits
2 commits
38cde27f74
...
2a355b1cce
Author | SHA1 | Date | |
---|---|---|---|
2a355b1cce | |||
df49995c6b |
1 changed files with 8 additions and 1 deletions
|
@ -75,7 +75,14 @@ __chk_msk_nr()
|
|||
local condition=$1
|
||||
shift 1
|
||||
|
||||
__chk_nr "ss -inmHMN $ns | $condition" "$@"
|
||||
# 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 --info --numeric --memory --no-header --mptcp --net=$ns | $condition" "$@"
|
||||
}
|
||||
|
||||
chk_msk_nr()
|
||||
|
|
Loading…
Reference in a new issue