Advertisement
Guest User

Untitled

a guest
Feb 20th, 2019
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. $ ps -u | grep tmux
  2.  
  3. $ tmux -V
  4. # tmux 1.8
  5.  
  6. pgrep tmux
  7.  
  8. lsof -p $tmuxPID | grep REG | grep -i -e deleted -e "tmux$"
  9.  
  10. /proc/$tmuxPID/exe -V`
  11.  
  12. for tmuxPID in $(pgrep tmux); do lsof -p $tmuxPID | grep REG | grep -i -e deleted -e "tmux$"; done
  13.  
  14. for tmuxPID in $(pgrep tmux); do /proc/$tmuxPID/exe -V; done
  15.  
  16. ./tmux2.3 display-message -p "#{version}"
  17.  
  18. realpath /proc/$(tmux display-message -p "#{pid}")/exe
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement