tlausmaa on Nostr: Writing a little server monitoring program. It seems that for #OpenBSD there isn't a ...
Writing a little server monitoring program. It seems that for #OpenBSD there isn't a built in way to check memory usage (free/avail) as conveniently as with sysctl on #freebsd. How does "top" do it?
Published at
2024-10-05 21:31:51Event JSON
{
"id": "d1e6d831b33f4518cb89f1ec6e2d82444942f29b0bbc19accad5a049bd884ccc",
"pubkey": "2e9e30d05021274104200ff9748cc2d39a0657a7e2179c71f7bc38792252a490",
"created_at": 1728163911,
"kind": 1,
"tags": [
[
"t",
"openbsd"
],
[
"t",
"freebsd"
],
[
"proxy",
"https://mastodon.bsd.cafe/users/tlausmaa/statuses/113256950104854325",
"activitypub"
]
],
"content": "Writing a little server monitoring program. It seems that for #OpenBSD there isn't a built in way to check memory usage (free/avail) as conveniently as with sysctl on #freebsd. How does \"top\" do it?",
"sig": "b8b4c60e67b698ae985e289f220044c54ba3514dfdabe3708174c87c66f7cdb2050de110fe13495834b4930d183b07058062001694db7a23e06a1383cceec4bc"
}