310 Command-Line Superpowers in One Repo: util_box Puts a Whole Toolbox in Your Termux Pocket

310 Command-Line Superpowers in One Repo: util_box Puts a Whole Toolbox in Your Termux Pocket

util_box on GitHub — 310 small, sharp command-line utilities for Termux and Linux, in one repo. File organization, text tools, system and network monitors, disk tools, archives and converters, Termux/Android helpers, dev helpers — and a few just for fun. Every utility is a real working tool with a --help and a --selftest; nothing is a stub.

310 small, sharp command-line utilities: file organization, text tools, system and network monitors, disk tools, archives and converters, Termux/Android helpers, converters and generators, dev helpers, and a few just for fun. Every utility is a real working tool with a --help and a --selftest; nothing is a stub.

Install

git clone https://github.com/cnmcdee/util_box.git
cd util_box
make

make compiles the C/C++ utilities into bin/ (113 of the 310). The Python (172) and bash (25) utilities are scripts that run directly — no build step is needed for them. Everything is standard library / coreutils / POSIX only: no third-party packages, no GUI, no exotic dependencies.

Put bin/ on your PATH to run the utilities by name from anywhere:

export PATH="$PWD/bin:$PATH"

### Termux (Android)

pkg install clang python
git clone https://github.com/cnmcdee/util_box.git
cd util_box
make
export PATH="$PWD/bin:$PATH"

clang builds the C/C++ tools on-device; python runs the Python ones. The tx* utilities also need the Termux:API app (pkg install termux-api) for the Android features they wrap — without it they print a clear message instead of crashing, and several have a Linux fallback (txstorage falls back to df, txbattery to /sys).

Build and test

make              # compile the C/C++ utilities into bin/
tests/run_all.sh  # build, then run every --help and --selftest

The test runner builds first, then runs all 310 smoke tests in parallel (up to 8 concurrent, & + wait) with a 60 s timeout each, and reports pass/fail per utility. It exits 0 only if the build and every test pass.

Usage

Every utility is one command with a --help and a --selftest:

bigfind --help        # what it does and all its flags
bigfind -n 5 ~/Downloads
dupfind --selftest    # built-in check on sample files, exit 0 on success

Most utilities take a directory or a file and print a report to stdout; several offer --json for scripting. Tools that change files (renumber, permfix, gitclean, searchrep, ...) show a preview by default and only change anything with an explicit flag such as --apply or --move — run them without the flag first to see the plan. To check the whole set after building:

tests/run_all.sh      # build, then run every --help and --selftest

The quickest way to find the right tool is the tables below (one row per utility) or the detailed Utilities section at the end, which has a worked example for every one of the 310.

At a glance

  • Utilities: 310 — every one a real working tool with --help and --selftest; nothing is a stub.
  • Languages: C: 113  ·  Python: 172  ·  bash: 25
  • Tests: 310/310 green — tests/run_all.sh builds, then runs every --help and --selftest.
  • Dependencies: Standard library / coreutils / POSIX only. No third-party packages, no GUI, no exotic dependencies.
  • Termux: Builds on-device with pkg install clang python, then make. The tx* tools wrap the Termux:API app and degrade gracefully without it.

The 310 utilities

One section per utility: what it does, a command example you can run (every example below was run in a fresh scratch directory and verified to work), and a screenshot of it in action. The examples assume bin/ is on your PATH. Tools that change files show a preview first — add the --apply / --move flag shown in --help when you are ready to apply it.

Slice A — File organization & dedup (25)

#NameLanguageDescription
001dustackPythonshow which subdirectories grew most since the last snapshot (growth tracker, not just du)
002dupfindCfind duplicate files by content hash, with a keep-newest/largest policy and a dry-run plan
003namefixPythonrename files to a safe portable scheme (strip weird chars, optional lowercase) with an undo log
004exifsortPythonsort photos into YYYY/MM folders by EXIF/date, dry-run first
005emptyhuntPythonfind empty directories deepest-first, report and optionally remove
006flatpackPythonflatten a nested tree into one directory, resolving name clashes with suffixes
007splitjoinCsplit a file into N MB chunks and rejoin from a manifest with checksums
008bigfindCtop-N largest files with age, type and parent-dir context
009oldfilesPythonfiles untouched for X days grouped by directory, with size totals and an archive plan
010renumberPythonrename a set of files to a sequential numbered scheme, preserving extensions, with preview
011casefixPythonfix filename case collisions (Foo.txt vs foo.txt) for case-insensitive filesystems
012extfixPythondetect a file's real type by magic bytes and fix a wrong extension
013dirwatchPythonsnapshot a directory tree (names+sizes+hashes) and later diff it to show exactly what changed
014treecleanPythonremove common junk (thumbs.db, .DS_Store, *~, __pycache__) with a preview and count
015sortbyagePythonmove files into folders by age buckets (today / this week / this month / older)
016hashmanifestCcreate a sha256 manifest of a tree; verify it later
017fileagePythona file's age in human terms plus its birth time when the filesystem reports one
018nestcountPythoncount files by depth level in a tree (how deep is the mess?)
019similarPythonfind near-duplicate filenames (fuzzy match) that may be duplicates under different names
020archagePythonfind archives older than X days and report their compression ratios
021copysafePythoncopy a tree with post-copy hash verification and resume on interruption
022moveplanPythondry-run planner: given move rules, show what would move where, then apply
023linkcheckPythonfind broken symlinks in a tree, with their targets
024hardlinkPythonfind files with multiple hard links and report the link groups
025lostfoundPythondigital-hoarding report: files untouched 2+ years and over 100 MB

dustack

show which subdirectories grew most since the last snapshot (growth tracker, not just du)

dustack --snapshot snap.json .
dustack --compare snap.json .
dustack screenshot

dupfind

find duplicate files by content hash, with a keep-newest/largest policy and a dry-run plan

dupfind .
dupfind screenshot

namefix

rename files to a safe portable scheme (strip weird chars, optional lowercase) with an undo log

namefix --dry-run .
namefix screenshot

exifsort

sort photos into YYYY/MM folders by EXIF/date, dry-run first

exifsort --dry-run .
exifsort screenshot

emptyhunt

find empty directories deepest-first, report and optionally remove

emptyhunt .
emptyhunt screenshot

flatpack

flatten a nested tree into one directory, resolving name clashes with suffixes

flatpack --dry-run tree/ flat/
flatpack screenshot

splitjoin

split a file into N MB chunks and rejoin from a manifest with checksums

splitjoin split sample.bin --size 1
splitjoin join sample.bin.manifest --out rejoined.bin
splitjoin screenshot

bigfind

top-N largest files with age, type and parent-dir context

bigfind -n 5 .
bigfind screenshot

oldfiles

files untouched for X days grouped by directory, with size totals and an archive plan

oldfiles --days 30 .
oldfiles screenshot

renumber

rename a set of files to a sequential numbered scheme, preserving extensions, with preview

renumber --dry-run --prefix img photos/
renumber screenshot

casefix

fix filename case collisions (Foo.txt vs foo.txt) for case-insensitive filesystems

casefix --dry-run .
casefix screenshot

extfix

detect a file's real type by magic bytes and fix a wrong extension

extfix --dry-run .
extfix screenshot

dirwatch

snapshot a directory tree (names+sizes+hashes) and later diff it to show exactly what changed

dirwatch snapshot -o snap.json .
dirwatch diff -s snap.json .
dirwatch screenshot

treeclean

remove common junk (thumbs.db, .DS_Store, *~, __pycache__) with a preview and count

treeclean --dry-run .
treeclean screenshot

sortbyage

move files into folders by age buckets (today / this week / this month / older)

