[TAG] Counting total and maximum opened file descriptors or a program

Bastian Kleineidam wurst2 at kampfwurst.net
Sat Mar 12 03:20:39 MSK 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

On Thu, Mar 10, 2005 at 03:07:43PM -0700, mso at oz.net wrote:
> 'strace -e trace=open,close -o "|MyStatisticsProgram" COMMAND OPTIONS' may
> come close to what you want.  It supposedly reports file
> openings/closings, which you can then tally up.  Or maybe
> 'strace -c -e trace=open,close COMMAND OPTIONS'.  See "man strace".
I like this idea, thanks!

Regards,
  Bastian Kleineidam
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCMjXWeBwlBDLsbz4RAtdLAKDQDxm/4ONAMDTOhrxKyBK18Ch88wCeNMqu
fiIycfYszd+2vOyGYZHL8UI=
=9e4L
-----END PGP SIGNATURE-----




More information about the TAG mailing list