Skip to content

v1.7.0

Latest
Compare
Choose a tag to compare
@zpiatt zpiatt released this 27 May 15:30
· 20 commits to main since this release

Release Notes for Health 1.7.0, May 27, 2024

Overview

Health 1.7.0 is a command-line RHEL system check tool written in bash 3.2+. This release includes a comprehensive set of features to monitor and report on system statistics, disk usage, kernel updates, network details, and more. This script aims to help system administrators maintain and troubleshoot their RHEL environments effectively.

Features

  • System Statistics:
    • Display hostname, server info, Linux version, kernel version, uptime, logged-in users, memory usage, top processes by memory and CPU.
  • Disk Usage:
    • Display colorized file system disk space usage.
    • Display colorized file system inode usage.
    • Check for full file systems and inodes.
    • Report the 10 largest files in a specified directory tree.
    • Report the 10 largest directories by inode usage.
  • Error Checks:
    • Parse dmesg for alerts, errors, etc.
    • Check mounts for common errors.
    • Search for common file permission vulnerabilities.
  • Kernel and Network:
    • Display kernel information and check for updates.
    • Display basic network details including interfaces, gateways, DNS servers, and NFS servers.
    • Check the health of remote hosts.
  • Miscellaneous:
    • Show users with open files.
    • Show passwd info for specified users.
    • Display zombie process count, if any.

Usage

Usage: health [OPTION]... [DIRECTORY]...
Display general system statistics and check for common errors.

  -d,   display colorized file system disk space usage
  -e,   parse dmesg for alerts, errors, etc. (may require sudo)
  -f,   report 10 largest files in specified directory tree
  -h,   display this help and exit
  -i,   display colorized file systems inodes usage
  -k,   display kernel information; check for updates
  -m,   check mounts for common errors
  -n,   display basic network details
  -o,   show users with open files (may require sudo)
  -r,   display health on remote host
  -s,   search for common file permission vulnerabilities
  -u,   report 10 largest directories by inode usage
  -v,   display version number and exit
  -w,   show passwd info for specified user
  -z,   display zombie process count, if any

Full documentation <https://github.com/zpiatt/health>