flux.proctitle module

flux.proctitle.set_proctitle(name)

Set the process name shown in top, ps, and /proc/self/comm.

Uses prctl(PR_SET_NAME) on Linux, matching the mechanism used by the Flux broker itself. The kernel silently truncates the name to 15 characters. On non-Linux platforms this is a no-op.