htop-dev / htop

htop - an interactive process viewer
https://htop.dev/
GNU General Public License v2.0
6.52k stars 440 forks source link

[Feature Request] Custom Meter with bash script #950

Open Justinzobel opened 2 years ago

Justinzobel commented 2 years ago

I'd love to see a custom Meter available where the user can add a custom bash command and have it shown.

This could be as simple as a custom date format, nproc or current apache2 php stats, etc.

natoscott commented 2 years ago

@Justinzobel you could try pcp-htop(1) which allows Meters and Columns based on Performance Co-Pilot metrics (pcp.io). PCP metric values (https://pcp.io) can be backed by anything, and can be added on-the-fly.

BenBE commented 2 years ago

This also seems duplicate with #526.