1

ipmitool の sel メニューに「add」コマンドがあることがわかりました。ファイルが必要ですが、そのファイルの形式は何ですか?

> ipmitool sel add file.txt
> Invalid Event: 0000f8b601000000

ドキュメントから: http://man.he.net/man1/ipmitool

追加

                 Read  event  entries from a file and add them to the SEL.
                 New SEL entries area added onto the SEL  after  the  last
                 record  in  the  SEL.   Record  added is of type 2 and is
                 automatically timestamped.
4

1 に答える 1

1

ファイルの形式は による出力と同じでipmitool sel save {filename}、次のようになります。

0x04 0x10 0x07 0x6f 0x02 0xff 0xff # Event Logging Disabled #0x07 Log area reset/cleared
0x04 0x12 0x83 0x6f 0x05 0x00 0xff # System Event #0x83 Timestamp Clock Sync
0x04 0x12 0x83 0x6f 0x05 0x80 0xff # System Event #0x83 Timestamp Clock Sync
0x04 0x09 0x01 0x6f 0x00 0xff 0xff # Power Unit #0x01 Power off/down
0x04 0x09 0x01 0xef 0x00 0xff 0xff # Power Unit #0x01 Power off/down
0x04 0x14 0x09 0x6f 0x00 0xff 0xff # Button #0x09 Power Button pressed

これを SEL にロードすると、現在の日付/時刻でイベントがログに記録されます。

ipmitool sel save {filename}の出力をと比較しipimitool sel writeraw {filename}て、上記のバイト マッピングを決定します。

于 2013-08-16T01:16:05.097 に答える