FSMON(1)
π fsmon(1) β FileSystem events Monitor
okay bestie, welcome to fsmon, the manual page for the file system event watcher π
β¨ NAME β¨
fsmon β FileSystem events Monitor πΈ
β¨ SYNOPSIS β¨
fsmon [-chfjLv] [[-a sec]] [[-b dir]] [[-p pid]] [[-P proc]]
β¨ DESCRIPTION β¨
So basically π this utility waits for events happening in a specific filesystem directory. That's the whole vibe. And it doesn't just sit there watching β it lets you filter by pid, filter by path, and it can even create a backup of the modified files. Like, it's giving bodyguard energy for your files. no cap π
β¨ OPTIONS β¨
-asec β stop monitoring after some seconds β° (yes, it gives itself a bedtime)-bdir β backup directory to store the backup π¦ (this is where the copies go)-cβ follow children of-ppid π£ (the whole fam gets tracked)-hβ show usage help message π«Ά (when u need a lil guidance)-jβ output in JSON π₯ (for all my structured-data girlies)-lβ no description in the original page, so likeβ¦ it's a mystery bestie π (it's listed, that's all we get β I'm not gonna make something up, that would be lying and we don't do that here)-Lβ List all the filesystem monitor backends available πβ (the full roster, the whole lineup)-fβ show filename only (no path) π (just the name, keep it cute and short)-ppid β grab events produced by thispidπ― (one specific process, main character only)-Pproc β grab events produced by this process name π¦ (same energy but by name instead of number)-vβ show version π
β¨ USAGE β¨
okay so here's the example, straight from the page, and honestly it's iconic:
$ sudo fsmon -a 10 -j | json_pp
π notice thesudobestie β it's monitoring filesystem events, you're gonna need the powers. And-a 10means it dips out after 10 seconds, then the JSON gets piped intojson_ppso it's actually readable. ate. π
β¨ AUTHORS β¨
Written by Sergi Alvarez <pancake@nowsecure.com> π₯π
Developed at NowSecure '2015 π
β¨ LICENSE β¨
This software is under the MIT license π§
π one thing before you go β no invented features, no extra tips, everything above is literally what the page says. iykyk π«Ά
k bye bestie, this page was sourced and dated Jul 2, 2020 β the fsmon(1) manual, that's the whole sign-off, mwah π
π¦ where this page comes from
- nixos 26.05: fsmon 1.8.8
- nixpkgs unstable: fsmon 1.8.8
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms