[lxc-devel] Please consider to use setproctitle with container name is lxc-autostart
Gianluigi Tiesi
sherpya at netfarm.it
Thu Feb 27 02:41:16 UTC 2014
I was using lxc-start -n container -d and will showing processes on the
host I was able to easy understand the container e.g. using htop with
tree option.
with lxc-autostart there is no easy way to understand the container name,
it would be nice to add something like:
lxc-autostart (containername) in proctitle
a simple linux-only implementation can be found here:
https://github.com/karelzak/util-linux/blob/master/lib/setproctitle.c
Regards
--
Gianluigi Tiesi <sherpya at netfarm.it>
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/
Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?
More information about the lxc-devel
mailing list