getsysinfo日志收集:
附件getsysinfo.zip解压后,通过FTP方式,并以二进制(BINARY)模式,将 'getsysinfo.sh' 上传至主机的 /tmp 目录下;
# cd /tmp
# chmod 777 getsysinfo.sh
# sh getsysinfo.sh
生成log为/tmp/sysinfo.tgz
通过FTP方式,并以二进制(BINARY)模式,将/tmp/sysinfo.tgz下载到本地
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
nickel日志收集(不要在系统负载较高时运行此脚本):
附件nickel.zip解压后,通过FTP方式,并以二进制(BINARY)模式,将 'nickel.sh' 上传至主机的 /tmp 目录下;
# cd /tmp
# chmod 777 nickel.sh
# sh nickel.sh
通过FTP方式,并以二进制(BINARY)模式,将/tmp/tools/nickel.YourHostName.tar.gz下载到本地
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/15412087/viewspace-1841067/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/15412087/viewspace-1841067/