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.
Hours:
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
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

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