リモートコマンドのAPIを使用したサンプルプログラムを以下に示します。
格納ディレクトリ
DVDの以下のディレクトリに格納しています。
なお、Windows版は、Visual C++ 2005のワークスペースの形で格納しています。
格納ディレクトリ | サンプルプログラムの内容 | |
---|---|---|
【Windows32版】 | MAIN\tool\sample\rmt_log | リモートコマンドログの読み出し要求のサンプルプログラム |
【Windows64版】 | Server\tool\sample\rmt_log | |
【Solaris版】 | Solaris/tool_unx/sample/rmt_log | |
【Red Hat Enterprise Linux 5】 | Linux/RHEL5/tool_unx/sample/rmt_log | |
【Red Hat Enterprise Linux 6】 | Linux/RHEL6/tool_unx/sample/rmt_log | |
【Windows32版】 | MAIN\tool\sample\rmt_rt | リモートコマンドの応答リード要求のサンプルプログラム |
【Windows64版】 | Server\tool\sample\rmt_rt | |
【Solaris版】 | Solaris/tool_unx/sample/rmt_rt | |
【Red Hat Enterprise Linux 5】 | Linux/RHEL5/tool_unx/sample/rmt_rt | |
【Red Hat Enterprise Linux 6】 | Linux/RHEL6/tool_unx/sample/rmt_rt |
実行権限/実行環境
運用管理サーバ/部門管理サーバ/業務サーバで実行可能です。実行形式のプログラムも各サーバ間で同一です。
リモートコマンドログの読み出し要求のサンプルプログラム
【Windows版】
運用管理サーバ/部門管理サーバ/業務サーバでは、Administrator権限/DmAdmin権限/DmOperation権限/DmReference権限が必要です。
運用管理クライアント/クライアントでは、一般ユーザ権限で実行可能です。
【UNIX版】
運用管理サーバ/部門管理サーバ/業務サーバでは、システム管理者(スーパーユーザ)権限が必要です。
運用管理クライアント/クライアントでは、一般ユーザ権限で実行可能です。
リモートコマンドの応答リード要求のサンプルプログラム
【Windows版】
運用管理サーバ/部門管理サーバ/業務サーバでは、Administrator権限/DmAdmin権限/DmOperation権限が必要です。
運用管理クライアント/クライアントでは、Administrator権限が必要です。
【UNIX版】
運用管理サーバ/部門管理サーバ/業務サーバでは、システム管理者(スーパーユーザ)権限が必要です。
運用管理クライアント/クライアントでは、Administrator権限が必要です。