mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-03 02:00:43 +00:00
Update approach to trigger signal dumps
pkill's flags vary in different systems, plus it will just be silent if it doesn't match any process
This commit is contained in:
@@ -220,14 +220,14 @@ Scope has a collection of built in debugging tools to aid Scope delevopers.
|
||||
|
||||
- To have the Scope App or Scope Probe dump their goroutine stacks, run:
|
||||
```
|
||||
pkill -SIGQUIT scope-(app|probe)
|
||||
kill -QUIT $(pgrep -f scope-(app|probe))
|
||||
docker logs weavescope
|
||||
```
|
||||
|
||||
- The Scope Probe is instrumented with various counters and timers. To have it dump
|
||||
those values, run:
|
||||
```
|
||||
pkill -SIGUSR1 scope-probe
|
||||
kill -USR1 $(pgrep -f scope-probe)
|
||||
docker logs weavescope
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user