Saved in:
Bibliographic Details
Main Authors: Tonon, Andrea, Caglayan, Bora, Wang, MingXue, Hu, Peng, Shen, Fei, Zhang, Puchao
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2408.05592
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910562852536320
author Tonon, Andrea
Caglayan, Bora
Wang, MingXue
Hu, Peng
Shen, Fei
Zhang, Puchao
author_facet Tonon, Andrea
Caglayan, Bora
Wang, MingXue
Hu, Peng
Shen, Fei
Zhang, Puchao
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2408_05592
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle SHREC: a SRE Behaviour Knowledge Graph Model for Shell Command Recommendations
Tonon, Andrea
Caglayan, Bora
Wang, MingXue
Hu, Peng
Shen, Fei
Zhang, Puchao
Software Engineering
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.
title SHREC: a SRE Behaviour Knowledge Graph Model for Shell Command Recommendations
topic Software Engineering
url https://arxiv.org/abs/2408.05592