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