Add comment explaining chk_nr

This commit is contained in:
Steffo 2024-10-12 04:26:28 +02:00
parent 38cde27f74
commit df49995c6b
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0

View file

@ -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" "$@"
}