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

Fixed NetBSD memory and uptime #193

@polluks

Description

@polluks

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))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions