Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Jun 2006 21:09:15 +0200
From:      Ulrich Spoerlein <uspoerlein@gmail.com>
To:        freebsd-stable@freebsd.org
Subject:   Re: How can I know which files a proccess is accessing?
Message-ID:  <20060609190915.GC1037@roadrunner.q.local>
In-Reply-To: <20060607195726.GD25975@riverside.org>
References:  <d3ea75b30606061339u55efbecemab0d3d0eb9adb636@mail.gmail.com> <4486574F.9040108@bitfreak.org> <57d710000606070820j6291f74el6b6880e681899904@mail.gmail.com> <20060607195726.GD25975@riverside.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--GZVR6ND4mMseVXL/
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Michael Hall wrote:
> Yes, it does look handy, another new usage for 'find'.
>=20
> Typically a 'grep ... | awk ...' can be combined, resulting in a small
> improvement:
>=20
> fstat | awk '/httpd.*\/var/ { print $6 }' | xargs ...

Won't buy you anything though: processing is I/O bounded.

Ulrich Spoerlein
--=20
 PGP Key ID: 20FEE9DD				Encrypted mail welcome!
Fingerprint: AEC9 AF5E 01AC 4EE1 8F70  6CBD E76E 2227 20FE E9DD
Which is worse: ignorance or apathy?
Don't know. Don't care.

--GZVR6ND4mMseVXL/
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (FreeBSD)

iD8DBQFEicdb524iJyD+6d0RAlbiAKChfmUZmaKIUQYeTZoUG4F7yWlY/ACfZ569
ukxpSKeSW7Za1qcLXOreb2A=
=iNb+
-----END PGP SIGNATURE-----

--GZVR6ND4mMseVXL/--



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