Forum: Cfengine Help
Subject: Re: Parent process selection
Author: mark
Link to topic: https://cfengine.com/forum/read.php?3,19311,19329#msg-19329

This issue has not cropped up for a long time. The ps command has been 
relatively stable for a long time, but it is very non-portable. Reading /proc 
is useless unfortunately as it is only really an option for Linux (although 
svr5/solaris supports some things), the same with reading from the kernel 
itself - that is why ps is used to get the results. I'm not keen on libproc, as 
it just introduces a dependence on something unknown for little value, and as 
Eystein mentions, portability is a non-trivial issue.

If you haven't registered the issue in the bug tracker, please do so, and by 
all means suggest different ps options.

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to