sortbyage --dry-run .
sortbyage screenshot

hashmanifest

create a sha256 manifest of a tree; verify it later

hashmanifest create src -o MANIFEST.sha256
hashmanifest verify src -m MANIFEST.sha256
hashmanifest screenshot

fileage

a file's age in human terms plus its birth time when the filesystem reports one

fileage sample.txt old.txt
fileage screenshot

nestcount

count files by depth level in a tree (how deep is the mess?)

nestcount .
nestcount screenshot

similar

find near-duplicate filenames (fuzzy match) that may be duplicates under different names

similar .
similar screenshot

archage

find archives older than X days and report their compression ratios

archage --days 0 .
archage screenshot

copysafe

copy a tree with post-copy hash verification and resume on interruption

copysafe src/ copydest/
copysafe screenshot

moveplan

dry-run planner: given move rules, show what would move where, then apply

moveplan --rule '*.txt -> txt/' .
moveplan screenshot

linkcheck

find broken symlinks in a tree, with their targets

linkcheck .
linkcheck screenshot

find files with multiple hard links and report the link groups

hardlink .
hardlink screenshot

lostfound

digital-hoarding report: files untouched 2+ years and over 100 MB

lostfound --years 0 --min-size 1K .
lostfound screenshot

Slice B — File content & text (25)

#NameLanguageDescription
026wordfreqPythonword frequency histogram with stopword filtering and a top-N bar chart
027linecountClines/words/chars per file in a tree, with a summary table and largest-file highlight
028diffwordsPythonword-level diff of two text files (not line-level)
029csvpeekPythonpreview a CSV: columns, inferred types, row count, nulls, sample rows
030jsonpeekPythonsummarize JSON structure: keys, types, depth, size, sample values
031logtailPythontail a log with colorized levels and a lines-per-second rate meter
032textcleanPythonnormalize text: trim trailing whitespace, fix line endings, collapse blanks, ensure final newline
033searchrepPythonsearch/replace across a tree with preview, backups, and a change count
034uniqcountCcount unique lines with frequencies, sorted
035csvsumPythonsum/average/min/max a numeric CSV column, optionally grouped by another column
036csvstatPythonper-column CSV statistics: distinct values, nulls, min/max
037xmlpeekPythonsummarize an XML file: tag counts, depth, attributes
038lineendPythondetect and convert line endings (CRLF/LF/CR) with a report
039encfixPythondetect and convert text encodings (UTF-8/16, latin-1) with a report
040badlinesPythonfind overlong lines, trailing whitespace, and tabs — a lint for text files
041headtailPythonshow the first and last N lines of a file together (context sandwich)
042randlinePythonpick N random lines from a file
043sortuniqPythonsort and dedupe a file in place, with a backup
044csvjoinPythonjoin two CSVs on a key column
045jsongrepPythongrep inside JSON values by key path
046loghistPythonhistogram of log events by hour, parsed from timestamps
047textstatPythonreadability stats: sentences, average word length, estimated reading time
048hexpeekChexdump with ASCII and highlighting of printable runs
049tailfollowPythonfollow a file and show only lines matching a pattern, with running counts
050diffsidePythonside-by-side diff of two files in the terminal, with color

wordfreq

word frequency histogram with stopword filtering and a top-N bar chart

wordfreq sample.txt
wordfreq screenshot

linecount

lines/words/chars per file in a tree, with a summary table and largest-file highlight

linecount .
linecount screenshot

diffwords

word-level diff of two text files (not line-level)

diffwords --no-color a.txt b.txt
diffwords screenshot

csvpeek

preview a CSV: columns, inferred types, row count, nulls, sample rows

csvpeek sample.csv
csvpeek screenshot

jsonpeek

summarize JSON structure: keys, types, depth, size, sample values

jsonpeek sample.json
jsonpeek screenshot

logtail

tail a log with colorized levels and a lines-per-second rate meter

logtail -n 3 --no-color sample.log
logtail screenshot

textclean

normalize text: trim trailing whitespace, fix line endings, collapse blanks, ensure final newline

textclean messy.txt
textclean screenshot

searchrep

search/replace across a tree with preview, backups, and a change count

searchrep hello goodbye sample.txt
searchrep screenshot

uniqcount

count unique lines with frequencies, sorted

uniqcount sample.txt
uniqcount screenshot

csvsum

sum/average/min/max a numeric CSV column, optionally grouped by another column

csvsum age sample.csv
csvsum screenshot

csvstat

per-column CSV statistics: distinct values, nulls, min/max

csvstat sample.csv
csvstat screenshot

xmlpeek

summarize an XML file: tag counts, depth, attributes

xmlpeek sample.xml
xmlpeek screenshot

lineend

detect and convert line endings (CRLF/LF/CR) with a report

lineend crlf.txt
lineend screenshot

encfix

detect and convert text encodings (UTF-8/16, latin-1) with a report

encfix latin1.txt
encfix screenshot

badlines

find overlong lines, trailing whitespace, and tabs — a lint for text files

badlines messy.txt
badlines screenshot

headtail

show the first and last N lines of a file together (context sandwich)

headtail -n 2 sample.txt
headtail screenshot

randline

pick N random lines from a file

randline -n 2 --seed 1 sample.txt
randline screenshot

sortuniq

sort and dedupe a file in place, with a backup

sortuniq unsorted.txt
sortuniq screenshot

csvjoin

join two CSVs on a key column

csvjoin --left-key id --right-key id left.csv right.csv
csvjoin screenshot

jsongrep

grep inside JSON values by key path

jsongrep --key '*.email' sample.json
jsongrep screenshot

loghist

histogram of log events by hour, parsed from timestamps

loghist sample.log
loghist screenshot

textstat

readability stats: sentences, average word length, estimated reading time

textstat sample.txt
textstat screenshot

hexpeek

hexdump with ASCII and highlighting of printable runs

hexpeek sample.txt
hexpeek screenshot

tailfollow

follow a file and show only lines matching a pattern, with running counts

tailfollow --from-start --timeout 1 ERROR sample.log
tailfollow screenshot

diffside

side-by-side diff of two files in the terminal, with color

diffside --no-color a.txt b.txt
diffside screenshot

Slice C — System monitoring (25)

