arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.05592cs.SE
收藏

SHREC:一种用于 Shell 命令推荐的 SRE 行为知识图谱模型

SHREC: a SRE Behaviour Knowledge Graph Model for Shell Command Recommendations

Andrea Tonon, Bora Caglayan, MingXue Wang, Peng Hu, Fei Shen, Puchao Zhang

AI总结:

针对 SRE 的 Shell 命令因参数冗长难以记忆且经验知识易流失的问题,本文提出 SHREC 模型,通过从历史操作中构建行为知识图谱并实时推荐命令,提升运维效率并实现知识共享与复用。

摘要:

在 IT 系统运维中,Shell 命令是站点可靠性工程师(SRE)用于日常任务的常见命令行工具,例如系统配置、软件包部署和性能优化。由于 Shell 命令常常旨在执行关键操作(如系统故障解决),其执行效率具有至关重要的业务影响。然而,许多 Shell 命令包含较长的参数,导致难以记忆和输入。此外,SRE 使用这些命令的经验和知识几乎总是未被保存。在本工作中,我们提出 SHREC,一种用于 Shell 命令推荐的 SRE 行为知识图谱模型。我们将 SRE 的 Shell 行为知识建模为知识图谱,并提出一种直接从 SRE 历史 Shell 操作中提取此类知识的策略。随后利用该知识图谱实时提供 Shell 命令推荐,以提高 SRE 的运维效率。我们基于公司内部执行的真实 Shell 命令进行的实证研究表明,SHREC 能够提高 SRE 运维效率,实现 SRE 知识的共享与复用。

英文摘要:

In IT system operations, shell commands are common command line tools used by site reliability engineers (SREs) for daily tasks, such as system configuration, package deployment, and performance optimization. The efficiency in their execution has a crucial business impact since shell commands very often aim to execute critical operations, such as the resolution of system faults. However, many shell commands involve long parameters that make them hard to remember and type. Additionally, the experience and knowledge of SREs using these commands are almost always not preserved. In this work, we propose SHREC, a SRE behaviour knowledge graph model for shell command recommendations. We model the SRE shell behaviour knowledge as a knowledge graph and propose a strategy to directly extract such a knowledge from SRE historical shell operations. The knowledge graph is then used to provide shell command recommendations in real-time to improve the SRE operation efficiency. Our empirical study based on real shell commands executed in our company demonstrates that SHREC can improve the SRE operation efficiency, allowing to share and re-utilize the SRE knowledge.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