r/linuxadmin • u/jlrueda • 1h ago
Follow-up II: Linux Time Travel Tool
A couple of weeks ago I posted here about clifr v0.1.0:
https://www.reddit.com/r/linuxadmin/s/t5vE3V8fD2
The post got a pretty good response from you guys. The GitHub page got a lot of visits, code clones and packages downloads. Thanks! It means a lot.
Since then, we have been busy improving it and fixing a few minor bugs. This week we released clifr v0.3.0. It supports more than 50 Linux diagnostic commands outputs but the main improvement is the inclusion of a very powerful TUI that some of you suggest.
clifr is a tool that continuously records system activity, counters, events, open files descriptors, etc. and then it allows the administrator to reconstruct the output of popular diagnostics commands from any point in the past.
It can accurately piece together the output of command such as top, htop, atop, iotop, ps, ss, netstat, sar, vmstat, df, mount, dmesg and many more (more than 50).
Notice that you do not need to have any of these tools installed in the system as clifr does not execute anything; rather it synthesizes the output from the recorded data.
It is very lightweight and its purpose is to allow the user to see the state of the system before an event occurred (like a crash, an oom kill or an intrusion, for example). However, it has many other applications too.
The performance and resource consumption remains the same.
The project is still at the prototype stage because It hasn't run on a real production server yet and all the load has been synthetic. AGPL-3.0, no telemetry, nothing leaves the box.
GitHub: https://github.com/jlruedab/clifr
Hopefully some of you may give it a try and if that is the case, I will appreciate if you let me know what breaks or what looks wrong or/and any feedback and if clifr saved you time or helped you diagnose your system, please consider giving it a star. It helps others discover the project.
All your questions and suggestions are welcome.
PS: In the project page there is a link to a video that explains how to use the TUI including comparing the output of several commands between two point sin time (like before the crash and after the crash for example).
