Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ulissesjdeo/freem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

freem

Memory check command


Simple memory check command to see total memory, swap, cache... just like linux "free" command, but it works everywhere.


Install

cargo install freem

Usage

freem
┌────────┬──────────┬──────────┬──────────┬────────┬────────────┬───────────┐
│        │ total    │ used     │ free     │ shared │ buff/cache │ available │
├────────┼──────────┼──────────┼──────────┼────────┼────────────┼───────────┤
│ Memory │ 28943804 │ 11107992 │ 17835812 │ 0      │ 0          │ 17835812  │
│ Swap   │ 1835008  │        0 │  1835008 │        │            │           │
└────────┴──────────┴──────────┴──────────┴────────┴────────────┴───────────┘

With you wanna see in megabytes, just use -m

freem -m
┌────────┬───────┬───────┬───────┬────────┬────────────┬───────────┐
│        │ total │ used  │ free  │ shared │ buff/cache │ available │
├────────┼───────┼───────┼───────┼────────┼────────────┼───────────┤
│ Memory │ 28265 │ 11102 │ 17163 │ 0      │ 0          │ 17162     │
│ Swap   │ 1792  │     0 │  1792 │        │            │           │
└────────┴───────┴───────┴───────┴────────┴────────────┴───────────┘

Or even gigabytes just -g

freem -g
┌────────┬───────┬──────┬──────┬────────┬────────────┬───────────┐
│        │ total │ used │ free │ shared │ buff/cache │ available │
├────────┼───────┼──────┼──────┼────────┼────────────┼───────────┤
│ Memory │ 27    │   10 │   17 │ 0      │ 0          │ 16        │
│ Swap   │ 1     │    0 │    1 │        │            │           │
└────────┴───────┴──────┴──────┴────────┴────────────┴───────────┘

About

Memory check command

Resources

License

Stars

Watchers

Forks

Languages