Commit 4dab2821 authored by Salvatore Sanfilippo's avatar Salvatore Sanfilippo
Browse files

Merge pull request #2192 from sergeyklay/patch-1

getting pid fixes
parents 4b03be6d 8c0f8684
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
#!/bin/bash #!/bin/bash
nsamples=1 nsamples=1
sleeptime=0 sleeptime=0
pid=$(pidof redis-server) pid=$(ps auxww | grep '[r]edis-server' | awk '{print $2}')
for x in $(seq 1 $nsamples) for x in $(seq 1 $nsamples)
do do
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment