优下载 - 用心为网友精心挑选每一款电脑软件-WWW.YOOXZ.COM

当前位置:首页 > 系统教程 > Linux教程 > 详细页面

Linux系统如何安装和使用supportconfig工具

时间:2018-07-09来源:优下载作者:qipeng 阅读: 6 次

  supportconfig作为Linux系统shell编写的工具,其功能是非常强大的,但还是有很多人对supportconfig工具不了解,不知如何使用supportconfig工具,下面小编就简单的给大家介绍下Linux安装使用supportconfig的方法。VHa优下载

Linux系统如何安装和使用supportconfig工具VHa优下载

  一、supportconfig的安装VHa优下载

  可以通过yast进行安装,也可以通过zypper命令进行安装,安装命令如下:VHa优下载

  直接使用源进行安装VHa优下载

  代码如下VHa优下载

  #zypper install supportutilsVHa优下载

  也可以将rpm包下载下来使用yast进行安装或者在yast的管理界面里查找安装VHa优下载

  #yast install supportutils-xxx.rpmVHa优下载

  注:根据系统的版本不同,包名也可能是supportconfig 。VHa优下载

  安装完成后可以使用rpm -ql supportutils 查看包中具体包含的文件信息,如下:VHa优下载

  代码如下VHa优下载

  # rpm -ql supportutilsVHa优下载

  /etc/schealth.confVHa优下载

  /etc/supportconfig.confVHa优下载

  /sbin/chkbinVHa优下载

  /sbin/supportconfigVHa优下载

  /usr/bin/schealthVHa优下载

  /usr/share/man/man5/supportconfig.conf.5.gzVHa优下载

  /usr/share/man/man8/chkbin.8.gzVHa优下载

  /usr/share/man/man8/supportconfig.8.gzVHa优下载

  注:上面的结果是在 suse11 sp1企业版上的测试的结果,在opensuse 13上目录结构会略有不同,其上使用的是新版本的supportconfig。VHa优下载

  二、supportconfig用法VHa优下载

  以下是supportconfig的帮助输出VHa优下载

  代码如下VHa优下载

  # supportconfig -hVHa优下载

  =============================================================================VHa优下载

  Support Utilities - SupportconfigVHa优下载

  Script Version: 2.25-197VHa优下载

  Script Date: 2010 04 02VHa优下载

  =============================================================================VHa优下载

  Usage: supportconfig [OPTION [OPTION 。。。]]VHa优下载

  -h This screenVHa优下载

  -A Activates all supportconfig functions with additional logging and fullVHa优下载

  rpm verification.VHa优下载

  -B 《string》 Custom tar ball file name elementVHa优下载

  -C Creates a new default /etc/supportconfig.confVHa优下载

  -D Use defaults; ignore /etc/supportconfig.confVHa优下载

  -E 《string》 Contact email addressVHa优下载

  -F Display available supportconfig feature keywords (case-sensitive) usedVHa优下载

  with -i and -xVHa优下载

  -G 《gpg_uid》 The GPG recipient‘s user ID used to encrypt the supportconfig tarballVHa优下载

  -H 《number》 Limit number of included HA Policy engine filesVHa优下载

  -I 《number》 Default log file line countVHa优下载

  -L Create a full file listing from ’/‘VHa优下载

  -M 《string》 Contact terminal IDVHa优下载

  -N 《string》 Contact nameVHa优下载

  -O 《string》 Contact company nameVHa优下载

  -P 《string》 Contact phone numberVHa优下载

  -Q Run in silent modeVHa优下载

  -R 《path》 Log output directoryVHa优下载

  -S 《number》 Limit number of included SAR filesVHa优下载

  -T 《seconds》 Binary execution timeoutVHa优下载

  -U 《URI string》 Sets upload target URL and initiates an upload, supportedVHa优下载

  services include: ftp, scp, http, httpsVHa优下载

  -M 《string》 Contact store IDVHa优下载

  -X 《number》 Max system logs line countVHa优下载

  -a Upload the tar ball to the specified alternate target VAR_OPTION_UPLOAD_ALTVHa优下载

  -b Screen buffer modeVHa优下载

  -d Exclude detailed disk info and scansVHa优下载

  -e Search root file system for eDirectory instances; -L implied. Be patient.VHa优下载

  -f From directory. Don’t collect report files, just use files in thatVHa优下载

  directory.VHa优下载

  -g Use gzip instead of the default bzip2 compression.VHa优下载

  -i 《keyword list》VHa优下载

  Include keywords. A comma separated list of feature keywords that specifyVHa优下载

  which features to include. Use -F to see a list of valid keywords.VHa优下载

  -l Gathers additional rotated logsVHa优下载

  -m Only gather a minimum amount of info: basic env, basic health, hardware,VHa优下载

  rpm, messages, y2logsVHa优下载

  -o Toggle listed features on or offVHa优下载

  -p Disable all pluginsVHa优下载

  -q Add a uuid to the tar ball filename to ensure uniquenessVHa优下载

  -r 《srnum》VHa优下载

  Includes the Novell 11 digit service request number when uploadingVHa优下载

  the tar ball to NovellVHa优下载

  -s Include full SLP service listsVHa优下载

  -t Target directory. Just save log files here, do not create tarball.VHa优下载

  -u Upload the tar ball to the specified VAR_OPTION_UPLOAD_TARGET.VHa优下载

  -v Performs an rpm -V for each installed rpm NOTE: This takes a long timeVHa优下载

  to completeVHa优下载

  -x 《keyword list》VHa优下载

  Exclude keywords. A comma separated list of feature keywords that specifyVHa优下载

  which features to exclude. Use -F to see a list of valid keywords.VHa优下载

  -y Only gather the minimum y2log files.VHa优下载

  Use Ctrl- to try and skip a function that is hanging.VHa优下载

  -----------------------------------------------------------------------------VHa优下载

  NOTE:VHa优下载

  This tool will create a tar ball in the /var/log directory. Please attachVHa优下载

  the log file tar ball to your open Service. Request at the following URL:VHa优下载

  https://secure-support.novell.com/eService_enuVHa优下载

  If you cannot attach the tar ball to the SR, then email it to the engineer.VHa优下载

  Please submit bug fixes or comments via:VHa优下载

  http://en.opensuse.org/Supportutils#Reporting_BugsVHa优下载

  =============================================================================VHa优下载

  Support Utilities - SupportconfigVHa优下载

  Script Version: 2.25-197VHa优下载

  Script Date: 2010 04 02VHa优下载

  =============================================================================VHa优下载

  默认supportconfig或supportconfig -A执行后会将收集后的结果打包为一个nts_主机名_日期.tbz 文件,同时会生成一个以该文件名加.md5后缀的文件。VHa优下载

上一页1234 

系统教程栏目

栏目热门教程

人气教程排行

站长推荐

热门系统下载

公众号