#NameLanguageDescription
051cpugraphClive ASCII CPU usage graph per core, read from /proc/stat, with refresh
052memtopCtop memory users with a bar chart, snapshot mode, sorted by RSS
053proctreeCprocess tree with CPU and memory per branch, collapsed by user
054loadhistCrecord load average over time into a log and show a sparkline history
055swapwatchCwhich processes use swap, how much, and the trend since last check
056zombiefindCfind zombie processes and report their parents
057fdleakCprocesses with the most open file descriptors, with growth since last check
058threadcountCprocesses with the most threads, top-N
059bootlogCboot time, uptime, and load since boot in one line
060cputempCCPU temperature from /sys with a tiny history graph (graceful message if absent)
061fanwatchCfan speeds from /sys/hwmon when present, graceful message otherwise
062prochistCrecord one process's CPU/mem over time (sampled) and plot it after it exits
063nicewatchCprocesses with unusual nice/priority values
064oomscoreCtop processes by OOM score — who the kernel would kill first
065memfragCmemory fragmentation estimate from /proc/buddyinfo
066pressureCPSI (pressure stall information) reader with a human summary
067schedtopCwhich processes are waiting on CPU (run queue) right now
068cpufreqCcurrent CPU frequency per core, with min/max
069sysnapCone-shot system snapshot: load, memory, top processes, disk, network in one report
070watchdogCwatch a process and report (and optionally restart) when it dies or exceeds limits
071prockillCinteractive kill by pattern with a dry-run preview first
072memmapCone process's memory map summary (heap, stack, libraries) in human sizes
073iowaitCprocesses with high I/O wait, from /proc/stat and /proc/*/io
074topdiskCprocesses doing the most disk I/O right now (reads and writes)
075kernellogCtail the kernel log with severity colors and a filter

cpugraph

live ASCII CPU usage graph per core, read from /proc/stat, with refresh

cpugraph --frames 1 --interval 0.2
cpugraph screenshot

memtop

top memory users with a bar chart, snapshot mode, sorted by RSS

memtop -n 3
memtop screenshot

proctree

process tree with CPU and memory per branch, collapsed by user

proctree --max-depth 2
proctree screenshot

loadhist

record load average over time into a log and show a sparkline history

loadhist --record --file ./loadhist.log
loadhist --show --file ./loadhist.log
loadhist screenshot

swapwatch

which processes use swap, how much, and the trend since last check

swapwatch -n 3
swapwatch screenshot

zombiefind

find zombie processes and report their parents

zombiefind
zombiefind screenshot

fdleak

processes with the most open file descriptors, with growth since last check

fdleak -n 3
fdleak screenshot

threadcount

processes with the most threads, top-N

threadcount -n 3
threadcount screenshot

bootlog

boot time, uptime, and load since boot in one line

bootlog
bootlog screenshot

cputemp

CPU temperature from /sys with a tiny history graph (graceful message if absent)

cputemp
cputemp screenshot

fanwatch

fan speeds from /sys/hwmon when present, graceful message otherwise

fanwatch
fanwatch screenshot

prochist

record one process's CPU/mem over time (sampled) and plot it after it exits

prochist --pid 1 --samples 2 --interval 0.2
prochist screenshot

nicewatch

processes with unusual nice/priority values

nicewatch
nicewatch screenshot

oomscore

top processes by OOM score — who the kernel would kill first

oomscore -n 3
oomscore screenshot

memfrag

memory fragmentation estimate from /proc/buddyinfo

memfrag
memfrag screenshot

pressure

PSI (pressure stall information) reader with a human summary

pressure
pressure screenshot

schedtop

which processes are waiting on CPU (run queue) right now

schedtop
schedtop screenshot

cpufreq

current CPU frequency per core, with min/max

cpufreq
cpufreq screenshot

sysnap

one-shot system snapshot: load, memory, top processes, disk, network in one report

sysnap
sysnap screenshot

watchdog

watch a process and report (and optionally restart) when it dies or exceeds limits

watchdog --cmd "sleep 0.5" --checks 3 --interval 0.2
watchdog screenshot

prockill

interactive kill by pattern with a dry-run preview first

prockill nosuchpattern123
prockill screenshot

memmap

one process's memory map summary (heap, stack, libraries) in human sizes

memmap 1
memmap screenshot

iowait

processes with high I/O wait, from /proc/stat and /proc/*/io

iowait --interval 0.2
iowait screenshot

topdisk

processes doing the most disk I/O right now (reads and writes)

topdisk -n 3 --interval 0.2
topdisk screenshot

kernellog

tail the kernel log with severity colors and a filter

kernellog -n 3
kernellog screenshot

Slice D — Network monitoring (25)

#NameLanguageDescription
076netgraphClive ASCII traffic graph per interface, from /proc/net/dev, with refresh
077nettopCper-process network usage, best-effort mapping from sockets to processes
078portscanCwhich local ports are listening and what owns them
079portwatchPythonwatch a port and report when it opens or closes
080dnstimePythonmeasure DNS resolution time for a list of hosts
081pingraphPythonping a host and draw a latency graph over time
082conntrackCcount active TCP connections by state and by remote host
083bandwidthCtotal bytes in/out per interface since boot, with current rates
084socklistClist sockets with process, state, and remote endpoint
085wifisignalPythonWi-Fi signal strength from /proc/net/wireless or iw, with fallback
086ipinfoPythonall interfaces, IPs, MTU, and gateway in one table
087latencyPythonmeasure latency to several hosts and rank them
088nettracePythontrace the route to a host with per-hop latency (ping TTL method)
089portfreePythonfind the first free port in a range
090connlogPythonlog new connections over time (poll /proc/net/tcp) and report new/closed
091dnsleakPythoncheck which DNS servers are actually used (resolv.conf plus live tests)
092netusagePythonper-interface usage by hour, from snapshot deltas stored in ~/.cache
093sshtestPythontest SSH connectivity to a host with timing and a banner grab
094httpcodePythonfetch a URL and report status, time, size, and redirect chain
095certcheckPythona site's TLS certificate expiry date and issuer
096netblockCwhich processes have the most sockets open
097multicastPythonlist multicast group memberships
098arpwatchPythonARP table entries with MAC, IP, and interface
099netdownPythondiagnose network health: gateway, DNS, and internet, with a verdict
100trafficlogCrecord interface byte counts every minute into a CSV and show daily totals

netgraph

live ASCII traffic graph per interface, from /proc/net/dev, with refresh

netgraph -n 2 -i 0.2 lo
netgraph screenshot

nettop

per-process network usage, best-effort mapping from sockets to processes

nettop --once
nettop screenshot

portscan

which local ports are listening and what owns them

portscan --tcp
portscan screenshot

portwatch

watch a port and report when it opens or closes

portwatch 127.0.0.1 22 -t 2 -i 1
portwatch screenshot

dnstime

measure DNS resolution time for a list of hosts

dnstime localhost -n 1
dnstime screenshot

pingraph

ping a host and draw a latency graph over time

pingraph -c 2 -i 0.2 127.0.0.1
pingraph screenshot

conntrack

count active TCP connections by state and by remote host

conntrack
conntrack screenshot

bandwidth

total bytes in/out per interface since boot, with current rates

bandwidth lo -i 1
bandwidth screenshot

socklist

list sockets with process, state, and remote endpoint

socklist --tcp
socklist screenshot

wifisignal

Wi-Fi signal strength from /proc/net/wireless or iw, with fallback

wifisignal
wifisignal screenshot

ipinfo

all interfaces, IPs, MTU, and gateway in one table

ipinfo
ipinfo screenshot

latency

measure latency to several hosts and rank them

latency 127.0.0.1 -p 22 -n 1
latency screenshot

nettrace

trace the route to a host with per-hop latency (ping TTL method)

nettrace -m 2 127.0.0.1
nettrace screenshot

portfree

find the first free port in a range

portfree 8000 8010
portfree screenshot

connlog

log new connections over time (poll /proc/net/tcp) and report new/closed

connlog -i 1 -t 2
connlog screenshot

dnsleak

check which DNS servers are actually used (resolv.conf plus live tests)

dnsleak
dnsleak screenshot

netusage

per-interface usage by hour, from snapshot deltas stored in ~/.cache

netusage --snapshot --cache-dir cache
netusage --today --cache-dir cache
netusage screenshot

sshtest

test SSH connectivity to a host with timing and a banner grab

sshtest 127.0.0.1
sshtest screenshot

httpcode

fetch a URL and report status, time, size, and redirect chain

httpcode --timeout 4 https://example.com
httpcode screenshot

certcheck

a site's TLS certificate expiry date and issuer

certcheck example.com
certcheck screenshot

netblock

which processes have the most sockets open

netblock
netblock screenshot

multicast

list multicast group memberships

multicast
multicast screenshot

arpwatch

ARP table entries with MAC, IP, and interface

arpwatch
arpwatch screenshot

netdown

diagnose network health: gateway, DNS, and internet, with a verdict

netdown
netdown screenshot

trafficlog

