将从控制卡上收集的日志文件转换为文本文件。
hiraidadm show log path=log_path out_file=outputfile [timezone=timezone]
参数 |
参数说明 |
取值 |
---|---|---|
log_path |
从控制卡获取的日志文件所在路径。 |
- |
outputfile |
指定转换后输出的文件名。 |
- |
timezone |
可选参数,表示指定转换的时区。不输入时默认使用本地时区。 |
例如:
|
无。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | [root@localhost ~]# hiraidadm show log path=./ outfile=log.txt timezone=+0200 ========================================== Hiraidadm Information =========================================== Name: hiraidadm Version: 1.2.0.2 Build Time: Nov 15 2022 22:07:55 ============================================================================================================== ------------------------------------------------------- parse .//ap.bin start. parse .//imu.bin start. out file1:.//log-flash.txt out file2:.//log-ram.txt success log num | 12624 no parse log num | 7427 total log num | 20423 ------------------------------------------------------- ============================================================================================================== Status Code = 0 Status = Success Description = None ============================================================================================================== |