The goal is to create a tool that automates system administration tasks, making life easier for sysadmins. This could be a command-line interface (CLI) application that helps with monitoring, managing, and troubleshooting systems.
Building a System Administrator Tool is an excellent way to apply Go skills to real-world problems. This project is a testing application to explore new possibilities and gain more knowledge in Go. Let's see what happens in the future!
- System Monitoring: Monitor critical system metrics including CPU usage, memory consumption, memory swap, and network traffic.
- Process Monitoring: View a detailed list of running processes, similar to the output of the top command in Linux.
- Command-Line Interface: Simple and intuitive commands to fetch system information quickly.
This CLI tool offers three main commands:
-
run
: Displays real-time statistics for CPU, memory, memory swap, and network usage../sysadmin-cli run
-
info
: Provides detailed information about the CPU, including statistics and usage../sysadmin-cli info
-
proc
: Lists all currently running processes, similar to the top command in Linux../sysadmin-cli info
- Go's os/exec package: For running shell commands, executing scripts, or automating tasks.
Contributions are welcome! If anyone have interest to work with this project, hit a fork button....
This project is licensed under the Apache-2.0 License.