record interface byte counts every minute into a CSV and show daily totals

trafficlog --once --file traffic.csv
trafficlog --today --file traffic.csv
trafficlog screenshot

Slice E — Disk & storage (25)

#NameLanguageDescription
101diskgraphCASCII bar chart of disk usage by mount point
102bigdirsClargest directories in a tree, top-N, with a tree view
103inodehuntCdirectories consuming the most inodes (many small files)
104diskfillPythonestimate days until a disk fills, from recent growth snapshots
105fscheckPythonfilesystem type, mount options, and free space per mount in one table
106trimcheckPythonwhether TRIM is enabled/supported, from /sys, with graceful fallback
107diskageCfiles by age on a disk — what is old and big
108mountlistPythonall mounts with type, size, free space, and ro/rw flag
109diskbenchPythonsimple write/read speed test on a directory (temp file, cleaned up)
110spacereportPythonfull disk-space report: mounts, top directories, top files, growth
111cachecleanPythonclear user caches safely (~/.cache, pip, npm) with sizes reclaimed
112snapdiffPythoncompare two disk-usage snapshots and show what grew
113filetypesCdisk usage by file extension in a tree (which types eat the disk)
114emptybigCfind large files that are mostly zeros (sparse files)
115disktempPythondisk temperature from SMART if smartctl is present, else /sys, else a clear message
116raidcheckPythonMD RAID status from /proc/mdstat when present
117diskioCper-device I/O stats from /proc/diskstats with rates
118mountwatchPythonwatch for mount/unmount events by polling /proc/mounts
119quotaPythondisk quota usage when set, otherwise free space
120logrotatePythontiny log rotator: compress old logs, keep N generations
121backupcheckPythonverify a backup tree matches its source by hash, report missing/changed
122synccheckPythondry-run rsync-style diff between two directories (what would change)
123diskalarmPythonalert when a mount crosses a usage threshold, with a one-line report
124fatfreeCfind files larger than X in a tree and suggest moving them
125treemapCASCII treemap of disk usage by directory (nested bars)

diskgraph

ASCII bar chart of disk usage by mount point

diskgraph
diskgraph screenshot

bigdirs

largest directories in a tree, top-N, with a tree view

bigdirs -n 5 .
bigdirs screenshot

inodehunt

directories consuming the most inodes (many small files)

inodehunt -n 5 .
inodehunt screenshot

diskfill

estimate days until a disk fills, from recent growth snapshots

diskfill snapshot --db diskfill.csv /
diskfill --db diskfill.csv
diskfill screenshot

fscheck

filesystem type, mount options, and free space per mount in one table

fscheck
fscheck screenshot

trimcheck

whether TRIM is enabled/supported, from /sys, with graceful fallback

trimcheck
trimcheck screenshot

diskage

files by age on a disk — what is old and big

diskage -n 5 .
diskage screenshot

mountlist

all mounts with type, size, free space, and ro/rw flag

mountlist
mountlist screenshot

diskbench

simple write/read speed test on a directory (temp file, cleaned up)

diskbench --size 1 .
diskbench screenshot

spacereport

full disk-space report: mounts, top directories, top files, growth

spacereport --top 5 .
spacereport screenshot

cacheclean

clear user caches safely (~/.cache, pip, npm) with sizes reclaimed

cacheclean --home .
cacheclean screenshot

snapdiff

compare two disk-usage snapshots and show what grew

snapdiff snapshot -o snap1.json .
echo new > newfile.txt
snapdiff snapshot -o snap2.json .
snapdiff diff snap1.json snap2.json
snapdiff screenshot

filetypes

disk usage by file extension in a tree (which types eat the disk)

filetypes .
filetypes screenshot

emptybig

find large files that are mostly zeros (sparse files)

emptybig .
emptybig screenshot

disktemp

disk temperature from SMART if smartctl is present, else /sys, else a clear message

disktemp
disktemp screenshot

raidcheck

MD RAID status from /proc/mdstat when present

raidcheck
raidcheck screenshot

diskio

per-device I/O stats from /proc/diskstats with rates

diskio
diskio screenshot

mountwatch

watch for mount/unmount events by polling /proc/mounts

mountwatch --duration 1 --interval 0.5
mountwatch screenshot

quota

disk quota usage when set, otherwise free space

quota
quota screenshot

logrotate

tiny log rotator: compress old logs, keep N generations

logrotate --dry-run --force logs/
logrotate screenshot

backupcheck

verify a backup tree matches its source by hash, report missing/changed

cp -r src/ backup2/
backupcheck src/ backup2/
backupcheck screenshot

synccheck

dry-run rsync-style diff between two directories (what would change)

synccheck src/ dst/
synccheck screenshot

diskalarm

alert when a mount crosses a usage threshold, with a one-line report

diskalarm --threshold 99
diskalarm screenshot

fatfree

find files larger than X in a tree and suggest moving them

fatfree --min-size 1K .
fatfree screenshot

treemap

ASCII treemap of disk usage by directory (nested bars)

treemap --depth 2 .
treemap screenshot

Slice F — Archives, conversion, checksums, metadata (25)

#NameLanguageDescription
126ziplsPythonlist zip archive contents with sizes, without extracting
127tarpeekPythonlist tar/tar.gz contents with a summary
128archratioPythoncompression ratio of the archives in a directory
129zipcheckPythonverify archive integrity and report the broken ones
130archconvPythonconvert an archive between zip and tar.gz, with verification
131hashfileChash a file with several algorithms at once (md5/sha1/sha256) in one pass
132hashdirChash a whole tree and write a manifest
133verifyhashPythonverify files against a checksum file (sha256sum format)
134metareadPythonfile metadata in one view: type, size, times, permissions, xattrs
135metacopyPythoncopy timestamps and permissions from one file to another
136touchdatePythonset a file's mtime to a given date, or copy it from another file
137permfixPythonnormalize permissions (files 644, dirs 755) with a preview and an undo list
138ownfixPythonreport files in a tree not owned by the current user
139execfixPythonfind scripts without the executable bit, or with it but no shebang
140csv2jsonPythonconvert a flat CSV file to JSON
141json2csvPythonconvert a flat JSON array to CSV
142json2yamlPythonconvert JSON to YAML (small built-in emitter, stdlib only)
143xml2jsonPythonconvert simple XML to JSON
144base64filePythonbase64 encode/decode files, with a check round-trip
145hexfilePythonhex encode/decode files
146urlfilePythonURL-encode/decode a file or a string
147bomfixPythondetect, strip, or add a BOM in text files
148charsetPythondetect a file's encoding (UTF-8/16/32, latin-1) with a confidence note
149bin2txtPythonencode a binary file as text (base64/hex) with a decode header
150txt2binPythondecode a bin2txt file back to binary

zipls

list zip archive contents with sizes, without extracting

zipls pack.zip
zipls screenshot

tarpeek

list tar/tar.gz contents with a summary

tarpeek sample.tar.gz
tarpeek screenshot

archratio

compression ratio of the archives in a directory

archratio .
archratio screenshot

zipcheck

verify archive integrity and report the broken ones

zipcheck pack.zip
zipcheck screenshot

archconv

convert an archive between zip and tar.gz, with verification

archconv --to tar.gz pack.zip
archconv screenshot

hashfile

hash a file with several algorithms at once (md5/sha1/sha256) in one pass

hashfile sample.txt
hashfile screenshot

hashdir

hash a whole tree and write a manifest

hashdir .
hashdir screenshot

verifyhash

verify files against a checksum file (sha256sum format)

sha256sum sample.txt a.txt > manifest.txt
verifyhash manifest.txt
verifyhash screenshot

