5.5 AHFインサイトの対話型サブシェルのコマンド・リファレンス

AHFインサイトのサブシェルを使用すると、ターミナルから直接レポートを調べることができるため、レポート・ファイルの転送や解凍の必要なく、結果をすばやく確認できます。

構文: AHFインサイト

ahf analysis explore [-h] [--with {scope}]  [--type {insights} --from-file FILE]
使用方法:
show -s <section name> [optional targets]

パラメータ

表5-4 ahf analysisサブシェル・コマンドのパラメータ

パラメータ 説明

--with {scope}

探索分析の作成に使用するツールを選択します。

ノート:

ファイルから探索を作成するには、--with--from-fileを指定します。

--from-file <file-path>

探索するファイルへの完全パスを指定します。

ノート:

ファイルから探索を作成するには、--with--from-fileを指定します。

--type {insights}

AHFコレクションを調べて、使用可能なレポートおよびインサイトを表示します。

-s,

  • summary: レポート・サマリーを表示します。
  • cluster: クラスタ構成データを表示します。
  • databases: データベースの詳細を表示します。
  • recommended-software: 推奨ソフトウェアのリストを表示します。
  • database-servers: データベース・サーバーのデータを表示します。
  • storage-servers: ストレージ・サーバーのデータを表示します。
  • fabric-switches: ファブリック・スイッチのデータを表示します。
  • problems: 検出された問題を表示します。
  • database-anomalies: データベースからの問題検出結果を表示します。

異常アドバイザ

  • events: イベントのデータを表示します。
  • changes: システム変更を表示します。
  • recommended-software: 推奨ソフトウェアを表示します。
  • database-server-alerts: データベース・サーバーのアラートを表示します。
  • rpm: RPMリストを表示します。
  • database-parameters: 通常のデータベース・パラメータを表示します。

リスト

  • kernel-parameters: カーネル・パラメータのリストを表示します。
  • patches: パッチのデータを表示します。
  • space: 領域構成データを表示します。
  • performance-reports: コレクション内に存在するパフォーマンス・レポートを表示します。

[optional targets]

  • -s cluster --sub-section asm-details: クラスタのASM詳細を表示します。
  • -s cluster --sub-section resources: クラスタ・リソースを表示します。
  • -s databases --db <DB名>: 指定されたデータベースについて、その他の詳細を表示します。
  • -s problems --timestamp <問題表からのタイムスタンプ>: 指定されたタイムスタンプについて、検出された問題のサマリーを表示します。
  • -s problems -t <問題表からのタイムスタンプ> (--timestampのショートカット)。
  • -s patches --pid <パッチID>: 特定のパッチからの修正されたバグを表示します。
  • -s patches --components: インストール済コンポーネントを表示します。
  • -s database-anomalies --db <DB名>: データベースからの問題検出結果を表示します。
  • 指定されたデータベースについての異常アドバイザ

    -s database-anomalies --host <ホスト名>: データベースからの問題検出結果を表示します。

  • 指定されたホストについての異常アドバイザ

    -s database-anomalies --in <インスタンス名>: データベースからの問題検出結果を表示します。

  • 指定されたインスタンスについての異常アドバイザ

    -s database-parameters --hidden: 非表示になっているデータベース・パラメータのリストを表示します。

コマンドahf analysis explore --type insights --from-file /scratch/data/testnode_insights_2025_07_14_21_49_50.zipを実行すると、Read-Eval-Print Loop (REPL)環境が起動されます。このシェル内で、サポートされているオプションを使用して特定のコマンドを実行できます。

現在、サポートされているコマンドは、showclearhelpおよびexitです。

サポートされているコマンドの中では、showのみが-sパラメータを受け入れます。このパラメータは、表示するインサイト・レポートのセクションを指定するために使用します。

たとえば:
  • show -s cluster
  • show -s databases
  • show -s recommended-software

一部のセクションでは、より具体的なフィルタリングや出力のカスタマイズのための、その他のパラメータがサポートされている場合もあります。

