trynd / wren

Linux boot platform that provides a portable, multi-system, run-in-memory Linux environment.
GNU General Public License v3.0
0 stars 1 forks source link

Add optional RAM and Swap entries to "wren usage" #25

Open codewithmichael opened 9 years ago

codewithmichael commented 9 years ago

The wren usage command currently shows "memory" usage (as well as "device" and "active" or "save") but it would also be useful to have optional entries (perhaps as part of the "all" subcommand) that separately present RAM and Swap values, as it can be important to know where the allotted memory is stored.

Technically, the free -t command can be used to see ram + swap + total, but running a separate command is a hassle, particularly when creating an external interface (like Wren GUI) or just when performing basic monitoring — e.g. sudo watch 'wren usage -h && echo && free -ht.

codewithmichael commented 9 years ago

I addressed this with PR #31 (wren (control script): Reformat usage table with separate RAM and Swap).