supportconfig 日志gle 从 SUSE 或 SLES Linux 系统收集各种系统日志、配置文件和命令输出。这是一种从操作系统收集诊断信息的标准化方法,供戴尔域工程师和 Linux 供应商支持进行调查。
在 SUSE Linux Enterprise Server 中,“supportutils”软件包提供“supportconfig”命令。
要验证程序包安装:
# rpm -q supportutils
supportutils-3.1.21-150300.7.35.15.1.noarch
如果出于某种原因未安装“supportutils”软件包,则可以使用“zypper install supportutils”进行安装:
# zypper install supportutils
要生成 supportconfig 日志包,请以 root 用户身份运行:
# supportconfig
日志包(及其关联的校验和文件)通常保存在 /var/log/ 中。较旧版本的 SLES 可能会保存到其他位置,但在命令输出中指定:
Example:
# ls /var/log/scc*
/var/log/scc_leap15-1.local.net_230509_1258.txz
/var/log/scc_leap15-1.local.net_230509_1258.txz.md5
生成后,用户可能需要将日志捆绑包复制到本地系统。通常,用户使用 SCP 应用工具(如“WinSCP”)来复制或下载文件。这只需要对服务器的 SSH 访问权限。
请参阅:
https://documentation.suse.com/sles/15-SP1/html/SLES-all/cha-adm-support.html