Skip to content

Latest commit

 

History

History
101 lines (81 loc) · 2.18 KB

README.md

File metadata and controls

101 lines (81 loc) · 2.18 KB

System Checker script

Works on this time only CentOS / Fedora / Debian.

  • this script does not make any changes to your system
  • during operation, temporary files can be created in /tmp catalog

Features list

  • System info
    • Hostname
    • Distributive
    • Lical IP
    • External IP
    • SELinux status
    • Kernel / Architecture
    • Load average
    • Active user
  • CPU
    • Model name
    • Vendor
    • Cores / MHz
    • Hypervizor vendor
    • CPU usage
  • Memory usage
    • Total / Usage
    • Swap total / Usage
  • Boot information
    • Last boot
    • Uptime
    • Active user
    • Last 3 reboot
    • Last logons info
  • Disk Usage
    • Mount information
    • Disk utilization
    • Disc IO speed (Read / Write)
    • Show read-only mounted devices
  • Average information
    • Top 5 memory usage processes
    • Top 5 CPU usage processes
  • Speedtest
    • Washington, D.C. (east)
    • San Jose, California (west)
    • Frankfurt, DE, JP
  • Checking systemd services status
    • You can define services list
    • Show information form default list (nginx, mongo, rsyslog and etc)
  • Bash users
  • Who logged
  • Listen ports
  • Unowned files
  • User list from processes

Parameters

  • -sn - Skip speedtest
  • -sd - Skip disk test
  • -ss - Show all running services
  • -e - Extra info (Bash users, Who logged, All running services, Listen ports, UnOwned files, User list from processes)

Usage

You can use this script with several parameters:

./system-check.sh -sn -sd -e
./system-check.sh -ss

How to run?

You can run script directly:

wget -O - https://raw.githubusercontent.com/m0zgen/system-checks/master/system-check.sh | bash

Or you can clone repository:

git clone https://github.com/m0zgen/system-checks.git

After clone go to folder and run script:

cd system-checks && ./system-check.sh

Repository

Description

Thanks