0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

AIX :キーワードからコマンドを類推するコマンド(apropos)

Last updated at Posted at 2021-02-24
はじめに

AIX で「こういう機能のコマンドはないかな」と調べるときにapropos コマンドを使ってキーワードで調べることができます。

キーワードによるコマンドの検索(aproposコマンド)


確認

limit という単語で検索してみます。

実行環境は、AIX 7.2 TL4 です。

# oslevel -s
7200-04-00-0000
# apropos limit
apropos: file /usr/dt/man/whatis not found
        Create the whatis database using the catman -w command.

catman -w を実行してください。とのこと。
(先のマニュアルの注意書きにも書いてありました。)

注 キーワードを含む データベースは、/usr/share/man/whatis であり、これは catman -w コマンドで最初に生成する必要があります。

catman コマンドを実行します。

# catman -w
# echo $?
0

もう一度 apropos コマンドを実行します。

# apropos limit
Maxuuscheds(4)  - Limits the numberof instances of the uusched and uucico daemons thatcan run simultaneously.
Maxuuxqts(4)    - Limitsthe numberof instances of the BNU uuxqt daemon that can run simultaneouslyon the local system.
Tcl_SetRecursionLimit (3)   - set maximum allowable nesting depth in interpreter
getdelim(3)     - Reads a delimitedrecord from a stream.
getfslimit(3)   - Returns the maximum file size limit of the current process.
getline(3)      - Reads a delimitedrecord from a stream.
getrlimit(3)    - Controls maximum system resource consumption.
getrlimit64(3)  - Controls maximum system resource consumption.
getrlimit_64(3) - Controls maximum system resource consumption.
j2edlimit(1)    - Manages quota Limits Classes forJFS2 file systems.
kern_soreserve(3)       - The routineenforces the limit for the send and receive buffer space for a socket.
kgetrlimit64(3) - Controls maximumsystem resource consumption.
limit_sigs(3)   - Changesthe signal mask for the calling  kernel thread.
limits(4)       - Defines implementationlimits identified by IEEE POSIX 1003.
limits(4)       - Defines process resourcelimits for  users.
limits_wlm(4)   - Describes the minimumand maximum limits for the  resources allocated to superclasses orsubclasses of a WLM configuration.
listen(3)       - Listensfor socket connections and limits the backlog of incoming connections.
lsclass(1)      - List Workload Management classesand their limits.
newpassx(3)     - Generatesa new password for a user (without a name length limit).
sched_get_priority(3)   - Retrievespriority limits.
sched_get_priority_max(3)       - Retrievespriority limits.
sched_get_priority_min(3)       - Retrievespriority limits.
sched_rr_get_interval(3)        - Gets the execution time limits.
setrlimit(3)    - Controls maximum system resource consumption.
setrlimit64(3)  - Controls maximum system resource consumption.
sysconf(3)      - Determinesthe current value of a specified system limit or option.
ulimit(1)       - Sets or reportsuser resource limits.
ulimit(3)       - Setsand gets user limits.
uustat(1)       - Reports thestatus of and provides limited control over BNU operations.
vlimit(3)       - Controls maximum system resource consumption.
vms_create(3)   - Createsa virtual memory object of the specified type, size, and limits.

色々出力されました。

一例として、man コマンド (マニュアル項目の表示) で limits を見てみます。

# man limits

limits File

Purpose

       Defines process resource limits for users.

Description
       Note: Changing the limit does not affect those processes that were started by init. Alternatively, ulimits are only used by those processes that go through the login processes.
〜 省略 〜

Files
       Item
            Description
       /etc/security/limits
            Specifies the path to the file.
〜 省略 〜

/etc/security/limits ファイルの説明ですね。


コマンドや設定、定義ファイルが不明な場合に、apropos コマンドを使ってキーワード検索すれば目的とする内容が見つかるかも。便利です。

以上です。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?