Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
2ed3f09c
"vscode:/vscode.git/clone" did not exist on "3039e806d84518773b157fe26068b5527db78981"
Commit
2ed3f09c
authored
Dec 05, 2014
by
Serghei Iakovlev
Committed by
antirez
Dec 09, 2014
Browse files
Update whatisdoing.sh
Improved getting pid
parent
77b997d4
Changes
1
Show whitespace changes
Inline
Side-by-side
utils/whatisdoing.sh
View file @
2ed3f09c
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
#!/bin/bash
#!/bin/bash
nsamples
=
1
nsamples
=
1
sleeptime
=
0
sleeptime
=
0
pid
=
$(
ps auxww |
grep
'
r
edis-server'
|
grep
-v
grep
|
awk
'{print $2}'
)
pid
=
$(
ps auxww |
grep
'
[r]
edis-server'
|
awk
'{print $2}'
)
for
x
in
$(
seq
1
$nsamples
)
for
x
in
$(
seq
1
$nsamples
)
do
do
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment