Hp-unix lsof Source File installation method

Source: Internet
Author: User
Tags tru64

zhwg1a:/usr/local/lsof/lsof-4.88 # Uname-a
HP-UX Zhda b.11.23 U ia64 4206295294 unlimited-user license

Download the source file:

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

Unzip my directory is:/usr/local/lsof/

CD:/usr/local/lsof/lsof-4.88

To view the installation language:

zhda:/usr/local/lsof/lsof-4.88 #./configure
No Target dialect was specified.
Usage:configure <options> <target-dialect>
<options>:-clean:clean up previous configuration
-d|-dialects:display a list of supported dialect versions
-h|-help:display Help Information
-n:avoid AFS, customization, and inventory checks
<target-dialect> (****use-d to GET tested dialect VERSION numbers****):
AIX|AIXGCC:IBM Aix xlc (AIX) or GCC (AIXGCC)
Darwin:apple Darwin
Decosf:dec OSF/1
Digital_unix|du:digital Unix
Freebsd:freebsd
Hpux|hpuxgcc:hp-ux cc (HPUX) or gcc (HPUXGCC)
Linux:linux
Netbsd:netbsd
Nextstep|next|ns|nxt:nextstep
Openbsd:openbsd
Openstep|os:openstep
Osr|sco:sco OpenServer < 6.0.0, SCO Devloper ' s compiler
Osrgcc|scogcc:sco OpenServer < 6.0.0, gcc compiler
Osr6:sco openserver 6.0.0, SCO compiler
Solaris|solariscc:solaris gcc (Solaris) or CC (SOLARISCC)
Tru64:tru64 UNIX
unixware|uw:sco| Caldera UnixWare

Select Hpux Here

Configuration:

./configure Hpux

Prompt to run Gmake

Run Gmake to build the executable file lsof, copy it to the environment variable in some directory after the installation is complete.

CP Lsof/usr/local/bin

zhda:/#执行which lsof

/usr/local/bin//lsof

Hp-unix lsof Source File installation method

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.