metaread

file metadata in one view: type, size, times, permissions, xattrs

metaread sample.txt
metaread screenshot

metacopy

copy timestamps and permissions from one file to another

metacopy a.txt b.txt
metaread b.txt
metacopy screenshot

touchdate

set a file's mtime to a given date, or copy it from another file

touchdate --date 2020-01-15 b.txt
fileage b.txt
touchdate screenshot

permfix

normalize permissions (files 644, dirs 755) with a preview and an undo list

permfix .
permfix screenshot

ownfix

report files in a tree not owned by the current user

ownfix .
ownfix screenshot

execfix

find scripts without the executable bit, or with it but no shebang

execfix .
execfix screenshot

csv2json

convert a flat CSV file to JSON

csv2json sample.csv
csv2json screenshot

json2csv

convert a flat JSON array to CSV

json2csv sample.json
json2csv screenshot

json2yaml

convert JSON to YAML (small built-in emitter, stdlib only)

json2yaml sample.json
json2yaml screenshot

xml2json

convert simple XML to JSON

xml2json sample.xml
xml2json screenshot

base64file

base64 encode/decode files, with a check round-trip

base64file sample.txt encoded.b64
base64file screenshot

hexfile

hex encode/decode files

hexfile --dump sample.txt
hexfile screenshot

urlfile

URL-encode/decode a file or a string

urlfile --string "hello world"
urlfile screenshot

bomfix

detect, strip, or add a BOM in text files

bomfix bom.txt
bomfix screenshot

charset

detect a file's encoding (UTF-8/16/32, latin-1) with a confidence note

charset sample.txt latin1.txt
charset screenshot

bin2txt

encode a binary file as text (base64/hex) with a decode header

bin2txt sample.bin encoded.txt
bin2txt screenshot

txt2bin

decode a bin2txt file back to binary

bin2txt sample.bin encoded.txt
txt2bin encoded.txt decoded.bin
txt2bin screenshot

Slice G — Termux/Android (25)

#NameLanguageDescription
151txbatterybashbattery status (termux-battery-status, /sys fallback)
152txclipbashclipboard get/set (termux-clipboard-get/set)
153txnotifybashsend an Android notification (termux-notification)
154txstoragebashstorage info (termux-storage, df fallback)
155txvibratebashvibrate the device (termux-vibrate)
156txtorchbashtorch on/off (termux-torch)
157txwifibashWi-Fi connection info (termux-wifi-connectioninfo)
158txwallpaperbashset the wallpaper from an image (termux-wallpaper)
159txcontactbashlook up a contact by name (termux-contact-list)
160txsmsbashlist recent SMS messages with a count (termux-sms-list)
161txcallbashlist recent calls (termux-call-log)
162txlocationbashcurrent location with a timeout (termux-location)
163txsharebashshare a file via the Android share sheet (termux-share)
164txopenbashopen a file with its default app (termux-open)
165txsensorsbashlist sensors and their current values (termux-sensor)
166txscanbashtrigger a media scan of a file or directory (termux-media-scan)
167txbrightnessbashset screen brightness (termux-brightness)
168txvolumebashshow and set volume levels (termux-volume)
169txttsbashspeak text out loud (termux-tts-speak)
170txdialogbashshow a dialog and return the choice (termux-dialog)
171txwakebashacquire/release a wake lock (termux-wake-lock/unlock)
172txusbbashlist USB devices (termux-usb-list)
173txtelephonybashtelephony and device info (termux-telephony-deviceinfo)
174txdownloadbashdownload a file into Downloads (termux-download)
175txtermuxbashTermux environment report: version, storage, API availability, health check

txbattery

battery status (termux-battery-status, /sys fallback)

txbattery
txbattery screenshot

txclip

clipboard get/set (termux-clipboard-get/set)

txclip set hello
txclip screenshot

txnotify

send an Android notification (termux-notification)

txnotify -t "Backup done" -c "All files copied" --dry-run
txnotify screenshot

txstorage

storage info (termux-storage, df fallback)

txstorage
txstorage screenshot

txvibrate

vibrate the device (termux-vibrate)

txvibrate 200 --dry-run
txvibrate screenshot

txtorch

torch on/off (termux-torch)

txtorch on --dry-run
txtorch screenshot

txwifi

Wi-Fi connection info (termux-wifi-connectioninfo)

txwifi
txwifi screenshot

txwallpaper

set the wallpaper from an image (termux-wallpaper)

txwallpaper photo.jpg --dry-run
txwallpaper screenshot

txcontact

look up a contact by name (termux-contact-list)

txcontact ada
txcontact screenshot

txsms

list recent SMS messages with a count (termux-sms-list)

txsms -n 3
txsms screenshot

txcall

list recent calls (termux-call-log)

txcall -n 3
txcall screenshot

txlocation

current location with a timeout (termux-location)

txlocation --provider gps --timeout 2
txlocation screenshot

txshare

share a file via the Android share sheet (termux-share)

txshare sample.txt --dry-run
txshare screenshot

txopen

open a file with its default app (termux-open)

txopen sample.txt --dry-run
txopen screenshot

txsensors

list sensors and their current values (termux-sensor)

txsensors -l
txsensors screenshot

txscan

trigger a media scan of a file or directory (termux-media-scan)

txscan sample.txt --dry-run
txscan screenshot

txbrightness

set screen brightness (termux-brightness)

txbrightness 50% --dry-run
txbrightness screenshot

txvolume

show and set volume levels (termux-volume)

txvolume music
txvolume screenshot

txtts

speak text out loud (termux-tts-speak)

txtts --dry-run Hello world
txtts screenshot

txdialog

show a dialog and return the choice (termux-dialog)

txdialog confirm -t "Delete file?" --dry-run
txdialog screenshot

txwake

acquire/release a wake lock (termux-wake-lock/unlock)

txwake status --dry-run
txwake screenshot

txusb

list USB devices (termux-usb-list)

txusb
txusb screenshot

txtelephony

telephony and device info (termux-telephony-deviceinfo)

txtelephony
txtelephony screenshot

txdownload

download a file into Downloads (termux-download)

txdownload --dry-run https://example.com/file.zip
txdownload screenshot

txtermux

Termux environment report: version, storage, API availability, health check

txtermux
txtermux screenshot

Slice H — Time, dates, units, converters, generators (25)

#NameLanguageDescription
176datecalcPythondate arithmetic: add/subtract days, difference between dates, weekday
177epochPythonconvert between epoch seconds and human dates, both ways
178countdownPythoncountdown to a date with a live display
179stopwatchPythonterminal stopwatch with laps
180pomodoroPythonpomodoro timer with work/break cycles and a session log
181unitconvPythonconvert units (length, weight, temperature, data) with a table
182dataconvPythonconvert data sizes (B/KB/MB/GB, bits/bytes, MiB vs MB)
183tempconvPythontemperature converter (C/F/K) with a conversion table
184passgenPythongenerate passwords (length, symbols, word mode)
185dicePythonroll dice with notation (3d6+2) and a roll history
186randpickPythonpick a random item from a list or a file
187randnumPythonrandom numbers in a range, with an optional seed
188uuidgenPythongenerate UUIDs (v4) and short ids
189colorpickPythonpick and convert colors (hex/rgb/hsl) and show a terminal swatch
190morsePythontext to Morse code and back
191braillePythontext to Braille unicode and back
192baseconvPythonconvert numbers between bases (2/8/10/16/36)
193romannumPythonconvert to and from Roman numerals
194timesheetPythonlog time spent on tasks, with a daily summary
195agecalcPythonage from a birthdate: years, days lived, next birthday
196workdaysPythoncount working days between two dates (weekends excluded)
197tzconvPythonconvert a time between time zones (built-in zone table, system tzdata when present)
198speedconvPythonspeed converter (km/h, mph, m/s, knots)
199currconvPythoncurrency converter with an editable offline rate file
200quotePythonquote of the day (built-in list, deterministic by date)

