婷婷综合国产,91蜜桃婷婷狠狠久久综合9色 ,九九九九九精品,国产综合av

主頁 > 知識庫 > Linux系統如何安裝和使用shell編寫的工具supportconfig

Linux系統如何安裝和使用shell編寫的工具supportconfig

熱門標簽:北京市地圖標注 廳外呼梯系統布線 淘寶系統退貨外呼項目考試答案 百度地圖標注陰影動態 鹽城客服外呼系統軟件 2020電銷機器人排行 鄭州營銷外呼系統運營商 貴陽語音電銷機器人招商 焦作人工智能電話機器人軟件

  supportconfig作為Linux系統shell編寫的工具,其功能是非常強大的,但還是有很多人對supportconfig工具不了解,不知如何使用supportconfig工具,下面小編就簡單的給大家介紹下Linux安裝使用supportconfig的方法。

  一、supportconfig的安裝

  可以通過yast進行安裝,也可以通過zypper命令進行安裝,安裝命令如下:

  直接使用源進行安裝

  代碼如下

  #zypper install supportutils

  也可以將rpm包下載下來使用yast進行安裝或者在yast的管理界面里查找安裝

  #yast install supportutils-xxx.rpm

  注:根據系統的版本不同,包名也可能是supportconfig 。

  安裝完成后可以使用rpm -ql supportutils 查看包中具體包含的文件信息,如下:

  代碼如下

  # rpm -ql supportutils

  /etc/schealth.conf

  /etc/supportconfig.conf

  /sbin/chkbin

  /sbin/supportconfig

  /usr/bin/schealth

  /usr/share/man/man5/supportconfig.conf.5.gz

  /usr/share/man/man8/chkbin.8.gz

  /usr/share/man/man8/supportconfig.8.gz

  注:上面的結果是在 suse11 sp1企業版上的測試的結果,在opensuse 13上目錄結構會略有不同,其上使用的是新版本的supportconfig。

  二、supportconfig用法

  以下是supportconfig的幫助輸出

  代碼如下

  # supportconfig -h

  =============================================================================

  Support Utilities - Supportconfig

  Script Version: 2.25-197

  Script Date: 2010 04 02

  =============================================================================

  Usage: supportconfig [OPTION [OPTION 。。。]]

  -h This screen

  -A Activates all supportconfig functions with additional logging and full

  rpm verification.

  -B 《string》 Custom tar ball file name element

  -C Creates a new default /etc/supportconfig.conf

  -D Use defaults; ignore /etc/supportconfig.conf

  -E 《string》 Contact email address

  -F Display available supportconfig feature keywords (case-sensitive) used

  with -i and -x

  -G 《gpg_uid》 The GPG recipient‘s user ID used to encrypt the supportconfig tarball

  -H 《number》 Limit number of included HA Policy engine files

  -I 《number》 Default log file line count

  -L Create a full file listing from ’/‘

  -M 《string》 Contact terminal ID

  -N 《string》 Contact name

  -O 《string》 Contact company name

  -P 《string》 Contact phone number

  -Q Run in silent mode

  -R 《path》 Log output directory

  -S 《number》 Limit number of included SAR files

  -T 《seconds》 Binary execution timeout

  -U 《URI string》 Sets upload target URL and initiates an upload, supported

  services include: ftp, scp, http, https

  -M 《string》 Contact store ID

  -X 《number》 Max system logs line count

  -a Upload the tar ball to the specified alternate target VAR_OPTION_UPLOAD_ALT

  -b Screen buffer mode

  -d Exclude detailed disk info and scans

  -e Search root file system for eDirectory instances; -L implied. Be patient.

  -f From directory. Don’t collect report files, just use files in that

  directory.

  -g Use gzip instead of the default bzip2 compression.

  -i 《keyword list》

  Include keywords. A comma separated list of feature keywords that specify

  which features to include. Use -F to see a list of valid keywords.

  -l Gathers additional rotated logs

  -m Only gather a minimum amount of info: basic env, basic health, hardware,

  rpm, messages, y2logs

  -o Toggle listed features on or off

  -p Disable all plugins

  -q Add a uuid to the tar ball filename to ensure uniqueness

  -r 《srnum》

  Includes the Novell 11 digit service request number when uploading

  the tar ball to Novell

  -s Include full SLP service lists

  -t Target directory. Just save log files here, do not create tarball.

  -u Upload the tar ball to the specified VAR_OPTION_UPLOAD_TARGET.

  -v Performs an rpm -V for each installed rpm NOTE: This takes a long time

  to complete

  -x 《keyword list》

  Exclude keywords. A comma separated list of feature keywords that specify

  which features to exclude. Use -F to see a list of valid keywords.

  -y Only gather the minimum y2log files.

  Use Ctrl- to try and skip a function that is hanging.

  -----------------------------------------------------------------------------

  NOTE:

  This tool will create a tar ball in the /var/log directory. Please attach

  the log file tar ball to your open Service. Request at the following URL:

  https://secure-support.novell.com/eService_enu

  If you cannot attach the tar ball to the SR, then email it to the engineer.

  Please submit bug fixes or comments via:

  http://en.opensuse.org/Supportutils#Reporting_Bugs

  =============================================================================

  Support Utilities - Supportconfig

  Script Version: 2.25-197

  Script Date: 2010 04 02

  =============================================================================

  默認supportconfig或supportconfig -A執行后會將收集后的結果打包為一個nts_主機名_日期.tbz 文件,同時會生成一個以該文件名加.md5后綴的文件。

