[Patch] jobs -p

Ed Schouten ed at fxq.nl
Sat Jul 8 20:33:57 UTC 2006


Hello,

* Ed Schouten <ed at fxq.nl> wrote:
> I wrote a small patch[2] that adds the -p flag to the jobs utility, by
> limiting the output to one process and running getpgid() on the pid.
> 
> According to various sources, getpgid() returns the process group ID,
> which is also the process group leader. Can anyone confirm this?

After reading some more documentation and kernel source code, I found
the answer to the question. I did some small cleanup fixes and added a
small patch for the manual page as well.

I also filed a problem report; standards/99926:

	http://www.freebsd.org/cgi/query-pr.cgi?pr=99926

Yours,
-- 
 Ed Schouten <ed at fxq.nl>
 WWW: http://g-rave.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-standards/attachments/20060708/efa297d9/attachment.pgp


More information about the freebsd-standards mailing list