3 ms·
On my linux machine I run 8-10 dedicated xterm windows, each runs a tmux session [1]. So the way I would solve this problem for me would be to grep the process'
by nazri1 11y ago
On my linux machine I run 8-10 dedicated xterm windows, each runs a tmux session [1]. So the way I would solve this problem for me would be to grep the process' /proc/$pid/env for its unique identifier.
[1] https://github.com/holygeek/wmgr/blob/master/xterms.conf.pl.sample#L101 https://github.com/holygeek/wmgr/blob/master/xterms.conf.pl....