View Single Post
  #2   (View Single Post)  
Old 31st August 2011
rocket357's Avatar
rocket357 rocket357 is offline
Real Name: Jonathon
Wannabe OpenBSD porter
Join Date: Jun 2010
Posts: 429

Why not use lsof?

Are you trying to go as "stock" as possible? Just curious.

The "NAME" field is only present if you *specify a file argument* (i.e. fstat /path/to/some/file) and no -f option. Specifying -f makes "NAME" go away.
Linux/Network-Security Engineer by Profession. OpenBSD user by choice.

Last edited by rocket357; 31st August 2011 at 03:26 AM.
Reply With Quote