Skip to content

Commit 5537465

Browse files
committed
Prefer ss over netstat
For now let's keep netstat. Signed-off-by: Asad Sajjad Ahmed <[email protected]>
1 parent 2ca0d12 commit 5537465

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

varnishgather

+2-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ TOPDIR=$(mktemp -d ${TMPDIR:-/tmp}/varnishgather.XXXXXXXX)
3838
ID="$(cat /etc/hostname)-$(date +'%Y%m%d-%H%M%S')"
3939
RELDIR="varnishgather-$ID"
4040
ORIGPWD=$PWD
41-
VERSION=1.91
41+
VERSION=1.92
4242
USERID=$(id -u)
4343
PID_ALL_VARNISHD=$(pidof varnishd 2> /dev/null)
4444
PID_ALL_VARNISHD_COMMA=$(pidof varnishd 2> /dev/null | sed 's/ /,/g')
@@ -452,6 +452,7 @@ mycat /proc/version
452452
runpipe "ps aux" "egrep (varnish|vha-agent|vac|vstatd|vcs|apache|mysql|nginx|httpd|stud|hitch|stunnel|api-engine|broadcaster|mongod|varnish-controller)"
453453
runpipe "netstat -np" "wc -l"
454454
runpipe "netstat -np" "grep ESTABLISHED" "wc -l"
455+
run ss -s
455456
run uptime
456457
run free -m
457458
run vmstat -w 1 3

0 commit comments

Comments
 (0)