Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use setproctitle if avaiable to show state
setproctitle() changes the process name, particularly in top/ps output on posix-y systems. This is very useful to get some transparency on what's going on, especially if a test starts taking a very long time or straight up hangs. This is strictly a "bonus goodie", if setproctitle is not available, it's not used, and any errors are ignored silently. Signed-off-by: David Lamparter <equinox@diac24.net>
- Loading branch information
Showing
2 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Use setproctitle() to indicate current worker state if correspondent package | ||
is available. Absent package (or any errors) just continues unchanged. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters