Skip to content

Commit

Permalink
show an example of sending SIGUSR1 on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Moelf committed Nov 4, 2024
1 parent 0d9c3ef commit 07eda57
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions blog/2022/08/julia-1.8-highlights.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
# or `kill -s SIGUSR1 123456` on Linux
load: 2.82 cmd: julia 32246 waiting 37.66u 8.33s

======================================================================================
Expand Down

0 comments on commit 07eda57

Please sign in to comment.