frieren

Crates.iofrieren
lib.rsfrieren
version0.2.1
sourcesrc
created_at2024-08-27 05:08:05.032398
updated_at2024-08-27 05:08:05.032398
descriptionDisplay free and used memory with freeze ❄️
homepage
repository
max_upload_size
id1352898
size38,271
Tadayoshi Sato (tadayosi)

documentation

README

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
Commit count: 0

cargo fmt