-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added count and seconds to free command * fix for count = 1 * add --total and fix clippy warning * fix --count, --human and swap and make clippy happy * test --count and --total * add --lohi and clean code * test --lohi * mv --lohi -> --minmax & implement more correct --lohi * change from iter.collect() to iter.last() * remove unneeded import tests/by-util/test_free.rs Co-authored-by: Daniel Hofstetter <[email protected]> * make free run forever if -c is not set but -s is * put the number conversion in a closure to clean up the code * add --committed * add --line * remove test files * Update src/uu/free/src/free.rs smalll comment edit Co-authored-by: Sylvestre Ledru <[email protected]> * edit comments * Update src/uu/free/src/free.rs correct grammar in comment Co-authored-by: Sylvestre Ledru <[email protected]> * use .min & .max and fix 'free memory' value for the maximum and minimum * rename closures * Update src/uu/free/src/free.rs add suggestion by @sylvestre Co-authored-by: Sylvestre Ledru <[email protected]> * replace closures with function * remove cool features because the reviewers want to * remove minmax test * when using --lohi high should output high_free not free * Update src/uu/free/src/free.rs small change to comment Co-authored-by: Daniel Hofstetter <[email protected]> * remove HighUsed and LowUsed as they dont actually exist * set LowMem if its missing from /proc/meminfo * fix macos * replace match with if in n2s closure --------- Co-authored-by: D3V1LC0D3R <D3V1LC0D3R@github> Co-authored-by: Daniel Hofstetter <[email protected]> Co-authored-by: Sylvestre Ledru <[email protected]>
- Loading branch information
1 parent
30d3a32
commit 1f0ae84
Showing
3 changed files
with
253 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.