r/devops • u/AutoModerator • 1d ago
Weekly Self Promotion Thread
Hey r/devops, welcome to our weekly self-promotion thread!
Feel free to use this thread to promote any projects, ideas, or any repos you're wanting to share. Please keep in mind that we ask you to stay friendly, civil, and adhere to the subreddit rules!
17
Upvotes
View all comments
1
u/jlrueda 1d ago
Hi everyone
I've been working in a Linux flight recorder tool for the past few months and I wanted to share it with r/devops community with the hope to spark your curiosity and for some feedback.
The tool is called clifr (command line flight recorder).
It 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.
It comes with a terminal user interface. However, it currently covers only a limited number of commands, but it is still very powerful.
It is very efficient and lightweight: On a regular desktop with around 500 processes running it will use only around 20MiB of disk space per day, 0.35% of a single CPU core and only around 90 MiB of RAM. For busy servers, benchmark information is available on the project's page.
By default clifr only keeps records for the last 72 hrs. but this can be changed to fit your needs.
It is open-source and you can see it in action in: https://github.com/jlruedab/clifr
Hopefully some of you may give it a try and if that is the case, I will appreciate 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.
Thanks.