stats

command module
v0.0.0-...-f85afdc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 14, 2026 License: MIT Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

stats

Display operating system stats

example workflow

Install

go install github.com/mikemadden42/stats@latest

Or run it from a clone with go run ..

Example output

arch: arm64
boot time: 3 days ago
hostname: example.local
ips:
	127.0.0.1/8
	::1/128
	10.0.0.19/24
kernel: 27.2.0
os: macOS 27.2.1
timezone: CST
timezone offset: -21600
id: 00000000-0000-0000-0000-000000000000
uptime: 72h12m49s

available mem: 9.7 GiB
free mem: 496 MiB
total mem: 24 GiB
used mem: 14 GiB

go arch: arm64
go cores: 8
go os: darwin
go version: go1.27.4

Sections the OS doesn't report (such as MAC addresses or virtual memory on macOS) are left out.

Note: the id: line is the machine's unique ID, and the output also includes the hostname and IP addresses. Redact them before sharing output publicly.

Documentation

Overview

Package main displays operating system stats.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址