# ahf analysis explore --type insights --from-file /scratch/data/testnode_insights_2025_07_14_21_49_50.zip
=====================================================================================================================================================================================

    _     _  _   ___     ___   _  _   ___   ___    ___   _  _   _____   ___
   /_\   | || | | __|   |_ _| | \| | / __| |_ _|  / __| | || | |_   _| / __|
  / _ \  | __ | | _|     | |  | .` | \__ \  | |  | (_ | | __ |   | |   \__ \
 /_/ \_\ |_||_| |_|     |___| |_|\_| |___/ |___|  \___| |_||_|   |_|   |___/

=====================================================================================================================================================================================
Set up of the report testnode_insights_2025_07_14_21_49_50.zip in subshell mode completed.
Type 'help' to display the available commands.

╭─ Oracle AHF Insights ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                                                                                                                   │
│ ╭────────────────────────────┬────────────────────────────┬───────────────────────────────────────────────────────────────────────────────────────────────┬─────────────────────╮ │
│ │ AHF Version                │ System Type                │ Time Range                                                                                    │ Duration            │ │
│ ├────────────────────────────┼────────────────────────────┼───────────────────────────────────────────────────────────────────────────────────────────────┼─────────────────────┤ │
│ │ AHF-25.7.0                 │ Exadata                    │ 2025-07-14 19:47:37 to 2025-07-14 21:47:37                                                    │ 2 Hours             │ │
│ ╰────────────────────────────┴────────────────────────────┴───────────────────────────────────────────────────────────────────────────────────────────────┴─────────────────────╯ │
│                                                                                                                                                                                   │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

testnode_insights_2025_07_14_21_49_50.zip/Insights >

例5-4 show -s databases

testnode_insights_2025_07_14_21_49_50.zip/Insights > show -s databases

╭─ Databases ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                                                                                                                   │
│ ╭───────────────┬──────────────────┬──────────────────┬────────────────────────┬─────────────────┬──────────────────┬───────────────────────────────────────────┬───────────────╮ │
│ │ CDB Name      │ Status           │ DB Version       │ DR Role                │ CPU Count       │ SGA Target       │ PGA Agg Target / Limit (GB)               │ Processes     │ │
│ ├───────────────┼──────────────────┼──────────────────┼────────────────────────┼─────────────────┼──────────────────┼───────────────────────────────────────────┼───────────────┤ │
│ │ c1d1          │ READ WRITE       │ 23.0.0.0.0       │ Not configured         │ 96              │ 24.00            │ 16.00 / 32.00                             │ 2048          │ │
│ │               │                  │                  │                        │                 │                  │                                           │               │ │
│ │ cdb2371       │ READ WRITE       │ 23.0.0.0.0       │ Not configured         │ 96              │ 14.66            │ 4.88 / 37.50                              │ 7680          │ │
│ ╰───────────────┴──────────────────┴──────────────────┴────────────────────────┴─────────────────┴──────────────────┴───────────────────────────────────────────┴───────────────╯ │
│                                                                                                                                                                                   │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

Page 1 of 1
Controls: n (next page), p (previous page), s (search), b (back), q (quit)

Database information collected at : 2025-07-14 21:49:23.119308

例5-5 show -s space

testnode_insights_2025_07_14_21_49_50.zip/Insights > show -s space

╭─ Space Analysis ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                                                                                                                   │
│ ╭───────────────────────────┬─────────────┬────────────────────────────┬──────────────────┬────────────────────┬───────────────────┬────────────────────────────────────────────╮ │
│ │ Node                      │ Mount       │ Tags                       │ Used             │ Available          │ Total             │ Usage(%)                                   │ │
│ ├───────────────────────────┼─────────────┼────────────────────────────┼──────────────────┼────────────────────┼───────────────────┼────────────────────────────────────────────┤ │
│ │ testnode             │ /           │ Root                       │ 14.33 GB         │ 13.52 GB           │ 27.85 GB          │  ━━━━━━━━╺━━━━━━━ 51.45%                   │ │
│ │                           │             │                            │                  │                    │                   │                                            │ │
│ │ testnode             │ /boot       │ Boot                       │ 85.57 MB         │ 365.8 MB           │ 451.37 MB         │  ━━━╺━━━━━━━━━━━━ 18.96%                   │ │
│ │                           │             │                            │                  │                    │                   │                                            │ │
│ │ testnode             │ /u01        │ Database Homes             │ 43.29 GB         │ 49.56 GB           │ 92.86 GB          │  ━━━━━━━╺━━━━━━━━ 46.63%                   │ │
│ │                           │             │                            │                  │                    │                   │                                            │ │
│ │ testnode             │ /           │ Root                       │ 13.95 GB         │ 13.89 GB           │ 27.85 GB          │  ━━━━━━━━╺━━━━━━━ 50.11%                   │ │
│ │                           │             │                            │                  │                    │                   │                                            │ │
│ │ testnode             │ /boot       │ Boot                       │ 85.57 MB         │ 365.8 MB           │ 451.37 MB         │  ━━━╺━━━━━━━━━━━━ 18.96%                   │ │
│ │                           │             │                            │                  │                    │                   │                                            │ │
│ │ testnode             │ /u01        │ Database Homes             │ 22.95 GB         │ 69.91 GB           │ 92.86 GB          │  ━━━╸━━━━━━━━━━━━ 24.72%                   │ │
│ ╰───────────────────────────┴─────────────┴────────────────────────────┴──────────────────┴────────────────────┴───────────────────┴────────────────────────────────────────────╯ │
│                                                                                                                                                                                   │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

Page 1 of 1
Controls: n (next page), p (previous page), s (search), b (back), q (quit)

Space Analysis collected at : 2025-07-14 21:20:03.976

例5-6 show -s rpm

testnode_insights_2025_07_14_21_49_50.zip/Insights > show -s rpm

╭─ RPM List ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                                                                                                                   │
│ ╭────────────────────────────────────────────────────────────┬──────────────┬──────────────────────────────────────────┬────────────┬─────────────────────┬─────────────────────╮ │
│ │ RPM Name                                                   │ Version      │ Release                                  │ Arch       │ testnode       │ testnode       │ │
│ ├────────────────────────────────────────────────────────────┼──────────────┼──────────────────────────────────────────┼────────────┼─────────────────────┼─────────────────────┤ │
│ │ Judy                                                       │ 1.0.5        │ 18.module+el8+5138+0a3cd156              │ x86_64     │ YES                 │                     │ │
│ │                                                            │              │                                          │            │                     │                     │ │
│ │ NetworkManager                                             │ 1.40.16      │ 18.0.1.el8_10                            │ x86_64     │ YES                 │ YES                 │ │
│ │                                                            │              │                                          │            │                     │                     │ │
│ │ NetworkManager-adsl                                        │ 1.40.16      │ 18.0.1.el8_10                            │ x86_64     │ YES                 │ YES                 │ │
│ │                                                            │              │                                          │            │                     │                     │ │
│ │ NetworkManager-config-server                               │ 1.40.16      │ 18.0.1.el8_10                            │ noarch     │ YES                 │ YES                 │ │
│ │                                                            │              │                                          │            │                     │                     │ │
│ │ NetworkManager-dispatcher-routing-rules                    │ 1.40.16      │ 18.0.1.el8_10                            │ noarch     │ YES                 │ YES                 │ │
│ │                                                            │              │                                          │            │                     │                     │ │
│ │ NetworkManager-libnm                                       │ 1.40.16      │ 18.0.1.el8_10                            │ x86_64     │ YES                 │ YES                 │ │
│ │                                                            │              │                                          │            │                     │                     │ │
│ │ OpenIPMI                                                   │ 2.0.31       │ 3.0.1.el8                                │ x86_64     │ YES                 │ YES                 │ │
│ │                                                            │              │                                          │            │                     │                     │ │
│ │ OpenIPMI-libs                                              │ 2.0.31       │ 3.0.1.el8                                │ x86_64     │ YES                 │ YES                 │ │
│ │                                                            │              │                                          │            │                     │                     │ │
│ │ abattis-cantarell-fonts                                    │ 0.0.25       │ 6.el8                                    │ noarch     │ YES                 │ YES                 │ │
│ │                                                            │              │                                          │            │                     │                     │ │
│ │ acl                                                        │ 2.2.53       │ 3.el8                                    │ x86_64     │ YES                 │ YES                 │ │
│ │                                                            │              │                                          │            │                     │                     │ │
│ │ acpid                                                      │ 2.0.30       │ 2.el8                                    │ x86_64     │ YES                 │ YES                 │ │
│ │                                                            │              │                                          │            │                     │                     │ │
│ │ adcli                                                      │ 0.9.2        │ 1.el8                                    │ x86_64     │ YES                 │ YES                 │ │
│ │                                                            │              │                                          │            │                     │                     │ │
│ │ aide                                                       │ 0.16         │ 14.el8_5.1                               │ x86_64     │ YES                 │ YES                 │ │
│ │                                                            │              │                                          │            │                     │                     │ │
│ │ alsa-lib                                                   │ 1.2.10       │ 2.el8                                    │ x86_64     │ YES                 │ YES                 │ │
│ │                                                            │              │                                          │            │                     │                     │ │
│ │ annobin                                                    │ 11.13        │ 2.0.3.el8                                │ x86_64     │ YES                 │ YES                 │ │
│ ╰────────────────────────────────────────────────────────────┴──────────────┴──────────────────────────────────────────┴────────────┴─────────────────────┴─────────────────────╯ │
│                                                                                                                                                                                   │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

Page 1 of 72
Controls: n (next page), p (previous page), s (search), b (back), q (quit)

RPM Information collected at: 2025-07-14 21:47:37.000000