Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setproctitle for status #4

Open
avsm opened this issue Apr 15, 2015 · 3 comments
Open

setproctitle for status #4

avsm opened this issue Apr 15, 2015 · 3 comments

Comments

@avsm
Copy link
Contributor

avsm commented Apr 15, 2015

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.

@hannesm
Copy link
Owner

hannesm commented Apr 15, 2015

is this what SIGINFO (ctrl+t on BSD) uses as well?

@hannesm
Copy link
Owner

hannesm commented Apr 22, 2015

setproctitle seems to be only available on BSD, not on linux/OSX... Is there something similar to py-setproctitle in OCaml?

@avsm
Copy link
Contributor Author

avsm commented Apr 22, 2015

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 :-/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants