in reply to Re^3: How to instantaneously automatically save
in thread How to instantaneously automatically save

So far there is no public API (Python libzfs bindings is at the mercy of private API). See if a "channel" program (Understanding ZFS Channel Programs by Dru L) would offer anything. Have not used either myself.

History of commands -- what OP seems to be wanting -- is available by zpool-history(8) command. There is also zpool-events(8).

  • Comment on Re^4: How to instantaneously automatically save

Replies are listed 'Best First'.
Re^5: How to instantaneously automatically save
by Anonymous Monk on Jan 14, 2024 at 16:20 UTC
    Thank you so much, parv. Sorry for repeating myself too much, but I want you guys to understand what I'm trying to accomplish: What I want is for my perl program to listen immediately for whenever as soon as any change is made on the ZFS filesystem (if a dataset was created, if a clone was made, well any sort of change on the filesystem) save it instantaneously in database.