From be9fa4a84766d5aa51f18bf303dbc38d75a4d545 Mon Sep 17 00:00:00 2001 From: Moelf Date: Mon, 4 Nov 2024 12:21:36 -0500 Subject: [PATCH 1/3] show an example of sending SIGUSR1 on Linux --- blog/2022/08/julia-1.8-highlights.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/blog/2022/08/julia-1.8-highlights.md b/blog/2022/08/julia-1.8-highlights.md index f63731e9b7..6f47f041d8 100644 --- a/blog/2022/08/julia-1.8-highlights.md +++ b/blog/2022/08/julia-1.8-highlights.md @@ -200,7 +200,12 @@ First, an immediate stacktrace will print, followed by the report after the prof Here, the signal is sent shortly after executing the `sleep`. (stacktraces have been cut short for brevity) ```julia +julia> getpid() +123456 + julia> sleep(5) +# hit ctrl-t on MacOS or FreeBSD +# if on Linux, run `kill -s SIGUSR1 123456` in another terminal load: 2.82 cmd: julia 32246 waiting 37.66u 8.33s ====================================================================================== From 61d651aaea0ebe459916d80144b4857b19b9c73d Mon Sep 17 00:00:00 2001 From: Jerry Ling Date: Mon, 4 Nov 2024 13:14:05 -0500 Subject: [PATCH 2/3] Update blog/2022/08/julia-1.8-highlights.md Co-authored-by: Ian Butterworth --- blog/2022/08/julia-1.8-highlights.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blog/2022/08/julia-1.8-highlights.md b/blog/2022/08/julia-1.8-highlights.md index 6f47f041d8..5663374232 100644 --- a/blog/2022/08/julia-1.8-highlights.md +++ b/blog/2022/08/julia-1.8-highlights.md @@ -205,7 +205,7 @@ julia> getpid() julia> sleep(5) # hit ctrl-t on MacOS or FreeBSD -# if on Linux, run `kill -s SIGUSR1 123456` in another terminal +# or run `kill -s SIGUSR1 123456` in another terminal load: 2.82 cmd: julia 32246 waiting 37.66u 8.33s ====================================================================================== From 4aa368169cdbc3533b831bddb4b2b4d2ff2715d5 Mon Sep 17 00:00:00 2001 From: Jerry Ling Date: Mon, 4 Nov 2024 14:09:16 -0500 Subject: [PATCH 3/3] Update blog/2022/08/julia-1.8-highlights.md Co-authored-by: Ian Butterworth --- blog/2022/08/julia-1.8-highlights.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blog/2022/08/julia-1.8-highlights.md b/blog/2022/08/julia-1.8-highlights.md index 5663374232..dfe036dea6 100644 --- a/blog/2022/08/julia-1.8-highlights.md +++ b/blog/2022/08/julia-1.8-highlights.md @@ -205,7 +205,7 @@ julia> getpid() julia> sleep(5) # hit ctrl-t on MacOS or FreeBSD -# or run `kill -s SIGUSR1 123456` in another terminal +# or run `kill -s SIGUSR1 123456` for Linux, `kill -s SIGINFO 123456` for macOS/BSD in another terminal load: 2.82 cmd: julia 32246 waiting 37.66u 8.33s ======================================================================================