Merge pull request #2192 from sergeyklay/patch-1

getting pid fixes
This commit is contained in:
Salvatore Sanfilippo 2014-12-09 12:09:08 +01:00
commit 4dab282145

View File

@ -3,7 +3,7 @@
#!/bin/bash
nsamples=1
sleeptime=0
pid=$(pidof redis-server)
pid=$(ps auxww | grep '[r]edis-server' | awk '{print $2}')
for x in $(seq 1 $nsamples)
do