Created attachment 267979 [details] Pointing to my fork of whowatch sysutils/whowatch: update to 1.8.6 - The new update wasn't working on FreeBSD due to Linuxisms and FreeBSD wrong API usages - I overhauled the codebase in a fork and updated it to work on both Linux and FreeBSD - Changes Mainly Include - Uses of sysctl, libprocstat etc to gather the system informations
any update on this?
Can you create tag? For example 1.8.6.1.
Created attachment 268184 [details] 1.8.6.1 Create the tag 1.8.6.1
Makefile: PORTNAME= whowatch DISTVERSION= 1.8.6.1 CATEGORIES= sysutils MAINTAINER= jishanalam9128@gmail.com COMMENT= Displays information in real time about users currently logged on WWW= https://github.com/mtsuszycki/whowatch/ \ https://github.com/Zedai00/whowatch/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= autoreconf ncurses USE_GITHUB= yes GH_ACCOUNT= Zedai00 GNU_CONFIGURE= yes PLIST_FILES= bin/whowatch \ share/applications/whowatch.desktop \ share/man/man1/whowatch.1.gz .include <bsd.port.mk> distinfo: TIMESTAMP = 1771500000 SHA256 (Zedai00-whowatch-1.8.6.1_GH0.tar.gz) = 86e8e68e0dc88e29ec8a3a671d4640804fe48e086b98d6cf0307f23a6fc90868 SIZE (Zedai00-whowatch-1.8.6.1_GH0.tar.gz) = 52413 pkg-descr (text from README.md): Whowatch is an interactive, ncurses-based, process and users monitoring tool which updates information in real time. It can be described as a some kind of interactive mix of ps, pstree, lsof, w, finger and kill. You can watch information about users currently logged on to the machine: login type - ie. "ssh" "telnet", tty, host, idle time and command line of their current process. You can also naviagate in processes tree, watch process details (memory, uid, open descriptors with TCP sockets mapped on IP:port -> IP:port pair etc.). Whowatch has support for plugins.
Look wrong: │MEMORY: │ │MemTotal: 16694260 kB │ │MemFree: 3643038670956 kB │ │MemAvailable: 93617346202104 kB │ │Active: 5688819079440 kB │ │Inactive: 89974307531148 kB From top: Mem: 658M Active, 10G Inact, 1234M Laundry, 3150M Wired, 304M Buf, 424M Free
Created attachment 268192 [details] Fix Fix the active memory bug
RAM is correct now, but swap and "Cached" is not. Mem: 634M Active, 10G Inact, 1194M Laundry, 2882M Wired, 90M Buf, 504M Free ARC: 1012M Total, 363M MFU, 81M MRU, 256K Anon, 13M Header, 551M Other 128M Compressed, 929M Uncompressed, 7,28:1 Ratio Swap: 8192M Total, 1185M Used, 7007M Free, 14% Inuse │Cached: 0 kB │ │SwapTotal: 0 kB │ │SwapUsed: 18014398509370304 kB │ │SwapFree: 111680 kB
Created attachment 268407 [details] Improve ram and swap stats
Friendly ping.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=55476368ccbc3863cec96779d914046a39ac5299 commit 55476368ccbc3863cec96779d914046a39ac5299 Author: Jishan Alam <jishanalam9128@gmail.com> AuthorDate: 2026-03-07 21:04:18 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2026-03-07 21:04:18 +0000 sysutils/whowatch: Update 1.4 => 1.8.6.2, take maintainership Switch to upstream with FreeBSD support: - The new update wasn't working on FreeBSD due to Linuxisms and FreeBSD wrong API usages. - Overhauled the codebase in a fork and updated it to work on both Linux and FreeBSD. - Uses of sysctl, libprocstat, kvm etc to gather the system informations. PR: 293113 MFH: 2026Q1 Co-authored-by: Vladimir Druzenko <vvd@FreeBSD.org> sysutils/whowatch/Makefile | 25 ++--- sysutils/whowatch/distinfo | 6 +- sysutils/whowatch/files/patch-Makefile.in (gone) | 13 --- sysutils/whowatch/files/patch-process.c (gone) | 11 -- sysutils/whowatch/files/patch-procinfo.c (gone) | 31 ------ .../files/patch-src_sysinfo__freebsd.c (new) | 121 +++++++++++++++++++++ sysutils/whowatch/files/patch-whowatch.c (gone) | 105 ------------------ sysutils/whowatch/files/patch-whowatch.h (gone) | 27 ----- sysutils/whowatch/pkg-descr | 13 ++- 9 files changed, 142 insertions(+), 210 deletions(-)
A commit in branch 2026Q1 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=e8f735b02d3b3890b7d8c70fc14b5ad2694ff90a commit e8f735b02d3b3890b7d8c70fc14b5ad2694ff90a Author: Jishan Alam <jishanalam9128@gmail.com> AuthorDate: 2026-03-07 21:04:18 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2026-03-07 21:14:50 +0000 sysutils/whowatch: Update 1.4 => 1.8.6.2, take maintainership Switch to upstream with FreeBSD support: - https://github.com/Zedai00/whowatch/ - The new update wasn't working on FreeBSD due to Linuxisms and FreeBSD wrong API usages. - Overhauled the codebase in a fork and updated it to work on both Linux and FreeBSD. - Uses of sysctl, libprocstat, kvm etc to gather the system informations. PR: 293113 MFH: 2026Q1 Co-authored-by: Vladimir Druzenko <vvd@FreeBSD.org> (cherry picked from commit 55476368ccbc3863cec96779d914046a39ac5299) sysutils/whowatch/Makefile | 23 ++-- sysutils/whowatch/distinfo | 5 +- sysutils/whowatch/files/patch-Makefile.in (gone) | 13 --- sysutils/whowatch/files/patch-process.c (gone) | 11 -- sysutils/whowatch/files/patch-procinfo.c (gone) | 31 ------ .../files/patch-src_sysinfo__freebsd.c (new) | 121 +++++++++++++++++++++ sysutils/whowatch/files/patch-whowatch.c (gone) | 105 ------------------ sysutils/whowatch/files/patch-whowatch.h (gone) | 27 ----- sysutils/whowatch/pkg-descr | 13 ++- 9 files changed, 142 insertions(+), 207 deletions(-)