Tmux Task Monitor

16 views

Project Links

Ever wondered which of your 20 tmux sessions was eating your RAM?
Which instance of tsserver was the lowest hanging fruit to close?
Or even looked for the exact build command some script is running?

And looking at htop didn't really help?

tmux-task-monitor only shows processes started in tmux (plus their children), so you can contextualize the search to your current session/pane, or get an overview of usage across all sessions.

  • vim bindings
  • prefix+t for session-specific popup (lands on the a summary of the active tmux pane by default)
  • prefix+T for overview of all sessions
  • y to copy the command of the process
  • Y to copy the PID of the process
  • x to close the process
  • s to send the signal of your choice instead

Seems like a common, simple problem, but I've never seen anything do it this cleanly.