From 3b95fc3a9dc3b89c913b25c3aae6429aba228d3a Mon Sep 17 00:00:00 2001 From: Marc Sauter Date: Wed, 24 Jun 2020 13:02:12 +0200 Subject: [PATCH] :books: --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d972960..edcd8f5 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ profiler.New().Start() // ... or with custom values profiler.New( - profiler.WithSignal(syscall.SIGUSR2), + profiler.WithSignal(syscall.SIGUSR1), profiler.WithAddress(":8080"), profiler.WithTimeout(15 * time.Minute), ) @@ -44,7 +44,7 @@ Defaults: ### Start the pprof endpoint ```bash -pkill -USR1 +pkill -HUP ``` After *timeout* the endpoint will shutdown. @@ -62,7 +62,7 @@ NAME READY STATUS RESTARTS AGE ... $ k exec -ti sh -/ # pkill -USR1 +/ # pkill -HUP / # ``` After *timeout* the endpoint will shutdown.