Board logo

标题: 如何使用IMM v2 cli收集system x服务器event log日志? [打印本页]

作者: 合肥亮少    时间: 2016-9-29 09:36     标题: 如何使用IMM v2 cli收集system x服务器event log日志?

操作步骤:

1、ssh连接到imm 管理口(用户名和密码同web登录)

2、 显示所有日志

system> readlog -a

3、可用tftp或者sftp服务器将日志保存

system> readlog -a -i ip地址 -l 文件名

system> readlog ?

usage:
readlog [-options] - display the IMM event log entries from most recent to oldest, five entries at a time
options:
-a: display all log entries
-f: reset the counter and display the first five entries
-date: display entries that meet date criteria
-sev: display entries that meet severity criteria
-i: IPv4 or IPv6 IP address of the TFTP/SFTP server where the event log is being saved
-l: filename is the name of the event log file
-pn: port number of TFTP/SFTP server (default 69/22)
-u: username for SFTP server
-pw: password for SFTP server




欢迎光临 合肥本本之星 合肥Thinkpad专卖店 合肥Apple专卖店 hfthink 合肥本之星信息科技有限公司 (http://hfthink.net/) Powered by Discuz! 7.2