pfetch icon indicating copy to clipboard operation
pfetch copied to clipboard

Fixed NetBSD memory and uptime

Open polluks opened this issue 3 years ago • 1 comments

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 avatar May 31 '22 13:05 polluks

BTW uptime 52 years?! My patch

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

polluks avatar May 31 '22 13:05 polluks