Linux System Checker

by, Yevgeniy Goncharov, 28-Feb-2023
  • system
  • check
  • linux
  • tool
  • bash

Linux System Checker - bash script which can show system info, system load info, test disk speed I/O, show free space and etc.

System Checker can checks and shows Linux system info:

  • System Information
  • CPU Information
  • Memory Information
  • Boot Information
  • Mount Information
  • Test disk IO
  • Top 5 memory usage processes
  • Top 5 CPU usage processes
  • Speedtest
  • Defined Systemd Units Services State
  • Logged and Process users info
  • Listen ports
  • All running systemd unit services
  • All running processes as tree

Main benefits - tool is not required third party installed components in to target system. System Checks uses only native Linux utilities like as lscpu, awk, curl and etc.

Tested and while using on:

  • Debian 11 Debian Logo 32.png,
  • RHEL-Based from 7+ releases RHEL Logo 32.png,
  • Fedora Workstation/Server Fedora Logo 32.png.

System Information

Sys-Admin System Checks Tool

  • Hostname
  • Distributive name and version
  • Internal/Eternal IP addresses
  • Kernel version and architecture
  • Current active username
  • Current load average
  • eBPF Status

CPU Information

Sys-Admin System Checks Tool

  • CPU model name
  • Vendor ID
  • Number of Cores
  • CPU MHz
  • Hypervisor vendor/type
  • CPU usage in percent

Memory Information

Sys-Admin System Checks Tool

  • Total memory size
  • Memory usage
  • Total swap size (if exists)
  • Swap usage
  • Top 5 memory usage apps

Sys-Admin System Checks Tool

Boot Information

Sys-Admin System Checks Tool

  • Current active username
  • Last boot date and time
  • Uptime
  • Last 3 reboot info
  • Last info (last logged users, reboots)

Disk Information

Sys-Admin System Checks Tool

  • Mount pints
  • Disk usage with statuses
  • Each mounted disk usage in percents
  • Results of IO testing

Sys-Admin System Checks Tool

Defined Systemd Units Statuses

You can define services-list.txt of services in cloned repo catalog and then run system-checks.sh:

Sys-Admin System Checks Tool

Extra options

  • -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)
  • -h - help info

Extra Info

Usernames list from loaded processes

Sys-Admin System Checks Tool

Logged user details

Sys-Admin System Checks Tool

Listen ports

Sys-Admin System Checks Tool

All running systemd units

Sys-Admin System Checks Tool

Processes tree

Sys-Admin System Checks Tool

Unowned files list

Sys-Admin System Checks Tool

If all files correct you can see 'Ok' status: Sys-Admin System Checks Tool

Repository