Sekmodutil ツールの使用

sekmodutil ツールは現在のシステム、または特定の OS、配布、またはリリースの SEOS カーネル モジュールをリスト表示します。さらに、ユーザは関係のないカーネル モジュールを削除してディスク領域を節約できます。
sekmodutil ツールは現在のシステム、または特定の OS、配布、またはリリースの SEOS カーネル モジュールをリスト表示します。さらに、ユーザは関係のないカーネル モジュールを削除してディスク領域を節約できます。このツールは、スタンドアロン ツールとして既存のインストールに配布され、完全なインストール パッケージに含まれます。「sekmodutil -h」を使用して、以下の情報にアクセスできます。
このツールは、レガシー インストールとネイティブ インストールの両方のインストーラに組み込まれています。Linux の場合、現在のシステム以外の Linux ディストリビューションをサポートするカーネル モジュールを削除します。デフォルトで、インストーラは関係のないモジュールを削除します。対話形式でインストールを実行する場合、インストーラは以下のメッセージを表示し、ユーザはそれらのモジュールを保持するかしないかを選択できます。
-------------------[ Clean up SEOS_syscall Modules ]------------------- For Linux, the installer will install all SEOS_syscall modules from the installation package. This includes modules for other Linux distributions. For example, modules for SLES, Oracle Linux, or Ubuntu will also be installed on an RHEL system. Do you want to keep unrelated SEOS_syscall modules? [N/y]:
インストール中、sekmodutil は lbin サブディレクトリの下にインストールされます。インストーラは、sekmodcleanup を sekmodutil へのシンボリック リンクとして作成します。sekmodcleanup を実行すると、「sekmodutil -x」として実行し、現在のシステムに関係のないモジュールを削除します。
Usage
デフォルトでは、このスクリプトは特定の OS やディストリビューションの SEOS_syscall カーネル モジュールを、該当する場合に、インストールしたディレクトリまたは指定のディレクトリにリスト表示します。
Usage: sekmodutil [-D install_bin_dir] [-o OS] [-d distro] [-r major_release] [-m] [-x] sekmodutil [-h]
引数
-h Print usage. All other arguments will be ignored. -D install_bin_dir Specifiy the directory where SEOS_syscall modules are installed. If not specified, the default is the current installation bin directory. -o OS Select SEOS_syscall modules for the specified OS. If not specified, the default is the current system. Valid values are: Linux, SunOS (Solaris), AIX or HP-UX. (case insensitive) -d distro For Linux only. Specify the distribution of the Linux system. This will be ignored if the OS is not Linux. If not specified and the current system is not Linux, this script will terminate with an error. If not specified and the current system is Linux, the default is the current system's distribution. Valid values are: Redhat, RHEL, Suse, SLES, Oracle, OEL, Ubuntu, CentOS, VMware or Debian. (case insensitive) -r major_release Specify the major release. If not specified and the current system's OS matches with the OS specified, the default is the current system's release. If not specified and the current system's OS does not match with the OS specified, the default is all. Valid values are: Redhat/Oracle/CentOS: 5, 6, 7, 8 or all SuSE: 10, 11, 12, 15 or all Ubuntu: 12.04, 14.04, 16.04, 17.04, 18.04 or all Solaris: 8, 9, 10, 11 or all AIX: 5.2, 5.3, 6.1, 7.1, 7.2 or all HP-UX: 11.11, 11.23, 11.31 or all This argument does not support VMware or Debian. -x Remove all other modules. This argument will be ignored if the kernel module for the current host system could be removed.
1. 現在のホスト システムに関連する SEOS カーネル モジュールをリスト表示する: # sekmodutil
2. 現在のホスト システムに関連する SEOS カーネル モジュールをリスト表示して関係のないモジュールを削除する: # sekmodutil -x
3. RHEL 7 の SEOS カーネル モジュールをリスト表示する: # sekmodutil -o linux -d rhel -r 7
4. Oracle Linux のすべてのバージョンの SEOS カーネル モジュールをリスト表示する: # sekmodutil -o linux -d oracle -r all
5. 他の Linux ディストリビューションをサポートするカーネル モジュールを削除する: # sekmodutil -r all -x