From 7a8bfd87255593349621b61d3ab0040ff261802a Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Wed, 9 Jun 2021 21:39:18 -0700 Subject: [PATCH] doc(lotus-sim): document signals --- cmd/lotus-sim/run.go | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/cmd/lotus-sim/run.go b/cmd/lotus-sim/run.go index 0be70ff49..58eeb1a5e 100644 --- a/cmd/lotus-sim/run.go +++ b/cmd/lotus-sim/run.go @@ -10,8 +10,12 @@ import ( ) var runSimCommand = &cli.Command{ - Name: "run", - Description: "Run the simulation.", + Name: "run", + Description: `Run the simulation. + +Signals: +- SIGUSR1: Print information about the current simulation (equivalent to 'lotus-sim info'). +- SIGUSR2: Write a pprof profile to pprof-simulation-$DATE.tar`, Flags: []cli.Flag{ &cli.IntFlag{ Name: "epochs",