To list all open files, use:
To list all open Internet, x.25 (HP-UX), and UNIX domain files, use:
To list all open IPv4 network files in use by the process whose PID is 1234, use:
Presuming the UNIX dialect supports IPv6, to list only open IPv6 network files, use:
To list all files using any protocol on ports 513, 514, or 515 of host wonderland.cc.pur-due.edu, use:
To list all open files for login name “abe”, or user ID 1234, or process 456, or pro-cess 123, or process 789, use:
To list all open files on device /dev/hd4, use:
To find the process that has /u/abe/foo open, use:
To send a SIGHUP to the processes that have /u/abe/bar open, use:
To find any open file, including an open UNIX domain socket file, with the name /dev/log,use:
Leave a Reply
You must be logged in to post a comment.