IEEE-VIT / termiboard

A smart CLI Dashboard to fetch cpu, memory and network stats!
MIT License
35 stars 16 forks source link

Print the 5 processes using more memory #23

Closed scanepa closed 3 years ago

scanepa commented 3 years ago

It may not be the most efficient way as per the numbers of time I call MemoryPercent but it works and the output is the same as: ps -eo pid,%mem --sort -%mem | head -6

Resolves #2