cancel
Showing results for 
Search instead for 
Did you mean: 

Customise Lsof depot

lavanya.rhce
Occasional Visitor

Customise Lsof depot

can anyone help me out ot cuztomise the Lsof depot for HP-UX 11.31
3 REPLIES
Dennis Handly
Acclaimed Contributor

Re: Customise Lsof depot

Customize how?
What do you want other than the color black?
Matti_Kurkela
Honored Contributor

Re: Customise Lsof depot

A generic question gets a generic answer.

Get the source package for lsof, choose the compile-time options you want, then compile it.

Write a .psf file to describe which version(s) of HP-UX you compiled the lsof command for, and in which directory you wish it installed.

Use the "swpackage" command with the .psf file to package the compiled binaries into a depot file for swinstall.

See "man swpackage" to see instructions for using the swpackage command. It will tell you to refer to other man pages for more information: "man 4 swpackage" describes .psf file format, and "man 5 sd" has general information on SD/UX tools and concepts.

MK
MK
Suraj K Sankari
Honored Contributor

Re: Customise Lsof depot

Hi,

Download LSOF from this below link.

http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.82/

Suraj