Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Fixed NetBSD memory and uptime #193

Open
polluks opened this issue May 31, 2022 · 1 comment
Open

Fixed NetBSD memory and uptime #193

polluks opened this issue May 31, 2022 · 1 comment

Comments

@polluks
Copy link

polluks commented May 31, 2022

before

\\`-______,----__     polluks@sdf
 \\        __,---`_   os     NetBSD 9.1
  \\       `.____     host   amd64
   \\-______,----`-   uptime 19143d 13h 42m
    \\                memory -7765M / 0M
     \\
      \\

after

\\`-______,----__     polluks@sdf
 \\        __,---`_   os     NetBSD 9.1
  \\       `.____     host   amd64
   \\-______,----`-   uptime 19143d 13h 45m
    \\                memory 8611M / 16382M
     \\
      \\
815c815
<             mem_full=$(($(sysctl -n hw.physmem64 || echo 0) / 1024 / 1024))
---
>             mem_full=$(($(/sbin/sysctl -n hw.physmem64 || echo 0) / 1024 / 1024))
@polluks
Copy link
Author

polluks commented May 31, 2022

BTW uptime 52 years?!
My patch

<         (Linux* | Minix* | SerenityOS*)
---
>         (Linux* | Minix* | SerenityOS* | NetBSD*)

@polluks polluks changed the title Fixed NetBSD mem Fixed NetBSD memory and uptime Jul 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant