AIX に LSOF をインストールする方法

AIX に LSOF をインストールする方法

AIX に LSOF をインストールしたいです。

私はプログラムをここからダウンロードしましたhttps://www14.software.ibm.com/webapp/iwm/web/reg/pick.do?source=aixbp&lang=en_US

tar ファイルを解凍した後、readme またはインストール ガイド ファイルが表示されません。

Unix オペレーティング システムを使用するのは初めてですが、問題の解決を手伝っていただけますか?

答え1

私はこれを実現することができました。私がしたことは次のとおりです。

[:/home/jfarnswo/installer/lsof_aix61_4.77] $ installp -l -d .
  Fileset Name                Level                     I/U Q Content
  ====================================================================
  lsof.base                   6.1.0.4700                 I  N usr,root
#   List Of Open Files

  lsof.license                6.1.0.4700                 I  N usr
#   List Of Open Files

  lsof.man.en_US              6.1.0.4700                 I  N usr
#   List Of Open Files Documentation - U.S. English

[:/home/jfarnswo/installer/lsof_aix61_4.77] $ installp -a -c -d . lsof
+-----------------------------------------------------------------------------+
                    Pre-installation Verification...
+-----------------------------------------------------------------------------+
Verifying selections...done
Verifying requisites...done
Results...

SUCCESSES
---------
  Filesets listed in this section passed pre-installation verification
  and will be installed.

  Selected Filesets
  -----------------
  lsof.base 6.1.0.4700                        # List Of Open Files
  lsof.license 6.1.0.4700                     # List Of Open Files
  lsof.man.en_US 6.1.0.4700                   # List Of Open Files Documenta...

  << End of Success Section >>

+-----------------------------------------------------------------------------+
                   BUILDDATE Verification ...
+-----------------------------------------------------------------------------+
Verifying build dates...done
FILESET STATISTICS
------------------
    3  Selected to be installed, of which:
        3  Passed pre-installation verification
  ----
    3  Total to be installed

+-----------------------------------------------------------------------------+
                         Installing Software...
+-----------------------------------------------------------------------------+

installp:  APPLYING software for:
        lsof.man.en_US 6.1.0.4700


. . . . . << Copyright notice for lsof.man.en_US >> . . . . . . .
 Licensed Materials - Property of IBM

 5765G0382
   Copyright International Business Machines Corp. 2007, 2009.

 All rights reserved.
 US Government Users Restricted Rights - Use, duplication or disclosure
 restricted by GSA ADP Schedule Contract with IBM Corp.
. . . . . << End of copyright notice for lsof.man.en_US >>. . . .

Filesets processed:  1 of 3  (Total time:  6 secs).

installp:  APPLYING software for:
        lsof.license 6.1.0.4700


. . . . . << Copyright notice for lsof.license >> . . . . . . .
 Licensed Materials - Property of IBM

 5765G0382
   Copyright International Business Machines Corp. 2008, 2009.

 All rights reserved.
 US Government Users Restricted Rights - Use, duplication or disclosure
 restricted by GSA ADP Schedule Contract with IBM Corp.
. . . . . << End of copyright notice for lsof.license >>. . . .

Filesets processed:  2 of 3  (Total time:  7 secs).

installp:  APPLYING software for:
        lsof.base 6.1.0.4700


. . . . . << Copyright notice for lsof.base >> . . . . . . .
 Licensed Materials - Property of IBM

 5765G0382
   Copyright International Business Machines Corp. 2007, 2009.
   Copyright Free Software Foundation, Inc., 1985, 1989-1993, 1995-1998, 2000.
   Copyright Purdue Research Foundation, West Lafayette, Indiana, 1994

 All rights reserved.
 US Government Users Restricted Rights - Use, duplication or disclosure
 restricted by GSA ADP Schedule Contract with IBM Corp.
. . . . . << End of copyright notice for lsof.base >>. . . .

Successfully updated the Kernel Authorization Table.
Successfully updated the Kernel Role Table.
Successfully updated the Kernel Command Table.
Successfully updated the Kernel Device Table.
Finished processing all filesets.  (Total time:  8 secs).

+-----------------------------------------------------------------------------+
                                Summaries:
+-----------------------------------------------------------------------------+

Installation Summary
--------------------
Name                        Level           Part        Event       Result
-------------------------------------------------------------------------------
lsof.man.en_US              6.1.0.4700      USR         APPLY       SUCCESS
lsof.license                6.1.0.4700      USR         APPLY       SUCCESS
lsof.base                   6.1.0.4700      USR         APPLY       SUCCESS
lsof.base                   6.1.0.4700      ROOT        APPLY       SUCCESS

答え2

いつでも、解凍されたディレクトリ内に入って を実行できますsmitty installp。インストール ソースの入力を求められた場合は、.と入力して画面をナビゲートします。

通常、「ライセンス契約に同意する」を「はい」に設定することに注意してください。

答え3

どのようなファイルが表示されますか?

例えば

Change_log.txt
lsof.base
lsof.license
lsof.man.en_US

その場合は installp を実行する必要があると思います。

次のようなことを試してみてください

installp -l -d .
installp -a -c -d .

(解凍された lsof ディレクトリにいると仮定します。そうでない場合は、ピリオド/ドット記号を解凍先のディレクトリの名前に変更します)

AIX を使用するのは久しぶりなので、私の言っていることが正しいかどうか確認してください。ドキュメントは、「man installp」を実行するか、このリンクにアクセスすることで入手できます。http://www.regatta.cmc.msu.ru/doc/usr/share/man/info/ru_RU/a_doc_lib/cmds/aixcmds3/installp.htm

関連情報