View Single Post
  #3   (View Single Post)  
Old 14th September 2015
gso gso is offline
Port Guard
 
Join Date: Nov 2014
Posts: 35
Default

There will be other ssh instances running, I'd have to parse the command line arguments.

pgrep with '-x' and '-n' flags after pausing the script a few milliseconds is what I have been doing.

Last edited by gso; 14th September 2015 at 02:56 PM.
Reply With Quote