Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tadayosi/frieren
https://github.com/tadayosi/frieren
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/tadayosi/frieren
- Owner: tadayosi
- License: apache-2.0
- Created: 2024-04-06T08:37:02.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-04-15T14:07:26.000Z (9 months ago)
- Last Synced: 2024-04-16T07:13:52.980Z (9 months ago)
- Language: Rust
- Size: 25.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
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
```console
cargo install frieren
```## Usage
```console
$ 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:
```console
$ 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):
```console
$ frieren -j
┌──────┬─────────────┬─────────────┬─────────────┬─────────────┐
│ │ total │ used │ free │ available │
├──────┼─────────────┼─────────────┼─────────────┼─────────────┤
│ Mem │ 36.0G │ 22.9G │ 56.8M │ 8.0G │
│ Swap │ 0 │ 0 │ 0 │ │
└──────┴─────────────┴─────────────┴─────────────┴─────────────┘❄️ > そうだね、ヒンメルならそう言う。
```## Build
```console
cargo build
```## Release
```console
cargo build --release
```## License
The source code is licensed under [Apache License 2.0](./LICENSE).
All the quotations are from ["Frieren: Beyond Journey's End" (Kanehito Yamada & Tsukasa Abe)](https://en.wikipedia.org/wiki/Frieren) and the copyright belongs to the original authors. This software is published as a respectful niji sosaku (二次創作) to the work.