v-filip / ec2_system_stats.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ec2_system_stats.sh

Simple script that I personally use on an ec2 instance hosting my webserver


Oneliner

wget https://raw.githubusercontent.com/v-filip/ec2_system_stats.sh/main/ec2_system_stats.sh &> /dev/null ; sudo chmod +x ec2_system_stats.sh ; ./ec2_system_stats.sh --verbose

Usage

Install

wget https://raw.githubusercontent.com/v-filip/ec2_system_stats.sh/main/ec2_system_stats.sh &> /dev/null ; chmod +x ec2_system_stats.sh ; ./ec2_system_stats.sh --install

Uninstall

wget https://raw.githubusercontent.com/v-filip/ec2_system_stats.sh/main/ec2_system_stats.sh &> /dev/null ; chmod +x ec2_system_stats.sh ; ./ec2_system_stats.sh --uninstall

Help

./ec2_system_stats.sh --h [OR]

~/.scripts ❯ ./ec2_system_stats.sh --help [OR]

~/.scripts ❯ ./ec2_system_stats.sh help

    -v --verbose
        Prints more info!
    -i --install
        Installs the script for future use
    -u --uninstall
        Uninstalls the script

Standard

pic1


Verbose

pic1

About

License:MIT License


Languages

Language:Shell 100.0%