HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
Showing results for 
Search instead for 
Did you mean: 

Customise Lsof depot

Occasional Visitor

Customise Lsof depot

can anyone help me out ot cuztomise the Lsof depot for HP-UX 11.31

Re: Customise Lsof depot

Customize how?
What do you want other than the color black?
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.

Suraj K Sankari
Honored Contributor

Re: Customise Lsof depot


Download LSOF from this below link.