Created attachment 228623 [details] New filemon port The filemon utility is a simple wrapper around the filemon(4) kernel facility. Unlike ktrace(1) the trace file can be a named pipe. This tool requires filemon kernel module.
How about putting this into base?
(In reply to Li-Wen Hsu from comment #1) As a port is probably faster but I can probably help mane pr #251061 to land in base
@Rodrigo Do you have cycles to make progress on this?
Thanks for the reminder @Koob, I fell a little asleep on this ticket I gonna try to conclude on this one in the upcoming days
Hi Darius, I plan to commit filemon as a port asap, so let me know if you agree on that. I made an archive based on your submission and found no issue with latest versions of FreeBSD. The distfile is currently hosted in a compute I manage but I have no problem if you prefer to host it on your own. Just let me know. Cheers, -- rodrigo
Sure thing, a port sounds fine. Thanks.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=b59ab55b92871c132a56a70ff7a0a303fc4908a3 commit b59ab55b92871c132a56a70ff7a0a303fc4908a3 Author: Rodrigo Osorio <rodrigo@FreeBSD.org> AuthorDate: 2022-05-15 13:12:31 +0000 Commit: Rodrigo Osorio <rodrigo@FreeBSD.org> CommitDate: 2022-05-15 13:21:15 +0000 sysutils/filemon: Adds filemon(1), a trivial wrapper around filemon(4) Filemon is a simple application who log child process file access using filemon iocl. PR: 259099 Reported by: Daniel O'Connor <darius@dons.net.au> sysutils/Makefile | 1 + sysutils/filemon/Makefile (new) | 22 ++++++++++++++++++++++ sysutils/filemon/distinfo (new) | 3 +++ sysutils/filemon/pkg-descr (new) | 5 +++++ 4 files changed, 31 insertions(+)
Thanks Danie, filemon is now officially part fo the ports tree. Thanks koobs for keeping an eye on my duties :)