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