tlstunnel-lwt
tlstunnel-lwt copied to clipboard
setproctitle for status
A cute trick that djb tools is to setproctitle to reflect how busy a service is. This is strictly eyecandy, but might be nice to put in to show active connections.
is this what SIGINFO
(ctrl+t
on BSD) uses as well?
setproctitle
seems to be only available on BSD, not on linux/OSX... Is there something similar to py-setproctitle in OCaml?
probably worth seeing what djb's daemontools do on linux. the supervisor processes set the proc title. I suspect it's a mass of ioctl gunk :-/