5G下载 - 5G下载,唯一官网:www.5gxz.com!

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

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

时间:2017-08-17来源:5G下载作者:qipeng

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

Linux系统如何安装和使用supportconfig工具cW95G下载(www.5gxz.com)

  一、supportconfig的安装cW95G下载(www.5gxz.com)

  可以通过yast进行安装,也可以通过zypper命令进行安装,安装命令如下:cW95G下载(www.5gxz.com)

  直接使用源进行安装cW95G下载(www.5gxz.com)

  代码如下cW95G下载(www.5gxz.com)

  #zypper install supportutilscW95G下载(www.5gxz.com)

  也可以将rpm包下载下来使用yast进行安装或者在yast的管理界面里查找安装cW95G下载(www.5gxz.com)

  #yast install supportutils-xxx.rpmcW95G下载(www.5gxz.com)

  注:根据系统的版本不同,包名也可能是supportconfig 。cW95G下载(www.5gxz.com)

  安装完成后可以使用rpm -ql supportutils 查看包中具体包含的文件信息,如下:cW95G下载(www.5gxz.com)

  代码如下cW95G下载(www.5gxz.com)

  # rpm -ql supportutilscW95G下载(www.5gxz.com)

  /etc/schealth.confcW95G下载(www.5gxz.com)

  /etc/supportconfig.confcW95G下载(www.5gxz.com)

  /sbin/chkbincW95G下载(www.5gxz.com)

  /sbin/supportconfigcW95G下载(www.5gxz.com)

  /usr/bin/schealthcW95G下载(www.5gxz.com)

  /usr/share/man/man5/supportconfig.conf.5.gzcW95G下载(www.5gxz.com)

  /usr/share/man/man8/chkbin.8.gzcW95G下载(www.5gxz.com)

  /usr/share/man/man8/supportconfig.8.gzcW95G下载(www.5gxz.com)

  注:上面的结果是在 suse11 sp1企业版上的测试的结果,在opensuse 13上目录结构会略有不同,其上使用的是新版本的supportconfig。cW95G下载(www.5gxz.com)

  二、supportconfig用法cW95G下载(www.5gxz.com)

  以下是supportconfig的帮助输出cW95G下载(www.5gxz.com)

  代码如下cW95G下载(www.5gxz.com)

  # supportconfig -hcW95G下载(www.5gxz.com)

  =============================================================================cW95G下载(www.5gxz.com)

  Support Utilities - SupportconfigcW95G下载(www.5gxz.com)

  Script Version: 2.25-197cW95G下载(www.5gxz.com)

  Script Date: 2010 04 02cW95G下载(www.5gxz.com)

  =============================================================================cW95G下载(www.5gxz.com)

  Usage: supportconfig [OPTION [OPTION 。。。]]cW95G下载(www.5gxz.com)

  -h This screencW95G下载(www.5gxz.com)

  -A Activates all supportconfig functions with additional logging and fullcW95G下载(www.5gxz.com)

  rpm verification.cW95G下载(www.5gxz.com)

  -B 《string》 Custom tar ball file name elementcW95G下载(www.5gxz.com)

  -C Creates a new default /etc/supportconfig.confcW95G下载(www.5gxz.com)

  -D Use defaults; ignore /etc/supportconfig.confcW95G下载(www.5gxz.com)

  -E 《string》 Contact email addresscW95G下载(www.5gxz.com)

  -F Display available supportconfig feature keywords (case-sensitive) usedcW95G下载(www.5gxz.com)

  with -i and -xcW95G下载(www.5gxz.com)

  -G 《gpg_uid》 The GPG recipient‘s user ID used to encrypt the supportconfig tarballcW95G下载(www.5gxz.com)

  -H 《number》 Limit number of included HA Policy engine filescW95G下载(www.5gxz.com)

  -I 《number》 Default log file line countcW95G下载(www.5gxz.com)

  -L Create a full file listing from ’/‘cW95G下载(www.5gxz.com)

  -M 《string》 Contact terminal IDcW95G下载(www.5gxz.com)

  -N 《string》 Contact namecW95G下载(www.5gxz.com)

  -O 《string》 Contact company namecW95G下载(www.5gxz.com)

  -P 《string》 Contact phone numbercW95G下载(www.5gxz.com)

  -Q Run in silent modecW95G下载(www.5gxz.com)

  -R 《path》 Log output directorycW95G下载(www.5gxz.com)

  -S 《number》 Limit number of included SAR filescW95G下载(www.5gxz.com)

  -T 《seconds》 Binary execution timeoutcW95G下载(www.5gxz.com)

  -U 《URI string》 Sets upload target URL and initiates an upload, supportedcW95G下载(www.5gxz.com)

  services include: ftp, scp, http, httpscW95G下载(www.5gxz.com)

  -M 《string》 Contact store IDcW95G下载(www.5gxz.com)

  -X 《number》 Max system logs line countcW95G下载(www.5gxz.com)

  -a Upload the tar ball to the specified alternate target VAR_OPTION_UPLOAD_ALTcW95G下载(www.5gxz.com)

  -b Screen buffer modecW95G下载(www.5gxz.com)

  -d Exclude detailed disk info and scanscW95G下载(www.5gxz.com)

  -e Search root file system for eDirectory instances; -L implied. Be patient.cW95G下载(www.5gxz.com)

  -f From directory. Don’t collect report files, just use files in thatcW95G下载(www.5gxz.com)

  directory.cW95G下载(www.5gxz.com)

  -g Use gzip instead of the default bzip2 compression.cW95G下载(www.5gxz.com)

  -i 《keyword list》cW95G下载(www.5gxz.com)

  Include keywords. A comma separated list of feature keywords that specifycW95G下载(www.5gxz.com)

  which features to include. Use -F to see a list of valid keywords.cW95G下载(www.5gxz.com)

  -l Gathers additional rotated logscW95G下载(www.5gxz.com)

  -m Only gather a minimum amount of info: basic env, basic health, hardware,cW95G下载(www.5gxz.com)

  rpm, messages, y2logscW95G下载(www.5gxz.com)

  -o Toggle listed features on or offcW95G下载(www.5gxz.com)

  -p Disable all pluginscW95G下载(www.5gxz.com)

  -q Add a uuid to the tar ball filename to ensure uniquenesscW95G下载(www.5gxz.com)

  -r 《srnum》cW95G下载(www.5gxz.com)

  Includes the Novell 11 digit service request number when uploadingcW95G下载(www.5gxz.com)

  the tar ball to NovellcW95G下载(www.5gxz.com)

  -s Include full SLP service listscW95G下载(www.5gxz.com)

  -t Target directory. Just save log files here, do not create tarball.cW95G下载(www.5gxz.com)

  -u Upload the tar ball to the specified VAR_OPTION_UPLOAD_TARGET.cW95G下载(www.5gxz.com)

  -v Performs an rpm -V for each installed rpm NOTE: This takes a long timecW95G下载(www.5gxz.com)

  to completecW95G下载(www.5gxz.com)

  -x 《keyword list》cW95G下载(www.5gxz.com)

  Exclude keywords. A comma separated list of feature keywords that specifycW95G下载(www.5gxz.com)

  which features to exclude. Use -F to see a list of valid keywords.cW95G下载(www.5gxz.com)

  -y Only gather the minimum y2log files.cW95G下载(www.5gxz.com)

  Use Ctrl- to try and skip a function that is hanging.cW95G下载(www.5gxz.com)

  -----------------------------------------------------------------------------cW95G下载(www.5gxz.com)

  NOTE:cW95G下载(www.5gxz.com)

  This tool will create a tar ball in the /var/log directory. Please attachcW95G下载(www.5gxz.com)

  the log file tar ball to your open Service. Request at the following URL:cW95G下载(www.5gxz.com)

  https://secure-support.novell.com/eService_enucW95G下载(www.5gxz.com)

  If you cannot attach the tar ball to the SR, then email it to the engineer.cW95G下载(www.5gxz.com)

  Please submit bug fixes or comments via:cW95G下载(www.5gxz.com)

  http://en.opensuse.org/Supportutils#Reporting_BugscW95G下载(www.5gxz.com)

  =============================================================================cW95G下载(www.5gxz.com)

  Support Utilities - SupportconfigcW95G下载(www.5gxz.com)

  Script Version: 2.25-197cW95G下载(www.5gxz.com)

  Script Date: 2010 04 02cW95G下载(www.5gxz.com)

  =============================================================================cW95G下载(www.5gxz.com)

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

上一页1234 
分享到:

相关信息

  • Ubuntu 3D桌面特效怎么设置?

    有些用户为了使桌面更好看、更具动感性,于是就想要设置系统的3D桌面特效,不过不少人却不知道Ubuntu 3D桌面特效怎么设置?其实方法很简单,如果你不知道的话,那就赶紧来看看小编整理的Ubuntu 3D桌面特效设置方法吧!...

    2017-08-17

  • Arch Linux不适合当作服务器操作系统的四大原因

    为什么Arch Linux不适合当作服务器操作系统?可能很多用户都发现了,Linux服务器操作系统一般都是Ubuntu Server、Cent OS、Fedora或者Red Hat等,为什么很少看到Arch Linux呢?因为Arch Linux在服务方面确实存在一些劣势,下面...

    2017-08-17

系统教程栏目

栏目热门教程

人气教程排行

站长推荐

热门系统下载

公众号