datecalc

date arithmetic: add/subtract days, difference between dates, weekday

datecalc 2026-01-01 --add 10
datecalc screenshot

epoch

convert between epoch seconds and human dates, both ways

epoch 1700000000
epoch screenshot

countdown

countdown to a date with a live display

countdown 90s --once
countdown screenshot

stopwatch

terminal stopwatch with laps

stopwatch --duration 1
stopwatch screenshot

pomodoro

pomodoro timer with work/break cycles and a session log

pomodoro --work 0.02 --break 0 --cycles 1 --no-log
pomodoro screenshot

unitconv

convert units (length, weight, temperature, data) with a table

unitconv 5 km mi
unitconv screenshot

dataconv

convert data sizes (B/KB/MB/GB, bits/bytes, MiB vs MB)

dataconv 1 GiB --to MB
dataconv screenshot

tempconv

temperature converter (C/F/K) with a conversion table

tempconv 100 C --to F
tempconv screenshot

passgen

generate passwords (length, symbols, word mode)

passgen --length 12 --seed 1
passgen screenshot

dice

roll dice with notation (3d6+2) and a roll history

dice 3d6+2 --seed 7
dice screenshot

randpick

pick a random item from a list or a file

randpick apple banana cherry --seed 1
randpick screenshot

randnum

random numbers in a range, with an optional seed

randnum 1 10 --seed 1
randnum screenshot

uuidgen

generate UUIDs (v4) and short ids

uuidgen --count 2
uuidgen screenshot

colorpick

pick and convert colors (hex/rgb/hsl) and show a terminal swatch

colorpick '#ff8800' --no-swatch
colorpick screenshot

morse

text to Morse code and back

morse SOS
morse screenshot

braille

text to Braille unicode and back

braille hello
braille screenshot

baseconv

convert numbers between bases (2/8/10/16/36)

baseconv 255 16
baseconv screenshot

romannum

convert to and from Roman numerals

romannum 2026
romannum screenshot

timesheet

log time spent on tasks, with a daily summary

timesheet --file ./ts.csv start demo
timesheet --file ./ts.csv stop
timesheet --file ./ts.csv summary
timesheet screenshot

agecalc

age from a birthdate: years, days lived, next birthday

agecalc 1990-05-15
agecalc screenshot

workdays

count working days between two dates (weekends excluded)

workdays 2026-01-01 2026-01-31
workdays screenshot

tzconv

convert a time between time zones (built-in zone table, system tzdata when present)

tzconv 14:30 UTC America/New_York
tzconv screenshot

speedconv

speed converter (km/h, mph, m/s, knots)

speedconv 100 --to mph
speedconv screenshot

currconv

currency converter with an editable offline rate file

currconv 10 USD EUR
currconv screenshot

quote

quote of the day (built-in list, deterministic by date)

quote --number 1
quote screenshot

Slice I — Dev & shell helpers (25)

#NameLanguageDescription
201gitstatPythonone-page git repo summary: branch, status counts, recent commits, stashes
202gitcleanPythonfind and remove stale git branches (merged, or with no upstream) with a preview
203gitlogPythonpretty log with a graph and per-commit file stats, filtered by author/date
204cronlistPythonlist cron jobs with a human-readable explanation of each schedule
205croncheckPythonvalidate a cron expression and show the next run times
206sshkeysPythonlist SSH keys, their fingerprints, and which are loaded in the agent
207sshhostPythonknown-hosts report with fingerprints
208tmuxlsPythontmux/screen sessions with a summary, graceful fallback when absent
209tmuxsavePythonsave and restore a tmux session layout (best effort)
210pkglistPythonlist installed packages (apt/dpkg or pacman) with sizes, top-N
211pkgsearchPythonsearch installed packages by name or description
212envdiffPythoncompare environment variables between two shells, or a file and the current env
213pathcleanPythonshow PATH entries, flag duplicates and missing directories, print a cleaned PATH
214aliaslistPythonlist shell aliases and functions with their definitions
215histstatCshell history statistics: most-used commands, usage by hour
216scriptcheckPythonsyntax-check all shell scripts in a directory (bash -n) and report
217pycheckPythonsyntax-check Python files (py_compile) and report
218todoPythonfind TODO/FIXME/XXX comments in a tree, with counts by file
219codelinesCcount code lines by language in a tree
220gitdiffstatPythondiff stats between two refs with a per-file table
221branchagePythonage of git branches, sorted, with last commit
222stashlistPythonlist stashes with a summary of their contents
223repocheckPythonhealth check for a git repo: uncommitted, untracked, ahead/behind, large files
224maketoolPythonscaffold a new utility: template file plus a test stub
225benchcmdPythonbenchmark a command's runtime over N runs (average, min, max)

gitstat

one-page git repo summary: branch, status counts, recent commits, stashes

gitstat .
gitstat screenshot

gitclean

find and remove stale git branches (merged, or with no upstream) with a preview

gitclean .
gitclean screenshot

gitlog

pretty log with a graph and per-commit file stats, filtered by author/date

gitlog -n 3 .
gitlog screenshot

cronlist

list cron jobs with a human-readable explanation of each schedule

cronlist --file crontab.txt
cronlist screenshot

croncheck

validate a cron expression and show the next run times

croncheck "0 9 * * 1-5"
croncheck screenshot

sshkeys

list SSH keys, their fingerprints, and which are loaded in the agent

sshkeys --dir sshdir
sshkeys screenshot

sshhost

known-hosts report with fingerprints

sshhost --file ssh_known_hosts
sshhost screenshot

tmuxls

tmux/screen sessions with a summary, graceful fallback when absent

tmuxls
tmuxls screenshot

tmuxsave

save and restore a tmux session layout (best effort)

tmuxsave list
tmuxsave screenshot

pkglist

list installed packages (apt/dpkg or pacman) with sizes, top-N

pkglist --top 5
pkglist screenshot

pkgsearch

search installed packages by name or description

pkgsearch --limit 5 bash
pkgsearch screenshot

envdiff

compare environment variables between two shells, or a file and the current env

envdiff env1.env env2.env
envdiff screenshot

pathclean

show PATH entries, flag duplicates and missing directories, print a cleaned PATH

pathclean --path /usr/bin:/bin:/usr/bin
pathclean screenshot

aliaslist

list shell aliases and functions with their definitions

aliaslist --file aliases.sh
aliaslist screenshot

histstat

shell history statistics: most-used commands, usage by hour

histstat -f history.txt
histstat screenshot

scriptcheck

syntax-check all shell scripts in a directory (bash -n) and report

scriptcheck .
scriptcheck screenshot

pycheck

syntax-check Python files (py_compile) and report

pycheck .
pycheck screenshot

todo

find TODO/FIXME/XXX comments in a tree, with counts by file

todo .
todo screenshot

codelines

count code lines by language in a tree

codelines .
codelines screenshot

gitdiffstat

diff stats between two refs with a per-file table

gitdiffstat HEAD~1 HEAD .
gitdiffstat screenshot

branchage

age of git branches, sorted, with last commit

branchage .
branchage screenshot

stashlist

list stashes with a summary of their contents

stashlist .
stashlist screenshot

repocheck

health check for a git repo: uncommitted, untracked, ahead/behind, large files

repocheck .
repocheck screenshot

maketool

scaffold a new utility: template file plus a test stub

