Prevent the line `load:... cmd:... running ...` upon SIGINFO
2
votes
0
answers
142
views
Issuing SIGINFO (e.g. by pressing ^T) while a terminal process is running usually results in a printout of a line
load: 2.93 cmd: sleep 7826 waiting 0.00u 0.00s
If I have written the tool that's running, I can make it catch the signal SIGINFO and react to it (e.g., by printout of certain information, like dd
or ping
are known to do). However, the above line is printed nevertheless. I wonder who is responsible for its being printed, and if it is possible to suppress it.
FYI: I'm using zsh inside iTerm2 on MacOS.
Asked by Bubaya
(141 rep)
Jan 13, 2022, 03:42 PM
Last activity: Jan 13, 2022, 05:11 PM
Last activity: Jan 13, 2022, 05:11 PM