We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f7783fa commit 3f2e002Copy full SHA for 3f2e002
utils/killall.sh
@@ -1,6 +1,6 @@
1
#!/usr/bin/env bash
2
3
-pids=`mktemp killredis`
+pids=`mktemp killredis.XXXXX`
4
5
#ps ax|grep redis-server|tr -s " "|cut -d " " -f 1 > $pids
6
ps ax|grep redis-server|awk '{print "kill -9 ", $1}' > $pids
0 commit comments