maketool --dir . demotool
maketool screenshot

benchcmd

benchmark a command's runtime over N runs (average, min, max)

benchcmd -n 2 echo hi
benchcmd screenshot

Slice J — Fun, creative, novel concepts (25)

#NameLanguageDescription
226bannerPythonASCII banner text with several built-in fonts (no figlet dependency)
227fortunePythonrandom fortune with categories (built-in list)
228motdPythongenerate a message of the day from live system stats plus a quote
229typingPythontyping speed test in the terminal
230quizPythontiny quiz game with built-in questions and a score
231hangmanPythonhangman game in the terminal
232memoryPythonmemory matching game in the terminal
233mazePythongenerate a random ASCII maze
234lifePythonConway's Game of Life in the terminal for a few generations
235starfieldPythonshort animated starfield (frame-limited, so it always exits)
236clockPythonbig ASCII clock, live, with a duration limit
237calendarPythonmonth calendar with today highlighted and events read from a file
238moonphasePythonmoon phase calculator from the date (algorithmic, no network)
239sunrisePythonsunrise/sunset calculator for a given latitude/longitude (algorithmic)
240passphrasePythongenerate a passphrase from a built-in wordlist
241anagramPythonfind anagrams of a word from a built-in wordlist
242palindromePythoncheck palindromes and find the longest palindromic substring
243loremPythongenerate lorem ipsum text (N paragraphs)
244fakeuserPythongenerate a fake user profile (name, email, address) for testing
245fakelogPythongenerate fake log lines for testing log tools
246fakedataPythongenerate fake CSV data (names, ages, cities) for testing
247timerPythonsimple countdown timer with a message at the end
248alarmPythonset an alarm (sleep, then a beep and a message)
249focusPythonfocus session tracker: start/stop, log, daily total
250namegenPythongenerate creative names for projects, pets, or bands from combinable word lists

ASCII banner text with several built-in fonts (no figlet dependency)

banner hello
banner screenshot

fortune

random fortune with categories (built-in list)

fortune --seed 1
fortune screenshot

motd

generate a message of the day from live system stats plus a quote

motd
motd screenshot

typing

typing speed test in the terminal

typing --auto --seed 1
typing screenshot

quiz

tiny quiz game with built-in questions and a score

quiz -n 2 --auto --seed 1
quiz screenshot

hangman

hangman game in the terminal

hangman --auto --word test
hangman screenshot

memory

memory matching game in the terminal

memory --auto --seed 1
memory screenshot

maze

generate a random ASCII maze

maze -w 10 -H 5 --seed 1
maze screenshot

life

Conway's Game of Life in the terminal for a few generations

life -g 3 --pattern glider --delay 0
life screenshot

starfield

short animated starfield (frame-limited, so it always exits)

starfield --frames 2 --seed 1 --delay 0
starfield screenshot

clock

big ASCII clock, live, with a duration limit

clock --duration 1 --no-clear
clock screenshot

calendar

month calendar with today highlighted and events read from a file

calendar --month 1 --year 2026
calendar screenshot

moonphase

moon phase calculator from the date (algorithmic, no network)

moonphase --date 2026-01-01
moonphase screenshot

sunrise

sunrise/sunset calculator for a given latitude/longitude (algorithmic)

sunrise --lat 21.3 --lon -157.8 --date 2026-01-01
sunrise screenshot

passphrase

generate a passphrase from a built-in wordlist

passphrase --seed 1
passphrase screenshot

anagram

find anagrams of a word from a built-in wordlist

anagram listen
anagram screenshot

palindrome

check palindromes and find the longest palindromic substring

palindrome racecar
palindrome screenshot

lorem

generate lorem ipsum text (N paragraphs)

lorem -p 1 --seed 1
lorem screenshot

fakeuser

generate a fake user profile (name, email, address) for testing

fakeuser --seed 1
fakeuser screenshot

fakelog

generate fake log lines for testing log tools

fakelog -n 3 --seed 1
fakelog screenshot

fakedata

generate fake CSV data (names, ages, cities) for testing

fakedata -n 3 --seed 1
fakedata screenshot

timer

simple countdown timer with a message at the end

timer --seconds 2 --message done --quiet
timer screenshot

alarm

set an alarm (sleep, then a beep and a message)

alarm --in 1s --message test --quiet
alarm screenshot

focus

focus session tracker: start/stop, log, daily total

focus start demo
focus status
focus stop
focus today
focus screenshot

namegen

generate creative names for projects, pets, or bands from combinable word lists

namegen --kind pet --count 3 --seed 1
namegen screenshot

Slice K — More monitors: temperature, CPU & memory (25)

#NameLanguageDescription
251tempgraphClive CPU temperature sparkline over time
252coretempCper-core temperature table with mini sparklines
253gputempCGPU temperature graph
254temphistClog temperatures and render history as an ASCII graph
255tempzonesCall thermal zones side-by-side with sparklines
256tempdeltaCtemperature rate of change in degC/min per zone
257tempalarmCalert when any temperature crosses a threshold
258tempfanCtemperature vs fan speed correlation plot
259tempthrottleCdetect thermal throttling from MHz drop + temperature
260tempdiffCtemperature before vs after running a command
261tempmaxCsession high-water marks: max temperature per zone
262tempslopeCpredict minutes to throttle from the current heating slope
263corebarsCper-core CPU usage bars, live, one line per core
264cpushareCCPU time split user/system/iowait/idle as stacked bars
265cpustealCsteal time monitor for VMs with history graph
266irqtopCtop interrupt consumers from /proc/interrupts and /proc/stat
267ctxwatchCcontext switch rate monitor
268cpuidleCper-core idle and C-state time monitor
269runqCrun queue length history graph
270cpuburstCdetect CPU bursts and log them with process attribution
271memleakCwatch a process RSS growth over time and flag leaks
272swaphistCswap in/out history graph
273slabwatchCslab allocator top consumers
274pagereclaimCpage reclaim and major fault rate monitor
275psigraphCPSI (pressure stall information) graphs for CPU/memory/IO

tempgraph

live CPU temperature sparkline over time

tempgraph --mock --count 3 --interval 0.2
tempgraph screenshot

coretemp

per-core temperature table with mini sparklines

coretemp --mock --count 3 --interval 0.2
coretemp screenshot

gputemp

GPU temperature graph

gputemp --mock --count 3 --interval 0.2
gputemp screenshot

temphist

log temperatures and render history as an ASCII graph

temphist --mock --samples 3 --log ./temphist.log
temphist graph --log ./temphist.log
temphist screenshot

tempzones

all thermal zones side-by-side with sparklines

tempzones --mock --count 3 --interval 0.2
tempzones screenshot

tempdelta

temperature rate of change in degC/min per zone

tempdelta --mock
tempdelta screenshot

tempalarm

alert when any temperature crosses a threshold

tempalarm --mock
tempalarm screenshot

tempfan

temperature vs fan speed correlation plot

tempfan --mock --count 3 --interval 0.2
tempfan screenshot

tempthrottle

detect thermal throttling from MHz drop + temperature

tempthrottle --mock
tempthrottle screenshot

tempdiff

temperature before vs after running a command

tempdiff --mock -- true
tempdiff screenshot

tempmax

session high-water marks: max temperature per zone

tempmax --mock --count 3 --interval 0.2
tempmax screenshot

tempslope

predict minutes to throttle from the current heating slope

tempslope --mock --count 3 --interval 0.2
tempslope screenshot

corebars

per-core CPU usage bars, live, one line per core

corebars --count 2 --interval 0.2
corebars screenshot

cpushare

CPU time split user/system/iowait/idle as stacked bars

