1753789 Members
7561 Online
108799 Solutions
New Discussion юеВ

Re: Customise Lsof depot

 
lavanya.rhce
New Member

Customise Lsof depot

can anyone help me out ot cuztomise the Lsof depot for HP-UX 11.31
3 REPLIES 3
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