#free-memory #display #command #freeze #linux #total #macos

app frieren

Display free and used memory with freeze ❄️

1 unstable release

0.2.1 Aug 27, 2024

#4 in #total

Apache-2.0

13KB
249 lines

Free for any platform - Display free and used memory with freeze ❄️

A free command alternative written in Rust. You can run it in any platform including macOS, Linux and Windows.

Install

cargo install frieren

Usage

$ frieren -h
Display free and used memory with freeze ❄️

Usage: frieren [OPTIONS]

Options:
  -H, --human    Display memory in human readable format
  -b, --byte     Display memory in bytes
  -k, --kilo     Display memory in kilobytes
  -m, --mega     Display memory in megabytes
  -g, --giga     Display memory in gigabytes
  -j, --ja       Display original Japanese quotes
  -h, --help     Print help
  -V, --version  Print version

Showing memory status:

$ frieren
┌──────┬─────────────┬─────────────┬─────────────┬─────────────┐
      │    total    │     used    │     free    │  available  │
├──────┼─────────────┼─────────────┼─────────────┼─────────────┤
  Mem │       36.0G │       23.1G │       37.3M │        7.3G │
 Swap │           0 │           0 │           0 │             │
└──────┴─────────────┴─────────────┴─────────────┴─────────────┘

❄️  > You are in front of a mage who has lived for more than one thousand years.

Showing memory status (in the original Japanese):

$ frieren -j
┌──────┬─────────────┬─────────────┬─────────────┬─────────────┐
      │    total    │     used    │     free    │  available  │
├──────┼─────────────┼─────────────┼─────────────┼─────────────┤
  Mem │       36.0G │       22.9G │       56.8M │        8.0G │
 Swap │           0 │           0 │           0 │             │
└──────┴─────────────┴─────────────┴─────────────┴─────────────┘

❄️  > そうだね、ヒンメルならそう言う。

Build

cargo build

Release

cargo build --release

Dependencies

~4–29MB
~412K SLoC