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
makemake 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 --selftestThe 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 successMost 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 --selftestThe 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
--helpand--selftest; nothing is a stub. - Languages: C: 113 · Python: 172 · bash: 25
- Tests: 310/310 green —
tests/run_all.shbuilds, then runs every--helpand--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, thenmake. Thetx*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)
| # | Name | Language | Description |
|---|---|---|---|
| 001 | dustack | Python | show which subdirectories grew most since the last snapshot (growth tracker, not just du) |
| 002 | dupfind | C | find duplicate files by content hash, with a keep-newest/largest policy and a dry-run plan |
| 003 | namefix | Python | rename files to a safe portable scheme (strip weird chars, optional lowercase) with an undo log |
| 004 | exifsort | Python | sort photos into YYYY/MM folders by EXIF/date, dry-run first |
| 005 | emptyhunt | Python | find empty directories deepest-first, report and optionally remove |
| 006 | flatpack | Python | flatten a nested tree into one directory, resolving name clashes with suffixes |
| 007 | splitjoin | C | split a file into N MB chunks and rejoin from a manifest with checksums |
| 008 | bigfind | C | top-N largest files with age, type and parent-dir context |
| 009 | oldfiles | Python | files untouched for X days grouped by directory, with size totals and an archive plan |
| 010 | renumber | Python | rename a set of files to a sequential numbered scheme, preserving extensions, with preview |
| 011 | casefix | Python | fix filename case collisions (Foo.txt vs foo.txt) for case-insensitive filesystems |
| 012 | extfix | Python | detect a file's real type by magic bytes and fix a wrong extension |
| 013 | dirwatch | Python | snapshot a directory tree (names+sizes+hashes) and later diff it to show exactly what changed |
| 014 | treeclean | Python | remove common junk (thumbs.db, .DS_Store, *~, __pycache__) with a preview and count |
| 015 | sortbyage | Python | move files into folders by age buckets (today / this week / this month / older) |
| 016 | hashmanifest | C | create a sha256 manifest of a tree; verify it later |
| 017 | fileage | Python | a file's age in human terms plus its birth time when the filesystem reports one |
| 018 | nestcount | Python | count files by depth level in a tree (how deep is the mess?) |
| 019 | similar | Python | find near-duplicate filenames (fuzzy match) that may be duplicates under different names |
| 020 | archage | Python | find archives older than X days and report their compression ratios |
| 021 | copysafe | Python | copy a tree with post-copy hash verification and resume on interruption |
| 022 | moveplan | Python | dry-run planner: given move rules, show what would move where, then apply |
| 023 | linkcheck | Python | find broken symlinks in a tree, with their targets |
| 024 | hardlink | Python | find files with multiple hard links and report the link groups |
| 025 | lostfound | Python | digital-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 .
dupfind
find duplicate files by content hash, with a keep-newest/largest policy and a dry-run plan
dupfind .
namefix
rename files to a safe portable scheme (strip weird chars, optional lowercase) with an undo log
namefix --dry-run .
exifsort
sort photos into YYYY/MM folders by EXIF/date, dry-run first
exifsort --dry-run .
emptyhunt
find empty directories deepest-first, report and optionally remove
emptyhunt .
flatpack
flatten a nested tree into one directory, resolving name clashes with suffixes
flatpack --dry-run tree/ flat/
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
bigfind
top-N largest files with age, type and parent-dir context
bigfind -n 5 .
oldfiles
files untouched for X days grouped by directory, with size totals and an archive plan
oldfiles --days 30 .
renumber
rename a set of files to a sequential numbered scheme, preserving extensions, with preview
renumber --dry-run --prefix img photos/
casefix
fix filename case collisions (Foo.txt vs foo.txt) for case-insensitive filesystems
casefix --dry-run .
extfix
detect a file's real type by magic bytes and fix a wrong extension
extfix --dry-run .
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 .
treeclean
remove common junk (thumbs.db, .DS_Store, *~, __pycache__) with a preview and count
treeclean --dry-run .
sortbyage
move files into folders by age buckets (today / this week / this month / older)
sortbyage --dry-run .
hashmanifest
create a sha256 manifest of a tree; verify it later
hashmanifest create src -o MANIFEST.sha256
hashmanifest verify src -m MANIFEST.sha256
fileage
a file's age in human terms plus its birth time when the filesystem reports one
fileage sample.txt old.txt
nestcount
count files by depth level in a tree (how deep is the mess?)
nestcount .
similar
find near-duplicate filenames (fuzzy match) that may be duplicates under different names
similar .
archage
find archives older than X days and report their compression ratios
archage --days 0 .
copysafe
copy a tree with post-copy hash verification and resume on interruption
copysafe src/ copydest/
moveplan
dry-run planner: given move rules, show what would move where, then apply
moveplan --rule '*.txt -> txt/' .
linkcheck
find broken symlinks in a tree, with their targets
linkcheck .
hardlink
find files with multiple hard links and report the link groups
hardlink .
lostfound
digital-hoarding report: files untouched 2+ years and over 100 MB
lostfound --years 0 --min-size 1K .
Slice B — File content & text (25)
| # | Name | Language | Description |
|---|---|---|---|
| 026 | wordfreq | Python | word frequency histogram with stopword filtering and a top-N bar chart |
| 027 | linecount | C | lines/words/chars per file in a tree, with a summary table and largest-file highlight |
| 028 | diffwords | Python | word-level diff of two text files (not line-level) |
| 029 | csvpeek | Python | preview a CSV: columns, inferred types, row count, nulls, sample rows |
| 030 | jsonpeek | Python | summarize JSON structure: keys, types, depth, size, sample values |
| 031 | logtail | Python | tail a log with colorized levels and a lines-per-second rate meter |
| 032 | textclean | Python | normalize text: trim trailing whitespace, fix line endings, collapse blanks, ensure final newline |
| 033 | searchrep | Python | search/replace across a tree with preview, backups, and a change count |
| 034 | uniqcount | C | count unique lines with frequencies, sorted |
| 035 | csvsum | Python | sum/average/min/max a numeric CSV column, optionally grouped by another column |
| 036 | csvstat | Python | per-column CSV statistics: distinct values, nulls, min/max |
| 037 | xmlpeek | Python | summarize an XML file: tag counts, depth, attributes |
| 038 | lineend | Python | detect and convert line endings (CRLF/LF/CR) with a report |
| 039 | encfix | Python | detect and convert text encodings (UTF-8/16, latin-1) with a report |
| 040 | badlines | Python | find overlong lines, trailing whitespace, and tabs — a lint for text files |
| 041 | headtail | Python | show the first and last N lines of a file together (context sandwich) |
| 042 | randline | Python | pick N random lines from a file |
| 043 | sortuniq | Python | sort and dedupe a file in place, with a backup |
| 044 | csvjoin | Python | join two CSVs on a key column |
| 045 | jsongrep | Python | grep inside JSON values by key path |
| 046 | loghist | Python | histogram of log events by hour, parsed from timestamps |
| 047 | textstat | Python | readability stats: sentences, average word length, estimated reading time |
| 048 | hexpeek | C | hexdump with ASCII and highlighting of printable runs |
| 049 | tailfollow | Python | follow a file and show only lines matching a pattern, with running counts |
| 050 | diffside | Python | side-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
linecount
lines/words/chars per file in a tree, with a summary table and largest-file highlight
linecount .
diffwords
word-level diff of two text files (not line-level)
diffwords --no-color a.txt b.txt
csvpeek
preview a CSV: columns, inferred types, row count, nulls, sample rows
csvpeek sample.csv
jsonpeek
summarize JSON structure: keys, types, depth, size, sample values
jsonpeek sample.json
logtail
tail a log with colorized levels and a lines-per-second rate meter
logtail -n 3 --no-color sample.log
textclean
normalize text: trim trailing whitespace, fix line endings, collapse blanks, ensure final newline
textclean messy.txt
searchrep
search/replace across a tree with preview, backups, and a change count
searchrep hello goodbye sample.txt
uniqcount
count unique lines with frequencies, sorted
uniqcount sample.txt
csvsum
sum/average/min/max a numeric CSV column, optionally grouped by another column
csvsum age sample.csv
csvstat
per-column CSV statistics: distinct values, nulls, min/max
csvstat sample.csv
xmlpeek
summarize an XML file: tag counts, depth, attributes
xmlpeek sample.xml
lineend
detect and convert line endings (CRLF/LF/CR) with a report
lineend crlf.txt
encfix
detect and convert text encodings (UTF-8/16, latin-1) with a report
encfix latin1.txt
badlines
find overlong lines, trailing whitespace, and tabs — a lint for text files
badlines messy.txt
headtail
show the first and last N lines of a file together (context sandwich)
headtail -n 2 sample.txt
randline
pick N random lines from a file
randline -n 2 --seed 1 sample.txt
sortuniq
sort and dedupe a file in place, with a backup
sortuniq unsorted.txt
csvjoin
join two CSVs on a key column
csvjoin --left-key id --right-key id left.csv right.csv
jsongrep
grep inside JSON values by key path
jsongrep --key '*.email' sample.json
loghist
histogram of log events by hour, parsed from timestamps
loghist sample.log
textstat
readability stats: sentences, average word length, estimated reading time
textstat sample.txt
hexpeek
hexdump with ASCII and highlighting of printable runs
hexpeek sample.txt
tailfollow
follow a file and show only lines matching a pattern, with running counts
tailfollow --from-start --timeout 1 ERROR sample.log
diffside
side-by-side diff of two files in the terminal, with color
diffside --no-color a.txt b.txt
Slice C — System monitoring (25)
| # | Name | Language | Description |
|---|---|---|---|
| 051 | cpugraph | C | live ASCII CPU usage graph per core, read from /proc/stat, with refresh |
| 052 | memtop | C | top memory users with a bar chart, snapshot mode, sorted by RSS |
| 053 | proctree | C | process tree with CPU and memory per branch, collapsed by user |
| 054 | loadhist | C | record load average over time into a log and show a sparkline history |
| 055 | swapwatch | C | which processes use swap, how much, and the trend since last check |
| 056 | zombiefind | C | find zombie processes and report their parents |
| 057 | fdleak | C | processes with the most open file descriptors, with growth since last check |
| 058 | threadcount | C | processes with the most threads, top-N |
| 059 | bootlog | C | boot time, uptime, and load since boot in one line |
| 060 | cputemp | C | CPU temperature from /sys with a tiny history graph (graceful message if absent) |
| 061 | fanwatch | C | fan speeds from /sys/hwmon when present, graceful message otherwise |
| 062 | prochist | C | record one process's CPU/mem over time (sampled) and plot it after it exits |
| 063 | nicewatch | C | processes with unusual nice/priority values |
| 064 | oomscore | C | top processes by OOM score — who the kernel would kill first |
| 065 | memfrag | C | memory fragmentation estimate from /proc/buddyinfo |
| 066 | pressure | C | PSI (pressure stall information) reader with a human summary |
| 067 | schedtop | C | which processes are waiting on CPU (run queue) right now |
| 068 | cpufreq | C | current CPU frequency per core, with min/max |
| 069 | sysnap | C | one-shot system snapshot: load, memory, top processes, disk, network in one report |
| 070 | watchdog | C | watch a process and report (and optionally restart) when it dies or exceeds limits |
| 071 | prockill | C | interactive kill by pattern with a dry-run preview first |
| 072 | memmap | C | one process's memory map summary (heap, stack, libraries) in human sizes |
| 073 | iowait | C | processes with high I/O wait, from /proc/stat and /proc/*/io |
| 074 | topdisk | C | processes doing the most disk I/O right now (reads and writes) |
| 075 | kernellog | C | tail 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
memtop
top memory users with a bar chart, snapshot mode, sorted by RSS
memtop -n 3
proctree
process tree with CPU and memory per branch, collapsed by user
proctree --max-depth 2
loadhist
record load average over time into a log and show a sparkline history
loadhist --record --file ./loadhist.log
loadhist --show --file ./loadhist.log
swapwatch
which processes use swap, how much, and the trend since last check
swapwatch -n 3
zombiefind
find zombie processes and report their parents
zombiefind
fdleak
processes with the most open file descriptors, with growth since last check
fdleak -n 3
threadcount
processes with the most threads, top-N
threadcount -n 3
bootlog
boot time, uptime, and load since boot in one line
bootlog
cputemp
CPU temperature from /sys with a tiny history graph (graceful message if absent)
cputemp
fanwatch
fan speeds from /sys/hwmon when present, graceful message otherwise
fanwatch
prochist
record one process's CPU/mem over time (sampled) and plot it after it exits
prochist --pid 1 --samples 2 --interval 0.2
nicewatch
processes with unusual nice/priority values
nicewatch
oomscore
top processes by OOM score — who the kernel would kill first
oomscore -n 3
memfrag
memory fragmentation estimate from /proc/buddyinfo
memfrag
pressure
PSI (pressure stall information) reader with a human summary
pressure
schedtop
which processes are waiting on CPU (run queue) right now
schedtop
cpufreq
current CPU frequency per core, with min/max
cpufreq
sysnap
one-shot system snapshot: load, memory, top processes, disk, network in one report
sysnap
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
prockill
interactive kill by pattern with a dry-run preview first
prockill nosuchpattern123
memmap
one process's memory map summary (heap, stack, libraries) in human sizes
memmap 1
iowait
processes with high I/O wait, from /proc/stat and /proc/*/io
iowait --interval 0.2
topdisk
processes doing the most disk I/O right now (reads and writes)
topdisk -n 3 --interval 0.2
kernellog
tail the kernel log with severity colors and a filter
kernellog -n 3
Slice D — Network monitoring (25)
| # | Name | Language | Description |
|---|---|---|---|
| 076 | netgraph | C | live ASCII traffic graph per interface, from /proc/net/dev, with refresh |
| 077 | nettop | C | per-process network usage, best-effort mapping from sockets to processes |
| 078 | portscan | C | which local ports are listening and what owns them |
| 079 | portwatch | Python | watch a port and report when it opens or closes |
| 080 | dnstime | Python | measure DNS resolution time for a list of hosts |
| 081 | pingraph | Python | ping a host and draw a latency graph over time |
| 082 | conntrack | C | count active TCP connections by state and by remote host |
| 083 | bandwidth | C | total bytes in/out per interface since boot, with current rates |
| 084 | socklist | C | list sockets with process, state, and remote endpoint |
| 085 | wifisignal | Python | Wi-Fi signal strength from /proc/net/wireless or iw, with fallback |
| 086 | ipinfo | Python | all interfaces, IPs, MTU, and gateway in one table |
| 087 | latency | Python | measure latency to several hosts and rank them |
| 088 | nettrace | Python | trace the route to a host with per-hop latency (ping TTL method) |
| 089 | portfree | Python | find the first free port in a range |
| 090 | connlog | Python | log new connections over time (poll /proc/net/tcp) and report new/closed |
| 091 | dnsleak | Python | check which DNS servers are actually used (resolv.conf plus live tests) |
| 092 | netusage | Python | per-interface usage by hour, from snapshot deltas stored in ~/.cache |
| 093 | sshtest | Python | test SSH connectivity to a host with timing and a banner grab |
| 094 | httpcode | Python | fetch a URL and report status, time, size, and redirect chain |
| 095 | certcheck | Python | a site's TLS certificate expiry date and issuer |
| 096 | netblock | C | which processes have the most sockets open |
| 097 | multicast | Python | list multicast group memberships |
| 098 | arpwatch | Python | ARP table entries with MAC, IP, and interface |
| 099 | netdown | Python | diagnose network health: gateway, DNS, and internet, with a verdict |
| 100 | trafficlog | C | record 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
nettop
per-process network usage, best-effort mapping from sockets to processes
nettop --once
portscan
which local ports are listening and what owns them
portscan --tcp
portwatch
watch a port and report when it opens or closes
portwatch 127.0.0.1 22 -t 2 -i 1
dnstime
measure DNS resolution time for a list of hosts
dnstime localhost -n 1
pingraph
ping a host and draw a latency graph over time
pingraph -c 2 -i 0.2 127.0.0.1
conntrack
count active TCP connections by state and by remote host
conntrack
bandwidth
total bytes in/out per interface since boot, with current rates
bandwidth lo -i 1
socklist
list sockets with process, state, and remote endpoint
socklist --tcp
wifisignal
Wi-Fi signal strength from /proc/net/wireless or iw, with fallback
wifisignal
ipinfo
all interfaces, IPs, MTU, and gateway in one table
ipinfo
latency
measure latency to several hosts and rank them
latency 127.0.0.1 -p 22 -n 1
nettrace
trace the route to a host with per-hop latency (ping TTL method)
nettrace -m 2 127.0.0.1
portfree
find the first free port in a range
portfree 8000 8010
connlog
log new connections over time (poll /proc/net/tcp) and report new/closed
connlog -i 1 -t 2
dnsleak
check which DNS servers are actually used (resolv.conf plus live tests)
dnsleak
netusage
per-interface usage by hour, from snapshot deltas stored in ~/.cache
netusage --snapshot --cache-dir cache
netusage --today --cache-dir cache
sshtest
test SSH connectivity to a host with timing and a banner grab
sshtest 127.0.0.1
httpcode
fetch a URL and report status, time, size, and redirect chain
httpcode --timeout 4 https://example.com
certcheck
a site's TLS certificate expiry date and issuer
certcheck example.com
netblock
which processes have the most sockets open
netblock
multicast
list multicast group memberships
multicast
arpwatch
ARP table entries with MAC, IP, and interface
arpwatch
netdown
diagnose network health: gateway, DNS, and internet, with a verdict
netdown
trafficlog
record interface byte counts every minute into a CSV and show daily totals
trafficlog --once --file traffic.csv
trafficlog --today --file traffic.csv
Slice E — Disk & storage (25)
| # | Name | Language | Description |
|---|---|---|---|
| 101 | diskgraph | C | ASCII bar chart of disk usage by mount point |
| 102 | bigdirs | C | largest directories in a tree, top-N, with a tree view |
| 103 | inodehunt | C | directories consuming the most inodes (many small files) |
| 104 | diskfill | Python | estimate days until a disk fills, from recent growth snapshots |
| 105 | fscheck | Python | filesystem type, mount options, and free space per mount in one table |
| 106 | trimcheck | Python | whether TRIM is enabled/supported, from /sys, with graceful fallback |
| 107 | diskage | C | files by age on a disk — what is old and big |
| 108 | mountlist | Python | all mounts with type, size, free space, and ro/rw flag |
| 109 | diskbench | Python | simple write/read speed test on a directory (temp file, cleaned up) |
| 110 | spacereport | Python | full disk-space report: mounts, top directories, top files, growth |
| 111 | cacheclean | Python | clear user caches safely (~/.cache, pip, npm) with sizes reclaimed |
| 112 | snapdiff | Python | compare two disk-usage snapshots and show what grew |
| 113 | filetypes | C | disk usage by file extension in a tree (which types eat the disk) |
| 114 | emptybig | C | find large files that are mostly zeros (sparse files) |
| 115 | disktemp | Python | disk temperature from SMART if smartctl is present, else /sys, else a clear message |
| 116 | raidcheck | Python | MD RAID status from /proc/mdstat when present |
| 117 | diskio | C | per-device I/O stats from /proc/diskstats with rates |
| 118 | mountwatch | Python | watch for mount/unmount events by polling /proc/mounts |
| 119 | quota | Python | disk quota usage when set, otherwise free space |
| 120 | logrotate | Python | tiny log rotator: compress old logs, keep N generations |
| 121 | backupcheck | Python | verify a backup tree matches its source by hash, report missing/changed |
| 122 | synccheck | Python | dry-run rsync-style diff between two directories (what would change) |
| 123 | diskalarm | Python | alert when a mount crosses a usage threshold, with a one-line report |
| 124 | fatfree | C | find files larger than X in a tree and suggest moving them |
| 125 | treemap | C | ASCII treemap of disk usage by directory (nested bars) |
diskgraph
ASCII bar chart of disk usage by mount point
diskgraph
bigdirs
largest directories in a tree, top-N, with a tree view
bigdirs -n 5 .
inodehunt
directories consuming the most inodes (many small files)
inodehunt -n 5 .
diskfill
estimate days until a disk fills, from recent growth snapshots
diskfill snapshot --db diskfill.csv /
diskfill --db diskfill.csv
fscheck
filesystem type, mount options, and free space per mount in one table
fscheck
trimcheck
whether TRIM is enabled/supported, from /sys, with graceful fallback
trimcheck
diskage
files by age on a disk — what is old and big
diskage -n 5 .
mountlist
all mounts with type, size, free space, and ro/rw flag
mountlist
diskbench
simple write/read speed test on a directory (temp file, cleaned up)
diskbench --size 1 .
spacereport
full disk-space report: mounts, top directories, top files, growth
spacereport --top 5 .
cacheclean
clear user caches safely (~/.cache, pip, npm) with sizes reclaimed
cacheclean --home .
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
filetypes
disk usage by file extension in a tree (which types eat the disk)
filetypes .
emptybig
find large files that are mostly zeros (sparse files)
emptybig .
disktemp
disk temperature from SMART if smartctl is present, else /sys, else a clear message
disktemp
raidcheck
MD RAID status from /proc/mdstat when present
raidcheck
diskio
per-device I/O stats from /proc/diskstats with rates
diskio
mountwatch
watch for mount/unmount events by polling /proc/mounts
mountwatch --duration 1 --interval 0.5
quota
disk quota usage when set, otherwise free space
quota
logrotate
tiny log rotator: compress old logs, keep N generations
logrotate --dry-run --force logs/
backupcheck
verify a backup tree matches its source by hash, report missing/changed
cp -r src/ backup2/
backupcheck src/ backup2/
synccheck
dry-run rsync-style diff between two directories (what would change)
synccheck src/ dst/
diskalarm
alert when a mount crosses a usage threshold, with a one-line report
diskalarm --threshold 99
fatfree
find files larger than X in a tree and suggest moving them
fatfree --min-size 1K .
treemap
ASCII treemap of disk usage by directory (nested bars)
treemap --depth 2 .
Slice F — Archives, conversion, checksums, metadata (25)
| # | Name | Language | Description |
|---|---|---|---|
| 126 | zipls | Python | list zip archive contents with sizes, without extracting |
| 127 | tarpeek | Python | list tar/tar.gz contents with a summary |
| 128 | archratio | Python | compression ratio of the archives in a directory |
| 129 | zipcheck | Python | verify archive integrity and report the broken ones |
| 130 | archconv | Python | convert an archive between zip and tar.gz, with verification |
| 131 | hashfile | C | hash a file with several algorithms at once (md5/sha1/sha256) in one pass |
| 132 | hashdir | C | hash a whole tree and write a manifest |
| 133 | verifyhash | Python | verify files against a checksum file (sha256sum format) |
| 134 | metaread | Python | file metadata in one view: type, size, times, permissions, xattrs |
| 135 | metacopy | Python | copy timestamps and permissions from one file to another |
| 136 | touchdate | Python | set a file's mtime to a given date, or copy it from another file |
| 137 | permfix | Python | normalize permissions (files 644, dirs 755) with a preview and an undo list |
| 138 | ownfix | Python | report files in a tree not owned by the current user |
| 139 | execfix | Python | find scripts without the executable bit, or with it but no shebang |
| 140 | csv2json | Python | convert a flat CSV file to JSON |
| 141 | json2csv | Python | convert a flat JSON array to CSV |
| 142 | json2yaml | Python | convert JSON to YAML (small built-in emitter, stdlib only) |
| 143 | xml2json | Python | convert simple XML to JSON |
| 144 | base64file | Python | base64 encode/decode files, with a check round-trip |
| 145 | hexfile | Python | hex encode/decode files |
| 146 | urlfile | Python | URL-encode/decode a file or a string |
| 147 | bomfix | Python | detect, strip, or add a BOM in text files |
| 148 | charset | Python | detect a file's encoding (UTF-8/16/32, latin-1) with a confidence note |
| 149 | bin2txt | Python | encode a binary file as text (base64/hex) with a decode header |
| 150 | txt2bin | Python | decode a bin2txt file back to binary |
zipls
list zip archive contents with sizes, without extracting
zipls pack.zip
tarpeek
list tar/tar.gz contents with a summary
tarpeek sample.tar.gz
archratio
compression ratio of the archives in a directory
archratio .
zipcheck
verify archive integrity and report the broken ones
zipcheck pack.zip
archconv
convert an archive between zip and tar.gz, with verification
archconv --to tar.gz pack.zip
hashfile
hash a file with several algorithms at once (md5/sha1/sha256) in one pass
hashfile sample.txt
hashdir
hash a whole tree and write a manifest
hashdir .
verifyhash
verify files against a checksum file (sha256sum format)
sha256sum sample.txt a.txt > manifest.txt
verifyhash manifest.txt
metaread
file metadata in one view: type, size, times, permissions, xattrs
metaread sample.txt
metacopy
copy timestamps and permissions from one file to another
metacopy a.txt b.txt
metaread b.txt
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
permfix
normalize permissions (files 644, dirs 755) with a preview and an undo list
permfix .
ownfix
report files in a tree not owned by the current user
ownfix .
execfix
find scripts without the executable bit, or with it but no shebang
execfix .
csv2json
convert a flat CSV file to JSON
csv2json sample.csv
json2csv
convert a flat JSON array to CSV
json2csv sample.json
json2yaml
convert JSON to YAML (small built-in emitter, stdlib only)
json2yaml sample.json
xml2json
convert simple XML to JSON
xml2json sample.xml
base64file
base64 encode/decode files, with a check round-trip
base64file sample.txt encoded.b64
hexfile
hex encode/decode files
hexfile --dump sample.txt
urlfile
URL-encode/decode a file or a string
urlfile --string "hello world"
bomfix
detect, strip, or add a BOM in text files
bomfix bom.txt
charset
detect a file's encoding (UTF-8/16/32, latin-1) with a confidence note
charset sample.txt latin1.txt
bin2txt
encode a binary file as text (base64/hex) with a decode header
bin2txt sample.bin encoded.txt
txt2bin
decode a bin2txt file back to binary
bin2txt sample.bin encoded.txt
txt2bin encoded.txt decoded.bin
Slice G — Termux/Android (25)
| # | Name | Language | Description |
|---|---|---|---|
| 151 | txbattery | bash | battery status (termux-battery-status, /sys fallback) |
| 152 | txclip | bash | clipboard get/set (termux-clipboard-get/set) |
| 153 | txnotify | bash | send an Android notification (termux-notification) |
| 154 | txstorage | bash | storage info (termux-storage, df fallback) |
| 155 | txvibrate | bash | vibrate the device (termux-vibrate) |
| 156 | txtorch | bash | torch on/off (termux-torch) |
| 157 | txwifi | bash | Wi-Fi connection info (termux-wifi-connectioninfo) |
| 158 | txwallpaper | bash | set the wallpaper from an image (termux-wallpaper) |
| 159 | txcontact | bash | look up a contact by name (termux-contact-list) |
| 160 | txsms | bash | list recent SMS messages with a count (termux-sms-list) |
| 161 | txcall | bash | list recent calls (termux-call-log) |
| 162 | txlocation | bash | current location with a timeout (termux-location) |
| 163 | txshare | bash | share a file via the Android share sheet (termux-share) |
| 164 | txopen | bash | open a file with its default app (termux-open) |
| 165 | txsensors | bash | list sensors and their current values (termux-sensor) |
| 166 | txscan | bash | trigger a media scan of a file or directory (termux-media-scan) |
| 167 | txbrightness | bash | set screen brightness (termux-brightness) |
| 168 | txvolume | bash | show and set volume levels (termux-volume) |
| 169 | txtts | bash | speak text out loud (termux-tts-speak) |
| 170 | txdialog | bash | show a dialog and return the choice (termux-dialog) |
| 171 | txwake | bash | acquire/release a wake lock (termux-wake-lock/unlock) |
| 172 | txusb | bash | list USB devices (termux-usb-list) |
| 173 | txtelephony | bash | telephony and device info (termux-telephony-deviceinfo) |
| 174 | txdownload | bash | download a file into Downloads (termux-download) |
| 175 | txtermux | bash | Termux environment report: version, storage, API availability, health check |
txbattery
battery status (termux-battery-status, /sys fallback)
txbattery
txclip
clipboard get/set (termux-clipboard-get/set)
txclip set hello
txnotify
send an Android notification (termux-notification)
txnotify -t "Backup done" -c "All files copied" --dry-run
txstorage
storage info (termux-storage, df fallback)
txstorage
txvibrate
vibrate the device (termux-vibrate)
txvibrate 200 --dry-run
txtorch
torch on/off (termux-torch)
txtorch on --dry-run
txwifi
Wi-Fi connection info (termux-wifi-connectioninfo)
txwifi
txwallpaper
set the wallpaper from an image (termux-wallpaper)
txwallpaper photo.jpg --dry-run
txcontact
look up a contact by name (termux-contact-list)
txcontact ada
txsms
list recent SMS messages with a count (termux-sms-list)
txsms -n 3
txcall
list recent calls (termux-call-log)
txcall -n 3
txlocation
current location with a timeout (termux-location)
txlocation --provider gps --timeout 2
txshare
share a file via the Android share sheet (termux-share)
txshare sample.txt --dry-run
txopen
open a file with its default app (termux-open)
txopen sample.txt --dry-run
txsensors
list sensors and their current values (termux-sensor)
txsensors -l
txscan
trigger a media scan of a file or directory (termux-media-scan)
txscan sample.txt --dry-run
txbrightness
set screen brightness (termux-brightness)
txbrightness 50% --dry-run
txvolume
show and set volume levels (termux-volume)
txvolume music
txtts
speak text out loud (termux-tts-speak)
txtts --dry-run Hello world
txdialog
show a dialog and return the choice (termux-dialog)
txdialog confirm -t "Delete file?" --dry-run
txwake
acquire/release a wake lock (termux-wake-lock/unlock)
txwake status --dry-run
txusb
list USB devices (termux-usb-list)
txusb
txtelephony
telephony and device info (termux-telephony-deviceinfo)
txtelephony
txdownload
download a file into Downloads (termux-download)
txdownload --dry-run https://example.com/file.zip
txtermux
Termux environment report: version, storage, API availability, health check
txtermux
Slice H — Time, dates, units, converters, generators (25)
| # | Name | Language | Description |
|---|---|---|---|
| 176 | datecalc | Python | date arithmetic: add/subtract days, difference between dates, weekday |
| 177 | epoch | Python | convert between epoch seconds and human dates, both ways |
| 178 | countdown | Python | countdown to a date with a live display |
| 179 | stopwatch | Python | terminal stopwatch with laps |
| 180 | pomodoro | Python | pomodoro timer with work/break cycles and a session log |
| 181 | unitconv | Python | convert units (length, weight, temperature, data) with a table |
| 182 | dataconv | Python | convert data sizes (B/KB/MB/GB, bits/bytes, MiB vs MB) |
| 183 | tempconv | Python | temperature converter (C/F/K) with a conversion table |
| 184 | passgen | Python | generate passwords (length, symbols, word mode) |
| 185 | dice | Python | roll dice with notation (3d6+2) and a roll history |
| 186 | randpick | Python | pick a random item from a list or a file |
| 187 | randnum | Python | random numbers in a range, with an optional seed |
| 188 | uuidgen | Python | generate UUIDs (v4) and short ids |
| 189 | colorpick | Python | pick and convert colors (hex/rgb/hsl) and show a terminal swatch |
| 190 | morse | Python | text to Morse code and back |
| 191 | braille | Python | text to Braille unicode and back |
| 192 | baseconv | Python | convert numbers between bases (2/8/10/16/36) |
| 193 | romannum | Python | convert to and from Roman numerals |
| 194 | timesheet | Python | log time spent on tasks, with a daily summary |
| 195 | agecalc | Python | age from a birthdate: years, days lived, next birthday |
| 196 | workdays | Python | count working days between two dates (weekends excluded) |
| 197 | tzconv | Python | convert a time between time zones (built-in zone table, system tzdata when present) |
| 198 | speedconv | Python | speed converter (km/h, mph, m/s, knots) |
| 199 | currconv | Python | currency converter with an editable offline rate file |
| 200 | quote | Python | quote 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
epoch
convert between epoch seconds and human dates, both ways
epoch 1700000000
countdown
countdown to a date with a live display
countdown 90s --once
stopwatch
terminal stopwatch with laps
stopwatch --duration 1
pomodoro
pomodoro timer with work/break cycles and a session log
pomodoro --work 0.02 --break 0 --cycles 1 --no-log
unitconv
convert units (length, weight, temperature, data) with a table
unitconv 5 km mi
dataconv
convert data sizes (B/KB/MB/GB, bits/bytes, MiB vs MB)
dataconv 1 GiB --to MB
tempconv
temperature converter (C/F/K) with a conversion table
tempconv 100 C --to F
passgen
generate passwords (length, symbols, word mode)
passgen --length 12 --seed 1
dice
roll dice with notation (3d6+2) and a roll history
dice 3d6+2 --seed 7
randpick
pick a random item from a list or a file
randpick apple banana cherry --seed 1
randnum
random numbers in a range, with an optional seed
randnum 1 10 --seed 1
uuidgen
generate UUIDs (v4) and short ids
uuidgen --count 2
colorpick
pick and convert colors (hex/rgb/hsl) and show a terminal swatch
colorpick '#ff8800' --no-swatch
morse
text to Morse code and back
morse SOS
braille
text to Braille unicode and back
braille hello
baseconv
convert numbers between bases (2/8/10/16/36)
baseconv 255 16
romannum
convert to and from Roman numerals
romannum 2026
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
agecalc
age from a birthdate: years, days lived, next birthday
agecalc 1990-05-15
workdays
count working days between two dates (weekends excluded)
workdays 2026-01-01 2026-01-31
tzconv
convert a time between time zones (built-in zone table, system tzdata when present)
tzconv 14:30 UTC America/New_York
speedconv
speed converter (km/h, mph, m/s, knots)
speedconv 100 --to mph
currconv
currency converter with an editable offline rate file
currconv 10 USD EUR
quote
quote of the day (built-in list, deterministic by date)
quote --number 1
Slice I — Dev & shell helpers (25)
| # | Name | Language | Description |
|---|---|---|---|
| 201 | gitstat | Python | one-page git repo summary: branch, status counts, recent commits, stashes |
| 202 | gitclean | Python | find and remove stale git branches (merged, or with no upstream) with a preview |
| 203 | gitlog | Python | pretty log with a graph and per-commit file stats, filtered by author/date |
| 204 | cronlist | Python | list cron jobs with a human-readable explanation of each schedule |
| 205 | croncheck | Python | validate a cron expression and show the next run times |
| 206 | sshkeys | Python | list SSH keys, their fingerprints, and which are loaded in the agent |
| 207 | sshhost | Python | known-hosts report with fingerprints |
| 208 | tmuxls | Python | tmux/screen sessions with a summary, graceful fallback when absent |
| 209 | tmuxsave | Python | save and restore a tmux session layout (best effort) |
| 210 | pkglist | Python | list installed packages (apt/dpkg or pacman) with sizes, top-N |
| 211 | pkgsearch | Python | search installed packages by name or description |
| 212 | envdiff | Python | compare environment variables between two shells, or a file and the current env |
| 213 | pathclean | Python | show PATH entries, flag duplicates and missing directories, print a cleaned PATH |
| 214 | aliaslist | Python | list shell aliases and functions with their definitions |
| 215 | histstat | C | shell history statistics: most-used commands, usage by hour |
| 216 | scriptcheck | Python | syntax-check all shell scripts in a directory (bash -n) and report |
| 217 | pycheck | Python | syntax-check Python files (py_compile) and report |
| 218 | todo | Python | find TODO/FIXME/XXX comments in a tree, with counts by file |
| 219 | codelines | C | count code lines by language in a tree |
| 220 | gitdiffstat | Python | diff stats between two refs with a per-file table |
| 221 | branchage | Python | age of git branches, sorted, with last commit |
| 222 | stashlist | Python | list stashes with a summary of their contents |
| 223 | repocheck | Python | health check for a git repo: uncommitted, untracked, ahead/behind, large files |
| 224 | maketool | Python | scaffold a new utility: template file plus a test stub |
| 225 | benchcmd | Python | benchmark a command's runtime over N runs (average, min, max) |
gitstat
one-page git repo summary: branch, status counts, recent commits, stashes
gitstat .
gitclean
find and remove stale git branches (merged, or with no upstream) with a preview
gitclean .
gitlog
pretty log with a graph and per-commit file stats, filtered by author/date
gitlog -n 3 .
cronlist
list cron jobs with a human-readable explanation of each schedule
cronlist --file crontab.txt
croncheck
validate a cron expression and show the next run times
croncheck "0 9 * * 1-5"
sshkeys
list SSH keys, their fingerprints, and which are loaded in the agent
sshkeys --dir sshdir
sshhost
known-hosts report with fingerprints
sshhost --file ssh_known_hosts
tmuxls
tmux/screen sessions with a summary, graceful fallback when absent
tmuxls
tmuxsave
save and restore a tmux session layout (best effort)
tmuxsave list
pkglist
list installed packages (apt/dpkg or pacman) with sizes, top-N
pkglist --top 5
pkgsearch
search installed packages by name or description
pkgsearch --limit 5 bash
envdiff
compare environment variables between two shells, or a file and the current env
envdiff env1.env env2.env
pathclean
show PATH entries, flag duplicates and missing directories, print a cleaned PATH
pathclean --path /usr/bin:/bin:/usr/bin
aliaslist
list shell aliases and functions with their definitions
aliaslist --file aliases.sh
histstat
shell history statistics: most-used commands, usage by hour
histstat -f history.txt
scriptcheck
syntax-check all shell scripts in a directory (bash -n) and report
scriptcheck .
pycheck
syntax-check Python files (py_compile) and report
pycheck .
todo
find TODO/FIXME/XXX comments in a tree, with counts by file
todo .
codelines
count code lines by language in a tree
codelines .
gitdiffstat
diff stats between two refs with a per-file table
gitdiffstat HEAD~1 HEAD .
branchage
age of git branches, sorted, with last commit
branchage .
stashlist
list stashes with a summary of their contents
stashlist .
repocheck
health check for a git repo: uncommitted, untracked, ahead/behind, large files
repocheck .
maketool
scaffold a new utility: template file plus a test stub
maketool --dir . demotool
benchcmd
benchmark a command's runtime over N runs (average, min, max)
benchcmd -n 2 echo hi
Slice J — Fun, creative, novel concepts (25)
| # | Name | Language | Description |
|---|---|---|---|
| 226 | banner | Python | ASCII banner text with several built-in fonts (no figlet dependency) |
| 227 | fortune | Python | random fortune with categories (built-in list) |
| 228 | motd | Python | generate a message of the day from live system stats plus a quote |
| 229 | typing | Python | typing speed test in the terminal |
| 230 | quiz | Python | tiny quiz game with built-in questions and a score |
| 231 | hangman | Python | hangman game in the terminal |
| 232 | memory | Python | memory matching game in the terminal |
| 233 | maze | Python | generate a random ASCII maze |
| 234 | life | Python | Conway's Game of Life in the terminal for a few generations |
| 235 | starfield | Python | short animated starfield (frame-limited, so it always exits) |
| 236 | clock | Python | big ASCII clock, live, with a duration limit |
| 237 | calendar | Python | month calendar with today highlighted and events read from a file |
| 238 | moonphase | Python | moon phase calculator from the date (algorithmic, no network) |
| 239 | sunrise | Python | sunrise/sunset calculator for a given latitude/longitude (algorithmic) |
| 240 | passphrase | Python | generate a passphrase from a built-in wordlist |
| 241 | anagram | Python | find anagrams of a word from a built-in wordlist |
| 242 | palindrome | Python | check palindromes and find the longest palindromic substring |
| 243 | lorem | Python | generate lorem ipsum text (N paragraphs) |
| 244 | fakeuser | Python | generate a fake user profile (name, email, address) for testing |
| 245 | fakelog | Python | generate fake log lines for testing log tools |
| 246 | fakedata | Python | generate fake CSV data (names, ages, cities) for testing |
| 247 | timer | Python | simple countdown timer with a message at the end |
| 248 | alarm | Python | set an alarm (sleep, then a beep and a message) |
| 249 | focus | Python | focus session tracker: start/stop, log, daily total |
| 250 | namegen | Python | generate creative names for projects, pets, or bands from combinable word lists |
banner
ASCII banner text with several built-in fonts (no figlet dependency)
banner hello
fortune
random fortune with categories (built-in list)
fortune --seed 1
motd
generate a message of the day from live system stats plus a quote
motd
typing
typing speed test in the terminal
typing --auto --seed 1
quiz
tiny quiz game with built-in questions and a score
quiz -n 2 --auto --seed 1
hangman
hangman game in the terminal
hangman --auto --word test
memory
memory matching game in the terminal
memory --auto --seed 1
maze
generate a random ASCII maze
maze -w 10 -H 5 --seed 1
life
Conway's Game of Life in the terminal for a few generations
life -g 3 --pattern glider --delay 0
starfield
short animated starfield (frame-limited, so it always exits)
starfield --frames 2 --seed 1 --delay 0
clock
big ASCII clock, live, with a duration limit
clock --duration 1 --no-clear
calendar
month calendar with today highlighted and events read from a file
calendar --month 1 --year 2026
moonphase
moon phase calculator from the date (algorithmic, no network)
moonphase --date 2026-01-01
sunrise
sunrise/sunset calculator for a given latitude/longitude (algorithmic)
sunrise --lat 21.3 --lon -157.8 --date 2026-01-01
passphrase
generate a passphrase from a built-in wordlist
passphrase --seed 1
anagram
find anagrams of a word from a built-in wordlist
anagram listen
palindrome
check palindromes and find the longest palindromic substring
palindrome racecar
lorem
generate lorem ipsum text (N paragraphs)
lorem -p 1 --seed 1
fakeuser
generate a fake user profile (name, email, address) for testing
fakeuser --seed 1
fakelog
generate fake log lines for testing log tools
fakelog -n 3 --seed 1
fakedata
generate fake CSV data (names, ages, cities) for testing
fakedata -n 3 --seed 1
timer
simple countdown timer with a message at the end
timer --seconds 2 --message done --quiet
alarm
set an alarm (sleep, then a beep and a message)
alarm --in 1s --message test --quiet
focus
focus session tracker: start/stop, log, daily total
focus start demo
focus status
focus stop
focus today
namegen
generate creative names for projects, pets, or bands from combinable word lists
namegen --kind pet --count 3 --seed 1
Slice K — More monitors: temperature, CPU & memory (25)
| # | Name | Language | Description |
|---|---|---|---|
| 251 | tempgraph | C | live CPU temperature sparkline over time |
| 252 | coretemp | C | per-core temperature table with mini sparklines |
| 253 | gputemp | C | GPU temperature graph |
| 254 | temphist | C | log temperatures and render history as an ASCII graph |
| 255 | tempzones | C | all thermal zones side-by-side with sparklines |
| 256 | tempdelta | C | temperature rate of change in degC/min per zone |
| 257 | tempalarm | C | alert when any temperature crosses a threshold |
| 258 | tempfan | C | temperature vs fan speed correlation plot |
| 259 | tempthrottle | C | detect thermal throttling from MHz drop + temperature |
| 260 | tempdiff | C | temperature before vs after running a command |
| 261 | tempmax | C | session high-water marks: max temperature per zone |
| 262 | tempslope | C | predict minutes to throttle from the current heating slope |
| 263 | corebars | C | per-core CPU usage bars, live, one line per core |
| 264 | cpushare | C | CPU time split user/system/iowait/idle as stacked bars |
| 265 | cpusteal | C | steal time monitor for VMs with history graph |
| 266 | irqtop | C | top interrupt consumers from /proc/interrupts and /proc/stat |
| 267 | ctxwatch | C | context switch rate monitor |
| 268 | cpuidle | C | per-core idle and C-state time monitor |
| 269 | runq | C | run queue length history graph |
| 270 | cpuburst | C | detect CPU bursts and log them with process attribution |
| 271 | memleak | C | watch a process RSS growth over time and flag leaks |
| 272 | swaphist | C | swap in/out history graph |
| 273 | slabwatch | C | slab allocator top consumers |
| 274 | pagereclaim | C | page reclaim and major fault rate monitor |
| 275 | psigraph | C | PSI (pressure stall information) graphs for CPU/memory/IO |
tempgraph
live CPU temperature sparkline over time
tempgraph --mock --count 3 --interval 0.2
coretemp
per-core temperature table with mini sparklines
coretemp --mock --count 3 --interval 0.2
gputemp
GPU temperature graph
gputemp --mock --count 3 --interval 0.2
temphist
log temperatures and render history as an ASCII graph
temphist --mock --samples 3 --log ./temphist.log
temphist graph --log ./temphist.log
tempzones
all thermal zones side-by-side with sparklines
tempzones --mock --count 3 --interval 0.2
tempdelta
temperature rate of change in degC/min per zone
tempdelta --mock
tempalarm
alert when any temperature crosses a threshold
tempalarm --mock
tempfan
temperature vs fan speed correlation plot
tempfan --mock --count 3 --interval 0.2
tempthrottle
detect thermal throttling from MHz drop + temperature
tempthrottle --mock
tempdiff
temperature before vs after running a command
tempdiff --mock -- true
tempmax
session high-water marks: max temperature per zone
tempmax --mock --count 3 --interval 0.2
tempslope
predict minutes to throttle from the current heating slope
tempslope --mock --count 3 --interval 0.2
corebars
per-core CPU usage bars, live, one line per core
corebars --count 2 --interval 0.2
cpushare
CPU time split user/system/iowait/idle as stacked bars
cpushare --count 2 --interval 0.2
cpusteal
steal time monitor for VMs with history graph
cpusteal --count 2 --interval 0.2
irqtop
top interrupt consumers from /proc/interrupts and /proc/stat
irqtop --top 3 --count 2 --interval 0.2
ctxwatch
context switch rate monitor
ctxwatch --count 2 --interval 0.2
cpuidle
per-core idle and C-state time monitor
cpuidle --count 2 --interval 0.2
runq
run queue length history graph
runq --count 2 --interval 0.2
cpuburst
detect CPU bursts and log them with process attribution
cpuburst --count 2 --interval 0.2
memleak
watch a process RSS growth over time and flag leaks
memleak 1 --seconds 1 --interval 0.2
swaphist
swap in/out history graph
swaphist --count 2 --interval 0.2
slabwatch
slab allocator top consumers
slabwatch --top 3
pagereclaim
page reclaim and major fault rate monitor
pagereclaim --count 2 --interval 0.2
psigraph
PSI (pressure stall information) graphs for CPU/memory/IO
psigraph --count 2 --interval 0.2
Slice L — More monitors: disk, network & process (25)
| # | Name | Language | Description |
|---|---|---|---|
| 276 | hugewatch | C | huge page usage monitor |
| 277 | cachehit | C | page cache hit ratio estimate monitor |
| 278 | iolat | C | per-disk IO latency histogram from /proc/diskstats deltas |
| 279 | iodepth | C | IO queue depth monitor |
| 280 | diskrate | C | per-disk read/write rate bars, live |
| 281 | fswatch | C | filesystem write volume per mount point |
| 282 | ioproc | C | top processes by IO with live delta rates |
| 283 | diskbusy | C | disk busy percentage per device graph |
| 284 | trimwatch | C | TRIM/discard activity monitor from /proc/diskstats |
| 285 | netlat | C | latency to multiple hosts graphed over time |
| 286 | neterr | C | interface error and drop counter monitor |
| 287 | socktop | C | top sockets by state (ESTABLISHED/TIME_WAIT counts) |
| 288 | portflow | C | per-port traffic rates (which local port is busy) |
| 289 | dnswatch | C | DNS query latency monitor with graph |
| 290 | netqueue | C | interface queue/backlog monitor (drops, qdisc) |
| 291 | wifigraph | C | WiFi signal strength graph over time |
| 292 | netretrans | C | TCP retransmit rate monitor |
| 293 | procmem | C | top processes by memory with tree grouping |
| 294 | proccpu | C | top processes by CPU with per-PID history sparklines |
| 295 | procage | C | longest-running processes with age and start time |
| 296 | procstate | C | process counts by state (R/S/D/Z/T) graphed over time |
| 297 | procfork | C | fork rate monitor (new processes per second) |
| 298 | procrestart | C | detect processes that restart frequently |
| 299 | gpuload | C | GPU utilization and memory graph |
| 300 | gpuproc | C | top processes by GPU memory |
hugewatch
huge page usage monitor
hugewatch
cachehit
page cache hit ratio estimate monitor
cachehit --count 2 --interval 0.2
iolat
per-disk IO latency histogram from /proc/diskstats deltas
iolat --count 2 --interval 0.2
iodepth
IO queue depth monitor
iodepth --count 2 --interval 0.2
diskrate
per-disk read/write rate bars, live
diskrate --count 2 --interval 0.2
fswatch
filesystem write volume per mount point
fswatch --count 2 --interval 0.2
ioproc
top processes by IO with live delta rates
ioproc --top 3 --count 2 --interval 0.2
diskbusy
disk busy percentage per device graph
diskbusy --count 2 --interval 0.2
trimwatch
TRIM/discard activity monitor from /proc/diskstats
trimwatch --count 2 --interval 0.2
netlat
latency to multiple hosts graphed over time
netlat 127.0.0.1 --count 2 --interval 0.2
neterr
interface error and drop counter monitor
neterr --count 2 --interval 0.2
socktop
top sockets by state (ESTABLISHED/TIME_WAIT counts)
socktop --top 3 --count 2 --interval 0.2
portflow
per-port traffic rates (which local port is busy)
portflow --top 3 --count 2 --interval 0.2
dnswatch
DNS query latency monitor with graph
dnswatch --count 2 --interval 0.2
netqueue
interface queue/backlog monitor (drops, qdisc)
netqueue --count 2 --interval 0.2
wifigraph
WiFi signal strength graph over time
wifigraph --mock --count 3 --interval 0.2
netretrans
TCP retransmit rate monitor
netretrans --count 2 --interval 0.2
procmem
top processes by memory with tree grouping
procmem --top 3
proccpu
top processes by CPU with per-PID history sparklines
proccpu --top 3 --count 2 --interval 0.2
procage
longest-running processes with age and start time
procage --top 3
procstate
process counts by state (R/S/D/Z/T) graphed over time
procstate --count 2 --interval 0.2
procfork
fork rate monitor (new processes per second)
procfork --count 2 --interval 0.2
procrestart
detect processes that restart frequently
procrestart --mock --count 2 --interval 0.2
gpuload
GPU utilization and memory graph
gpuload --mock --count 3 --interval 0.2
gpuproc
top processes by GPU memory
gpuproc --mock --top 3
Slice M — More monitors: GPU, power & system (10)
| # | Name | Language | Description |
|---|---|---|---|
| 301 | gpupower | C | GPU power draw graph |
| 302 | batgraph | C | battery charge/discharge graph over time |
| 303 | wattwatch | C | power draw estimate in watts |
| 304 | suspendwatch | C | suspend/resume event log monitor |
| 305 | loadspike | C | detect load spikes, log top processes at the moment |
| 306 | bootchart | C | boot time breakdown from dmesg/systemd timestamps |
| 307 | kerneltop | C | top kernel threads by CPU |
| 308 | fdgraph | C | open file descriptor count history graph per process |
| 309 | lockwatch | C | detect processes stuck in uninterruptible sleep (D-state) |
| 310 | sysdash | C | combined mini-dashboard: CPU, memory, disk, net, temp |
gpupower
GPU power draw graph
gpupower --mock --count 3 --interval 0.2
batgraph
battery charge/discharge graph over time
batgraph --mock --count 3 --interval 0.2
wattwatch
power draw estimate in watts
wattwatch --mock --count 3 --interval 0.2
suspendwatch
suspend/resume event log monitor
suspendwatch --mock
loadspike
detect load spikes, log top processes at the moment
loadspike --mock --threshold 2 --seconds 2 --interval 0.2
bootchart
boot time breakdown from dmesg/systemd timestamps
bootchart
kerneltop
top kernel threads by CPU
kerneltop
fdgraph
open file descriptor count history graph per process
fdgraph --mock --count 3 --interval 0.2
lockwatch
detect processes stuck in uninterruptible sleep (D-state)
lockwatch
sysdash
combined mini-dashboard: CPU, memory, disk, net, temp
sysdash
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.