Repository navigation
clifr 0.3.0 (pre-release) #3
jlruedab
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
clifr tui: browse a recording in the terminal to find the moment first, then see any tool at it. clifr is still a working prototype: tested in virtual machines and on one desktop, not yet on a production server.Downloads
clifrd_0.3.0_amd64.deb,clifrd-0.3.0-1.x86_64.rpmclifr_0.3.0_amd64.deb,clifr-0.3.0-1.x86_64.rpmSHA256SUMS,SHA256SUMS.ascCheck the download before installing, with the same release key as before (
KEYS, fingerprint2AD0 6804 EA2D 2396 1971 79AC 6336 C307 D721 2C5F):Upgrading from 0.2.0
--hostincluded.What's new
clifr tui: a window of the recording in the terminal (the last hour by default, or--since/--until, up to everything kept):zandZzoom in and out;top,ps,ss,lsof,free,vmstat,iostat,events,oom,df,mpstat,iotop,pstree,dmesg,w,containersorsystemctl, filtered with a regular expression (/);clifr diffdoes, side by side or one above the other;--until, the window follows the clock and shows what clifrd writes as it comes, locally or with--host.The user guide describes the screen and the keys, and the demo video shows it.
Also new:
clifr oomsays what ran out: the whole machine, a memory cgroup (a container, a pod,MemoryMax=: with its limit and usage, and that cgroup's largest processes instead of the machine's), a cpuset or a memory policy. The kill is a table row with PPID, user and RSS.clifr eventsprints a table (time, event, PID, PPID, user, exit status, lifetime, sender, command);--signal[=KILL,TERM]keeps only the exits a signal caused: what was killed and by whom in one command.freeandvmstatsay when the hypervisor took memory back or returned it (virtio and VMware; all balloon drivers on Linux 6.14+), and the tui marks it.Fixed:
life,eventsandcontainerscould shift the next boot's start times by the time between the boots (taken for a clock step), showing starts in the future and some processes twice.ps --changesandclifr diffcould show every process as gone and new between two samples: start times moved by a millisecond of clock jitter.--csv-raw,--integrity,--seal-key,--seal-anchor) given with a tool command were ignored; they are refused now.Security (from a review of the whole code base):
--servetoken) are masked in recorded command lines whatever the redaction patterns;clifr verifywarns when the key is given on the command line (@FILEinstead).clifrd --data-diras root creates the directory before checking it, so another user cannot plant it in between./etc/clifr/clifrd.yml, not the directory (web configurations, TLS keys).--serveand--metricslimit connections, delayed bad-token requests and bcrypt checks, so clients that never authenticate cannot take the recorder's memory or CPU.clifr exportguards CSV cells against formula injection (--csv-rawwrites them as recorded).clifr --host http://HOSTis refused unless HOST is a loopback address (the token would cross the network in clear).Tested on
In each virtual machine the packages (snapshots of the release commit's code, 2026-11-29) pass the installed-service checks, eBPF in all three program modes, the end-to-end test, the ground-truth test (43 of 43 checks), the network features (
--metrics,--serve, TLS) and the sos plugin: 23 of 23 checks on Rocky 8 and Alma 9 (with SELinux), 21 of 21 on Ubuntu.clifr tuiwas used on the desktop's own recording, three days at a time.What it costs
The recorder is unchanged but for the balloon counters (three more values a system sample), so the costs are 0.2.0's: at the busy-server benchmark (80,000 PostgreSQL transactions a second), 2.2% of one core, about 290 MiB of memory on average, 330 MiB at most.
clifr tuiruns on the machine where you read the recording, not in the recorder.Known limitations
As in 0.2.0 and 0.1.0, and:
NO_COLORturns its colors off.This discussion was created from the release clifr 0.3.0 (pre-release).
All reactions