FSMON(1)

πŸ“¦ version 1.8.8, in nixos 26.05, nixpkgs unstable

πŸ’… 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 ✨

  • -a sec β€” stop monitoring after some seconds ⏰ (yes, it gives itself a bedtime)
  • -b dir β€” backup directory to store the backup πŸ“¦ (this is where the copies go)
  • -c β€” follow children of -p pid 🐣 (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)
  • -p pid β€” grab events produced by this pid 🎯 (one specific process, main character only)
  • -P proc β€” 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 the sudo bestie β€” it's monitoring filesystem events, you're gonna need the powers. And -a 10 means it dips out after 10 seconds, then the JSON gets piped into json_pp so 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