Colored CPU usage in TMUX

General News

Summary

Those spending a lot of time in Linux command line know the value of a good terminal multiplexer. Even in the age of GUI terminal windows, using will speed your work while many customizations it offers will make for comfortable environment. Knowing its flexibility, for my Minecraft server, I wanted status line to include something I never tried before – CPU usage. There are multitude of ways to retrieve CPU usage but I found works well for me and thus the first version just placed its parsed output in the bottom-right corner: While this satisfied my original requirements, I started thinking about colors. It’s still vmstat based output but now awk appends color formatting strings for different usage levels.

Classifications

industries
HealthTech
applications
EduTech - learning

AskAI Classifications

Labels
Developer Tools DevOps Software SaaS

Linked Companies

GitHub, Inc.
$1M to $5M