From Newsgroup: muc.lists.freebsd.ports
--00000000000059aa050648014b24
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
On Sat, Jan 10, 2026 at 2:34=E2=80=AFAM Miroslav Lachman <
000.fbsd@quip.cz>=
wrote:
If you are interested I have access to one old machine with working
whowatch 1.4 so I can make a few screenshots with the old UI and send it
to you privately. I think there are a few details which were nicer in
the old version.
That'll be appreciated. I can open an issue in my repo and attach the image
for future reference.
Do you think you will be able to make [d]etails also working on FreeBSD? [d]etails and [s]ysinfo is new to this version, they were not there in
the version 1.4. But there was [c]md which turns On / Off showing long command line options of the running processes or process name only. So
for shell scripts you see just "sh" or "/home/user/bin/myscript.sh -t -b my-arg"
[d]etails is working in FreeBSD-15.0 on the other hand it's not working in linux, another issue to look at.
I've gotta start opening up issues to track them better.
[s]ysinfo is also progressing but the caveat here is linux exposes all the details through /proc/* files,
and it has lots of information which is directly dumped by "whowatch" to
the sysinfo panel, But FreeBSD does not have any files like that, So I had
to manually find API's for equivalent information, and turns out Linux and FreeBSD file system is implemented in different manner such that Linux has
much more informations such as buffers, slab etc which doesn't exist in
FreeBSD as far as I know correct me if I'm wrong, So I've only been able to
add the values which I can find the direct equivalent of and I don't think
we can get more far than that. Even the things I've added is a sort of
hacky if i can say but it works.
So far the values I've converted are
=E2=94=82MEMORY: =E2= =94=82
=E2=94=82MemTotal: 4158792 kB =E2= =94=82
=E2=94=82MemFree: 3914304 kB =E2= =94=82
=E2=94=82MemAvailable: 3917292 kB =E2= =94=82
=E2=94=82Active: 19804 kB =E2= =94=82
=E2=94=82Inactive: 2988 kB =E2= =94=82
=E2=94=82Cached: 0 kB =E2= =94=82
=E2=94=82SwapTotal: 1048536 kB =E2= =94=82
=E2=94=82SwapUsed: 384868 kB =E2= =94=82
=E2=94=82SwapFree: 663668 kB =E2= =94=82
whereas the equivalent in Linux is the whole /proc/meminfo.
So I'm just gonna leave it at that, For now the goal is to touch every
feature to assess what can work and what cannot, and later dive deep in the feature for improvement.
as always if anyone wants to try it out the repo is in sync with my work
Repo:
https://github.com/Zedai00/whowatch/tree/freebsd-utmpx-experiment
--=20
Best Regards,
Jishan Alam
--00000000000059aa050648014b24
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><br><br>On Sat, Jan 10, 2026 at 2:34=E2=80=AFAM Miroslav L= achman <<a href=3D"mailto:
000.fbsd@quip.cz">
000.fbsd@quip.cz</a>> wro= te:<br><br>> If you are interested I have access to one old machine with=
working<br>> whowatch 1.4 so I can make a few screenshots with the old =
UI and send it<br>> to you privately. I think there are a few details wh= ich were nicer in<br>> the old version.<br><br>That'll be appreciate=
d. I can open an issue in my repo and attach the image for future reference= .<br><br><br>> Do you think you will be able to make [d]etails also work= ing on FreeBSD?<br>> [d]etails and [s]ysinfo is new to this version, the=
y were not there in<br>> the version 1.4. But there was [c]md which turn=
s On / Off showing long<br>> command line options of the running process=
es or process name only. So<br>> for shell scripts you see just "sh= " or "/home/user/bin/myscript.sh -t -b<br>> my-arg"<br><b= r>[d]etails is working in FreeBSD-15.0 on the other hand it's not worki=
ng in linux, another issue to look at.<br>I've gotta start opening up i= ssues to track them better.<br><br>[s]ysinfo is also progressing but the ca= veat here is linux exposes all the details through /proc/* files,<br>and it=
has lots of information which is directly dumped by "whowatch" t=
o the sysinfo panel, But FreeBSD does not have any files like that, So I ha=
d to manually find API's for equivalent information, and turns out Linu=
x and FreeBSD file system is implemented in different manner such that Linu=
x has much more informations such as buffers, slab etc which doesn't ex= ist in FreeBSD as far as I know correct me if I'm wrong, So I've on=
ly been able to add the values which I can find the direct equivalent of an=
d I don't think we can get more far than that. Even the things I've=
added is a sort of hacky if i can say but it works.<br>So far the values I= 've converted are<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =E2=94=82MEMORY: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A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0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =E2=94=82 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <br>whereas the equival= ent in Linux is the whole /proc/meminfo.<br>So I'm just gonna leave it =
at that, For now the goal is to touch every feature to assess what can work=
and what cannot, and later dive deep in the feature for improvement.<br><b= r>as always if anyone wants to try it out the repo is in sync with my work<= br>Repo: <a href=3D"
https://github.com/Zedai00/whowatch/tree/freebsd-utmpx-= experiment">
https://github.com/Zedai00/whowatch/tree/freebsd-utmpx-experime= nt</a><br>-- <br>Best Regards,<br>Jishan Alam</div>
--00000000000059aa050648014b24--
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to
news-admin@muc.de
--- Synchronet 3.21a-Linux NewsLink 1.2