[lxc-users] library start() API from process name having spaces
Christian Brauner
christian at brauner.io
Tue Jul 10 09:05:03 UTC 2018
On Thu, Jul 05, 2018 at 01:06:29PM -0400, Chaetoo3 wrote:
> > You mean it wouldn't change from "my binary --with --args" to "[lxc monitor]?
>
> Yes, exactly like that.
>
> It seems to me that proc stat file is for machine parsing, but is not
> so convenient for machine parsing. I do not know if there is an
> official technique. There are some ways, but they all seem kludgy.
> Maybe it would be "good enough" to look for a pattern like:
>
> "[)] [RSDZTtWXxKWP] [0-9]"
>
> Kludge too, but the chance of process name false matching is remote,
> and anyway it isn't fatal when it happens, it just names the process
> wrongly.
Can you file an issue on Github with the details and your suggestions to
track this, please?
Christian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20180710/7e5872a2/attachment.sig>
More information about the lxc-users
mailing list