系统基本配置
如何查看日志信息 dmesg | more /var/adm/messages*
收集 exlpore 日志 /opt/SUNWexplo/bin/explorer -k ->/opt/SUNWexplo/output
系统的基本状况 showrev
系统运行时间,平均负载 uptime
版本信息 uname -a
Update 版本 more /etc/release
系统补丁 showrev -p 已安装的补丁信息 patchadd 123-12 打补丁
查看服务对应的端口 more /etc/services
系统变量设置 env , sysdef
Shell 变量: bash,csh,ksh
收集 explore 日志
先查看有没有装
# pkginfo |grep SUNWexplo
如果有安装的话:
# /opt/SUNWexplo/bin/explorer
收集到的文件在:
# /opt/SUNWexplo/output清空日志: cp /var/adm/messages /var/adm/messages.bkp #cat /dev/null > /var/adm/messages
Read More