上一頁1234下一頁共4頁

  三、supportconfig常用示例

  1、supportconfig -A 收集所有日志

  代碼如下

  # supportconfig

  =============================================================================

  Support Utilities - Supportconfig

  Script Version: 2.25-290

  Script Date: 2011 07 14

  =============================================================================

  Gathering system information

  Data Directory: /var/log/nts_361way.com_140825_1504

  Basic Server Health Check.。。 Done

  RPM Database.。。 Done

  Basic Environment.。。 Done

  Basic Health Report.。。 Done

  System Modules.。。 Done

  Memory Details.。。 Done

  Disk I/O.。。 Done

  YaST Files.。。 Done

  Auditing.。。 Done

  Crash Info.。。 Done

  NTP.。。 Done

  PROC.。。 Done

  Boot Files.。。 Done

  SLERT.。。 Skipped

  Updates.。。 Done

  SMT.。。 Skipped

  Novell eDirectory.。。 Please Wait.。。 Skipped

  Novell LUM.。。 Skipped

  Novell NCP.。。 Skipped

  Novell NSS.。。 Skipped

  Novell DFS.。。 Skipped

  Novell SMS.。。 Skipped

  Novell NCS.。。 Skipped

  Novell AFP.。。 Skipped

  Novell CIFS.。。 Skipped

  Novell iManager.。。 Skipped

  HA Cluster.。。 Skipped

  OCFS2.。。 Skipped

  DRBD.。。 Skipped

  PAM.。。 Done

  LDAP.。。 Done

  CIMOM.。。 Done

  Open Files.。。 Done

  Environment.。。 Done

  ETC.。。 Done

  SYSCONFIG.。。 Done

  SYSFS.。。 Done

  System Daemons.。。 Done

  CRON.。。 Done

  AT.。。 Done

  UDEV.。。 Done

  LVM.。。 Please Wait.。。 Base Detail Done

  EVMS.。。 Skipped

  Software Raid.。。 Done

  Multipathing.。。 Done

  Networking.。。 Done

  Web.。。 Done

  InfiniBand.。。 Done

  DNS.。。 Done

  DHCP.。。 Done

  SLP.。。 Done

  SSH.。。 Done

  iSCSI.。。 Done

  Samba.。。 Done

  NFS.。。 Done

  AUTOFS.。。 Done

  SAR Files.。。 Done

  AppArmor.。。 Done

  Xen.。。 Done

  KVM.。。 Done

  X.。。 Done

  Printing.。。 Done

  SMART Disks.。。 Excluded

  Hardware.。。 Please Wait.。。 Done

  File System List.。。 Skipped

  Supportability Analysis.。。 Please Wait.。。 Done

  System Logs.。。 Done

  Creating Tar Ball

  ==[ DONE ]===================================================================

  Log file tar ball: /var/log/nts_361way.com_140825_1504.tbz

  Log file size: 4.0M

  Log file md5sum: 484b111cda54ca04419facd82a1da7d7

  Please attach the log file tar ball to your open Service Request at the

  following URL:

  https://secure-support.novell.com/eService_enu

  You can also upload the tar ball to ftp.novell.com/incoming, or just use

  supportconfig -ur 《srnum》, to upload the tar ball automatically.

  If you cannot attach the tar ball to the SR, then email it to the engineer.

  ============================================================================= 

  其他常用用法:

  //以最小選項搜集所需的信息

  # supportconfig -m

  //在輸出中包含附加的聯系人信息

  # supportconfig -E tux@example.org -N “Tux Penguin” -O “Penguin Inc.” 。。。

  //要查看完整的功能列表

  # supportconfig -F

  //僅收集某個模塊的用法,如LVM相的信息

  # supportconfig -i LVM

  //-x 的功能與-i剛好相反,是排除某個模塊不收集

  # supportconfig -x LVM

  //使用-U url 可以將收集的結果上傳到服務器上,直接的服務有ftp, scp, http, https,如:

  # supportconfig -A -U http://www.361way.com/files/

  具體可以參看官方的 常用的supportconfig選項 部分 。

  supportconfig收集的系統健康報告:

  代碼如下

  # supportconfig -A

  # cd /var/log

  # tar jxvf nts_361way.com_140825_1504.tbz

  # more basic-health-report.txt

  #==[ Command ]======================================#

  # /usr/bin/schealth -q

  ######################################################################

  Supportconfig Health Check Report Tool v1.00-5

  Date Checked: 09/12/14 04:40:37

  ######################################################################

  Health Check Files [ Green ]

  Processes Waiting for Run Queue [ Green ]

  Kernel Taint Status [ Red ]

  Kernel Tainted: 64 》 0

  CPU Utilization [ Green ]

  Interrupts Per Second [ Green ]

  Context Switches Per Second [ Green ]

  Free Memory and Disk Swapping [ Green ]

  Used Disk Space [ Green ]

  Uninterruptible Processes [ Green ]

  Zombie Processes [ Green ]

  ######################################################################

  Status: Red Flag

  Checked: /var/log/nts_361way.com_140825_1504/basic-health-check.txt

  Report: /var/log/nts_361way.com_140825_1504/basic-health-report.txt

  ######################################################################

  上面的報告中,我們發現kernel Tainted 狀態為red ,該處是通過cat /proc/sys/kernel/tainted 進行判斷的,如果值不為0,則是內核受到污染 ,顯的值不同,具體可以參看/usr/src/linux/Documentation/sysctl/kernel 文件(具體的值不一樣,代表的意義也不一樣)。64報紅是由于加載了非系統官方或非開源的模塊所致( Unsupported modules loaded)。

  四、supportconfig配置文件

  supportconfig的默認配置文件是 /etc/supportconfig.conf ,其默認內容如下:

  代碼如下

  # cat /etc/supportconfig.conf

  ####################################

  # Default Options

  ####################################

  OPTION_AFP=1

  OPTION_APPARMOR=1

  OPTION_AUDIT=1

  OPTION_AUTOFS=1

  OPTION_BOOT=1

  OPTION_CHKCONFIG=1

  OPTION_CIFS=1

  OPTION_CIMOM=1

  OPTION_CRASH=1

  OPTION_CRON=1

  OPTION_DFS=1

  OPTION_DHCP=1

  OPTION_DISK=1

  OPTION_DNS=1

  OPTION_EDIR=1

  OPTION_ENV=1

  OPTION_ETC=1

  OPTION_EVMS=1

  OPTION_HA=1

  OPTION_HCREPORT=1

  OPTION_IB=1

  OPTION_ISCSI=1 

  OPTION_LDAP=1

  OPTION_LUM=1

  OPTION_LVM=1

  OPTION_MEM=1

  OPTION_MOD=1

  OPTION_MPIO=1

  OPTION_NCP=1

  OPTION_NCS=1

  OPTION_NET=1

  OPTION_NFS=1

  OPTION_NSS=1

  OPTION_NTP=1

  OPTION_OCFS2=1

  OPTION_OFILES=1

  OPTION_PAM=1

  OPTION_PRINT=1

  OPTION_PROC=1

  OPTION_SAM=1

  OPTION_SAR=1

  OPTION_SLERT=1

  OPTION_SLP=1

  OPTION_SMART=0

  OPTION_SMB=1

  OPTION_SMS=1

  OPTION_SMT=1

  OPTION_SRAID=1

  OPTION_SSH=1

  OPTION_SYSCONFIG=1

  OPTION_SYSFS=1

  OPTION_UDEV=1

  OPTION_UP=1

  OPTION_UPD=1

  OPTION_WEB=1

  OPTION_X=1

  OPTION_XEN=1

  ADD_OPTION_EDIR=0

  ADD_OPTION_FSLIST=0

  ADD_OPTION_LOGS=0

  ADD_OPTION_MINDISK=0

  ADD_OPTION_MINYAST=0

  ADD_OPTION_RPMV=0

  ADD_OPTION_SLP=0

  VAR_OPTION_BIN_TIMEOUT_SEC=300

  VAR_OPTION_CONTACT_COMPANY=“”

  VAR_OPTION_CONTACT_EMAIL=“”

  VAR_OPTION_CONTACT_NAME=“”

  VAR_OPTION_CONTACT_PHONE=“”

  VAR_OPTION_CONTACT_STOREID=“”

  VAR_OPTION_CONTACT_TERMINALID=“”

  VAR_OPTION_CUSTOM_ARCH=“”

  VAR_OPTION_GPG_UID=“”

  VAR_OPTION_LINE_COUNT=500

  VAR_OPTION_LOG_DIRS=“/var/log /tmp”

  VAR_OPTION_MSG_MAXSIZE=500000

  VAR_OPTION_PENGINE_FILES_LIMIT=250

  VAR_OPTION_SAR_FILES_LIMIT=30

  VAR_OPTION_SBM=0

  VAR_OPTION_SILENT=0

  VAR_OPTION_UNIQUE_FILE=0

  VAR_OPTION_UPLOAD_ALT=‘https://secure-www.novell.com/upload?appname=supportconfigfile={tarball}’

  VAR_OPTION_UPLOAD_TARGET=‘ftp://ftp.novell.com/incoming’

  配置文件中列出了默認收集的模塊信息,公司信息、郵件、電話及上傳的服務器目錄等。

  五、supportconfig總結

  supportconfig是使用shell 編寫的一個功能十分強大的工具,具體可以通過vim /sbin/supportconfig 查看 。同時,由于linux命令上的通用性,我們甚至可以很簡單的進行修改后將其移植到其他linux 發行版上。不過顯然這是沒必要的,因為還有一個比較通的用的開源工具sosreport和其作用差不多,而其適用性更強。

  supportconfig在Linux系統的安裝使用就介紹到這里了,supportconfig的用法還有很多,用戶可根據本文的方法舉一反三,掌握更多用法。

