I am trying to run this -
watch "ps aux | grep myShittyProcess" in a tmux session. This process myShittyProcess was also started in a tmux session. The ps aux works without watch command. But as soon as I put it into watch, it fails to execute.
How to get this to work?
-- edit -
Found that resizing tmux into full screen makes it work. Something to do with ps output wrapping and grep not able to find within wrapped context.