lsof Friday, September 7, 2007
Posted by piyut in HP-UX.add a comment
Get the source of lsof fromĀ http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.78/
To install, run command swinstall -s $PWD/lsof-4.78-hppa-11.11.depot \*, the insallation file will be put at /usr/local
To display just the lsof output lines with file locks run the following:
/opt/lsof/bin/lsof | awk ‘match(”NrRwWuUx”,substr($0,31,1))’