HP-UX HB v13.00 Ch-11 - Software Development

HP-UX Handbook Rev 13.00 Page 63 (of 101)
Chapter 11 Software Development
October 29, 2013
adb(1) is part of the OS-Core commands.
lsof
lsof is a tool that displays information about open file descriptors on a system, including pipes
and networking connections, plus the loaded shared libraries. It queries the kernel for that
information. To find out the files opened by a certain process you can either filter the output, e.g.
using grep(1), or use the -p option. To see all processes that have file <file> open, run lsof
<file>.
lsof can be downloaded from the the KTOOLS website [8] or the HP-Ux Archiving and Porting
center [10].