標簽:大興安嶺 樂山 六安 遼寧 周口 大慶 青島 大理

巨人網絡通訊聲明:本文標題《Linux系統如何安裝和使用shell編寫的工具supportconfig》,本文關鍵詞  Linux,系統,如何,安裝,和,;如發現本文內容存在版權問題,煩請提供相關信息告之我們,我們將及時溝通與處理。本站內容系統采集于網絡,涉及言論、版權與本站無關。
  • 相關文章
  • 下面列出與本文章《Linux系統如何安裝和使用shell編寫的工具supportconfig》相關的同類信息!
  • 本頁收集關于Linux系統如何安裝和使用shell編寫的工具supportconfig的相關信息資訊供網民參考!
  • 推薦文章
    婷婷综合国产,91蜜桃婷婷狠狠久久综合9色 ,九九九九九精品,国产综合av
    激情偷乱视频一区二区三区| www.亚洲精品| 欧美日韩高清一区二区| 自拍偷在线精品自拍偷无码专区| 琪琪久久久久日韩精品| 欧美日韩一二三区| 福利一区福利二区| 一个色在线综合| 国产精品美女久久久久久| 国产精品看片你懂得| 欧美人与z0zoxxxx视频| 777奇米四色成人影色区| 欧美日本高清视频在线观看| 欧美美女激情18p| 欧美在线一二三| 欧美精选一区二区| 欧美成人女星排名| 久久亚洲欧美国产精品乐播| 精品视频在线看| 欧美一二三区精品| 国产日韩欧美精品一区| 亚洲国产精品黑人久久久| 欧美乱妇15p| 久久久一区二区三区| 日韩亚洲欧美综合| 最新欧美精品一区二区三区| 久久女同性恋中文字幕| 欧美精彩视频一区二区三区| 欧美极品另类videosde| 26uuu精品一区二区三区四区在线| 在线一区二区三区四区五区| 欧美伦理电影网| 制服丝袜中文字幕一区| 精品日韩一区二区三区| 亚洲精品一线二线三线无人区| 国产精品视频在线看| 国产一区二区三区综合| 欧美一级日韩一级| 日韩美女精品在线| 日本aⅴ亚洲精品中文乱码| 成人a区在线观看| 日韩免费观看高清完整版在线观看| 国产精品五月天| 日韩精品欧美精品| 国产成人精品1024| 精品国产1区2区3区| 日本欧美一区二区在线观看| 欧美性猛交xxxx黑人交| 成人免费一区二区三区视频 | 中文无字幕一区二区三区 | 91精品国产色综合久久不卡蜜臀| 国产精品久久久久久久久晋中| 久久er99精品| 久久久久一区二区三区四区| 久久9热精品视频| 日韩精品一区二区在线观看| 日本午夜一本久久久综合| 欧美剧情片在线观看| 一个色妞综合视频在线观看| 欧美三级日韩在线| 蜜桃久久av一区| 久久久久久久av麻豆果冻| 男人操女人的视频在线观看欧美| 国产欧美精品区一区二区三区 | 日日骚欧美日韩| 一本久久a久久精品亚洲| 午夜久久久久久久久久一区二区| 欧美精品一卡两卡| 粗大黑人巨茎大战欧美成人| 日韩精品一区二区三区四区| 成人a免费在线看| 亚洲综合免费观看高清完整版在线| 欧美日韩亚洲国产综合| 国产aⅴ精品一区二区三区色成熟| 国产精品视频观看| 日韩精品中午字幕| 欧美在线一二三四区| 国产精品亚洲а∨天堂免在线| 欧美mv日韩mv国产| 99久久99久久综合| 亚洲视频一二区| 91精品欧美久久久久久动漫| 精东粉嫩av免费一区二区三区| 亚洲图片欧美激情| 丁香激情综合五月| 亚洲图片欧美色图| 亚洲欧洲精品一区二区精品久久久| 欧美日韩成人综合天天影院 | 国产福利一区二区三区视频| 久久久不卡网国产精品二区| 日韩一区国产二区欧美三区| av电影一区二区| 久久99久久精品| 亚洲妇女屁股眼交7| 亚洲欧美日韩在线不卡| 欧美激情艳妇裸体舞| 欧美一区二区免费视频| 91精品国产91久久久久久最新毛片| 91亚洲永久精品| hitomi一区二区三区精品| 国产99久久久国产精品免费看| 国内精品久久久久影院色| 日韩中文欧美在线| 亚洲综合一区在线| 亚洲一区在线观看网站| 亚洲人成小说网站色在线 | 欧美国产精品专区| 国产精品超碰97尤物18| 亚洲精品视频观看| 成人免费一区二区三区在线观看| 国产精品网友自拍| 国产清纯在线一区二区www| 精品国产亚洲在线| 日韩精品一区二区在线观看| 日韩欧美专区在线| 久久久久久久网| 日本一区二区成人在线| **欧美大码日韩| 麻豆91在线播放免费| 成人免费视频播放| 成人精品免费网站| 欧美性色黄大片| 亚洲欧洲精品一区二区三区不卡| 亚洲一区二区三区在线| 亚洲成人一区二区在线观看| 日韩精品视频网| 久久精品国产一区二区| 久久国产生活片100| 99久久99精品久久久久久 | 亚洲精品久久7777| 蜜臀av性久久久久蜜臀aⅴ四虎| 精品中文字幕一区二区| 六月婷婷色综合| 欧美日韩视频在线第一区| 久久综合久久综合久久综合| 国产精品不卡在线| 日韩不卡免费视频| 国产激情91久久精品导航 | 久久久99久久精品欧美| 亚洲一区二区三区小说| 久久精品二区亚洲w码| 色婷婷av一区二区三区软件| 国产喷白浆一区二区三区| 美女网站色91| 一本色道久久综合狠狠躁的推荐| 国产亚洲成aⅴ人片在线观看| 国产精品亚洲综合一区在线观看| 欧美日韩情趣电影| 久久疯狂做爰流白浆xx| 91麻豆精品国产91久久久更新时间 | 国产在线一区二区| 成人免费av在线| 亚洲精品一区二区三区福利| 综合在线观看色| 99在线热播精品免费| 久久精品免视看| 国产麻豆成人精品| 亚洲国产精华液网站w| 日韩欧美在线1卡| 日本欧美韩国一区三区| 欧美丰满一区二区免费视频| 午夜欧美视频在线观看| 精品国产乱码久久久久久久| 自拍偷拍国产亚洲| 欧美午夜一区二区三区| 午夜私人影院久久久久| 2020国产精品自拍| 国产另类ts人妖一区二区| 精品久久99ma| 国产美女在线观看一区| 欧美成人性福生活免费看| 99久久精品99国产精品| 亚洲国产精品一区二区久久恐怖片| 在线观看视频一区二区| 亚洲1区2区3区视频| 国产亚洲一二三区| 色偷偷成人一区二区三区91| 麻豆精品国产91久久久久久 | 99精品国产99久久久久久白柏| 一区二区三国产精华液| 岛国精品在线播放| 国产在线精品免费| 国产精品国产a| 一本一道综合狠狠老| 舔着乳尖日韩一区| 一区二区三区电影在线播| 日本一区二区不卡视频| 日韩一级黄色大片| 制服丝袜亚洲网站| 粉嫩一区二区三区性色av| 精品系列免费在线观看| 亚洲美女电影在线| 亚洲精品视频免费看| 欧美激情一区二区三区蜜桃视频| 91成人免费在线| 日本精品裸体写真集在线观看| 97aⅴ精品视频一二三区| 国产成人精品亚洲日本在线桃色| 亚洲成人动漫在线观看| 亚洲三级电影网站|