cpushare --count 2 --interval 0.2
cpushare screenshot

cpusteal

steal time monitor for VMs with history graph

cpusteal --count 2 --interval 0.2
cpusteal screenshot

irqtop

top interrupt consumers from /proc/interrupts and /proc/stat

irqtop --top 3 --count 2 --interval 0.2
irqtop screenshot

ctxwatch

context switch rate monitor

ctxwatch --count 2 --interval 0.2
ctxwatch screenshot

cpuidle

per-core idle and C-state time monitor

cpuidle --count 2 --interval 0.2
cpuidle screenshot

runq

run queue length history graph

runq --count 2 --interval 0.2
runq screenshot

cpuburst

detect CPU bursts and log them with process attribution

cpuburst --count 2 --interval 0.2
cpuburst screenshot

memleak

watch a process RSS growth over time and flag leaks

memleak 1 --seconds 1 --interval 0.2
memleak screenshot

swaphist

swap in/out history graph

swaphist --count 2 --interval 0.2
swaphist screenshot

slabwatch

slab allocator top consumers

slabwatch --top 3
slabwatch screenshot

pagereclaim

page reclaim and major fault rate monitor

pagereclaim --count 2 --interval 0.2
pagereclaim screenshot

psigraph

PSI (pressure stall information) graphs for CPU/memory/IO

psigraph --count 2 --interval 0.2
psigraph screenshot

Slice L — More monitors: disk, network & process (25)

#NameLanguageDescription
276hugewatchChuge page usage monitor
277cachehitCpage cache hit ratio estimate monitor
278iolatCper-disk IO latency histogram from /proc/diskstats deltas
279iodepthCIO queue depth monitor
280diskrateCper-disk read/write rate bars, live
281fswatchCfilesystem write volume per mount point
282ioprocCtop processes by IO with live delta rates
283diskbusyCdisk busy percentage per device graph
284trimwatchCTRIM/discard activity monitor from /proc/diskstats
285netlatClatency to multiple hosts graphed over time
286neterrCinterface error and drop counter monitor
287socktopCtop sockets by state (ESTABLISHED/TIME_WAIT counts)
288portflowCper-port traffic rates (which local port is busy)
289dnswatchCDNS query latency monitor with graph
290netqueueCinterface queue/backlog monitor (drops, qdisc)
291wifigraphCWiFi signal strength graph over time
292netretransCTCP retransmit rate monitor
293procmemCtop processes by memory with tree grouping
294proccpuCtop processes by CPU with per-PID history sparklines
295procageClongest-running processes with age and start time
296procstateCprocess counts by state (R/S/D/Z/T) graphed over time
297procforkCfork rate monitor (new processes per second)
298procrestartCdetect processes that restart frequently
299gpuloadCGPU utilization and memory graph
300gpuprocCtop processes by GPU memory

hugewatch

huge page usage monitor

hugewatch
hugewatch screenshot

cachehit

page cache hit ratio estimate monitor

cachehit --count 2 --interval 0.2
cachehit screenshot

iolat

per-disk IO latency histogram from /proc/diskstats deltas

iolat --count 2 --interval 0.2
iolat screenshot

iodepth

IO queue depth monitor

iodepth --count 2 --interval 0.2
iodepth screenshot

diskrate

per-disk read/write rate bars, live

diskrate --count 2 --interval 0.2
diskrate screenshot

fswatch

filesystem write volume per mount point

fswatch --count 2 --interval 0.2
fswatch screenshot

ioproc

top processes by IO with live delta rates

ioproc --top 3 --count 2 --interval 0.2
ioproc screenshot

diskbusy

disk busy percentage per device graph

diskbusy --count 2 --interval 0.2
diskbusy screenshot

trimwatch

TRIM/discard activity monitor from /proc/diskstats

trimwatch --count 2 --interval 0.2
trimwatch screenshot

netlat

latency to multiple hosts graphed over time

netlat 127.0.0.1 --count 2 --interval 0.2
netlat screenshot

neterr

interface error and drop counter monitor

neterr --count 2 --interval 0.2
neterr screenshot

socktop

top sockets by state (ESTABLISHED/TIME_WAIT counts)

socktop --top 3 --count 2 --interval 0.2
socktop screenshot

portflow

per-port traffic rates (which local port is busy)

portflow --top 3 --count 2 --interval 0.2
portflow screenshot

dnswatch

DNS query latency monitor with graph

dnswatch --count 2 --interval 0.2
dnswatch screenshot

netqueue

interface queue/backlog monitor (drops, qdisc)

netqueue --count 2 --interval 0.2
netqueue screenshot

wifigraph

WiFi signal strength graph over time

wifigraph --mock --count 3 --interval 0.2
wifigraph screenshot

netretrans

TCP retransmit rate monitor

netretrans --count 2 --interval 0.2
netretrans screenshot

procmem

top processes by memory with tree grouping

procmem --top 3
procmem screenshot

proccpu

top processes by CPU with per-PID history sparklines

proccpu --top 3 --count 2 --interval 0.2
proccpu screenshot

procage

longest-running processes with age and start time

procage --top 3
procage screenshot

procstate

process counts by state (R/S/D/Z/T) graphed over time

procstate --count 2 --interval 0.2
procstate screenshot

procfork

fork rate monitor (new processes per second)

procfork --count 2 --interval 0.2
procfork screenshot

procrestart

detect processes that restart frequently

procrestart --mock --count 2 --interval 0.2
procrestart screenshot

gpuload

GPU utilization and memory graph

gpuload --mock --count 3 --interval 0.2
gpuload screenshot

gpuproc

top processes by GPU memory

gpuproc --mock --top 3
gpuproc screenshot

Slice M — More monitors: GPU, power & system (10)

#NameLanguageDescription
301gpupowerCGPU power draw graph
302batgraphCbattery charge/discharge graph over time
303wattwatchCpower draw estimate in watts
304suspendwatchCsuspend/resume event log monitor
305loadspikeCdetect load spikes, log top processes at the moment
306bootchartCboot time breakdown from dmesg/systemd timestamps
307kerneltopCtop kernel threads by CPU
308fdgraphCopen file descriptor count history graph per process
309lockwatchCdetect processes stuck in uninterruptible sleep (D-state)
310sysdashCcombined mini-dashboard: CPU, memory, disk, net, temp

gpupower

GPU power draw graph

gpupower --mock --count 3 --interval 0.2
gpupower screenshot

batgraph

battery charge/discharge graph over time

batgraph --mock --count 3 --interval 0.2
batgraph screenshot

wattwatch

power draw estimate in watts

wattwatch --mock --count 3 --interval 0.2
wattwatch screenshot

suspendwatch

suspend/resume event log monitor

suspendwatch --mock
suspendwatch screenshot

loadspike

detect load spikes, log top processes at the moment

loadspike --mock --threshold 2 --seconds 2 --interval 0.2
loadspike screenshot

bootchart

boot time breakdown from dmesg/systemd timestamps

bootchart
bootchart screenshot

kerneltop

top kernel threads by CPU

kerneltop
kerneltop screenshot

fdgraph

open file descriptor count history graph per process

fdgraph --mock --count 3 --interval 0.2
fdgraph screenshot

lockwatch

detect processes stuck in uninterruptible sleep (D-state)

lockwatch
lockwatch screenshot

sysdash

combined mini-dashboard: CPU, memory, disk, net, temp

sysdash
sysdash screenshot

All 310 utilities, with source, screenshots and the test suite, live in the repo: github.com/cnmcdee/util_box. Clone it, run make, run tests/run_all.sh, and start with the tool your terminal is missing.

Linux Rocks Every Day