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

系統教程欄目

欄目熱門教程

人氣教程排行

站長推薦

熱門系統下載

公眾號

代玩好运快3