| fsocli | ||
| LICENSE | ||
| README.md | ||
fsocli - A CLI Tool for Docker and System Monitoring
fsocli is a lightweight command-line tool It provides an easy way to check memory usage of running docker containers, get information about the tool itself, and update to the latest version.
Table of Contents
Installation
1. Download the Script
Download the script directly using curl:
curl -s -o fsocli https://git.bytegold.dev/fsoc/fsocli/raw/branch/main/fsocli
2. Make the Script Executable
Set the script as executable:
chmod +x fsocli
3. Move the Script to a Directory in Your PATH
To run fsocli from anywhere, move it to a directory in your PATH, such as /usr/local/bin:
sudo mv fsocli /usr/local/bin/
Command Descriptions
fsocli docker mem
Show memory usage of running Docker containers in a clean table format.
Description: Displays a table of all running Docker containers and their memory usage, sorted by memory consumption. If no containers are running, it will inform you.
fsocli about
Display information about fsocli.
Description:
Shows details about the fsocli tool, including the repository URL, description, license, and maintainer information.
fsocli update
Update fsocli to the latest version.
Description:
Fetches the latest version of fsocli from the repository and replaces the current script. You will be prompted to confirm before the update proceeds.
Usage
Docker Memory Monitoring
fsocli docker mem
About
fsocli about
Update
fsocli update
Notes
- Ensure you have
curl,git, anddockerinstalled on your system. - You need write permissions to the installation directory (e.g.,
/usr/local/bin/). - The script will prompt for confirmation before updating.
License
This project is dedicated to the public domain under the CC0 1.0 Universal (CC0 1.0) Public Domain Dedication.
To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty.
You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see http://creativecommons.org/publicdomain/zero/1.0/.