/sysinfo

One-liner system info script for Linux and various Unix flavors.

Primary LanguagePerlOtherNOASSERTION

sysinfo

One-liner system info script for Linux and various Unix flavors.

This script was originally written by David Rudie in 2002-2005. For a time after that, with David's permission, I added support for a number of new systems and added a few new features.

It's now been quite a number of years since this was actively maintained beyond simple fixes to allow it to run on newer kernels, but I still get quite a few requests for it. For that reason, I am adding it to git now so that it's easily accessible and others can contribute if they would like to.

Examples:

Hostname: castle - OS: Linux 5.15.0-27-generic/x86_64 - Distro: Ubuntu 22.04 LTS - CPU: 16 x AMD Ryzen 7 5800X 8-Core (2200 MHz) - Processes: 461 - Uptime: 6d 3h 27m - Users: 3 - Load Average: 0.56 - Memory Usage: 19517/32012 MB (61%) - Disk Usage: 787/932 GB (85%)

Hostname: flapper - OS: Linux 5.10.103+/armv6l - Distro: Raspbian 10 (Buster) - CPU: ARMv6 rev 7 (v6l) (700 MHz) - Processes: 78 - Uptime: 1h 8m - Users: 0 - Load Average: 0.13 - Memory Usage: 66/367 MB (18%) - Disk Usage: 2/7 GB (33%)