Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jun 2015 12:35:51 -0400
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        Craig Rodrigues <rodrigc@FreeBSD.org>
Cc:        George Neville-Neil <gnn@neville-neil.com>,  "freebsd-testing@freebsd.org" <freebsd-testing@freebsd.org>, "freebsd-java@freebsd.org" <freebsd-java@freebsd.org>
Subject:   Re: Requests for Help: add FreeBSD procstat support to akuma library for Jenkins
Message-ID:  <559173E7.30603@FreeBSD.org>
In-Reply-To: <CAG=rPVfYAnd2Adv0k_n5w=uPi6EqFmzJXhjbyAfLgy5cUE3TPg@mail.gmail.com>
References:  <CAG=rPVc=L9pOuXD5KSLtbPA=X=wOhBbFbHgQy%2BZVjCLU6Z6wVQ@mail.gmail.com>	<8CA148D7-81AF-41F8-AA41-9D7700B27242@neville-neil.com>	<558C62B6.6030004@FreeBSD.org> <CAG=rPVfYAnd2Adv0k_n5w=uPi6EqFmzJXhjbyAfLgy5cUE3TPg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 06/28/2015 17:15, Craig Rodrigues wrote:
> On Thu, Jun 25, 2015 at 4:21 PM, Jung-uk Kim <jkim@freebsd.org> 
> wrote:
> 
> You can try the attached trivial patch.  Note it requires 
> procfs(5).
> 
> 
> Thanks for submitting that patch. I thought about something like 
> that before.
> 
> I am hesitant about pushing this patch upstream, because it would 
> make akuma + Jenkins dependent on procfs. This dependency would be 
> new, since FreeBSD procfs is not mandatory and only available as
> an option.
> 
> Since procstat has been available in the base system since FreeBSD 
> 7.1, I recommended using that in the akuma library, even though it 
> is a little bit more work to implement.

Although I agree that using procfs is not ideal, we already use procfs
for Java implementations.

https://svnweb.freebsd.org/ports/head/java/openjdk6/pkg-message?revision=340719&view=co
https://svnweb.freebsd.org/ports/head/java/openjdk7/pkg-message?revision=357236&view=co
https://svnweb.freebsd.org/ports/head/java/openjdk8/pkg-message?revision=349468&view=co

I don't see any reason to prefer procstat.

Jung-uk Kim
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJVkXPnAAoJEHyflib82/FG/7YH/jkfoWyOQ3e/8kGcP0GhUK3q
EBBHzvvgOy/KiCnVsRdDNsTKo6RoI2jh9z+zPsf/AoPCi9mFalLWhQM5TSIVzBbM
8nmOKtIj58fCkquBVRsWC2cDDlCB+A04O0/rukLYDDxLIL5dDxTdD0ZgWJ5/JsT7
zZQ6qoLtGwF7FvmHQ8u8LQ70HZHjBbZ9I7QgmbwqtkSF1pXBf/mKyucKBoKmxPlc
/V2IdNKbpxGVclFwfg2SYR73Cbo6au7GEIKDJ4ud0lpo7hmQlefA87qg3P+n8/yI
ZUUGSoNzNrB4rxdjT8DY9fSEqYu+JYdt67dsbZd5laKQn9ZiKpd/L/uZvrJCxXo=
=RMCF
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?559173E7.30603>