3 ms·
SIGINFO is very useful. I make it a point to implement support for it whenever it makes sense. Wish Linux would get it.
by sjmulder 8y ago
SIGINFO is very useful. I make it a point to implement support for it whenever it makes sense. Wish Linux would get it.
- moviuro 8y agoSome GNU utils use USR1 instead. It's not ideal, but it gets the job done. I'd also like to map ^T to `kill -USR1 <pid>` on my machines, but didn't research it much. > Sending an ‘INFO’ signal (or ‘USR1’ signal where that is unavailable) to a running dd process makes it print I/O statistics to standard error and then resume copying. [0] [0] https://www.gnu.org/software/coreutils/manual/html_node/dd-invocation.html#dd-invocation https://www.gnu.org/software/coreutils/manual/html_node/dd-i...