Hi, this patch adds session_activity and session_activity_string.
With these additions, it's possible to do some operations to sessions by active
time from CLI.
e.g. getting last active session
tmux list-sessions -F'#{session_activity} #{session_id} #{session_name}' | tr
-d '$' | sort -k 1 -k 2n
No, it's a client like any other, you have to attach to a session.
On Wed, Feb 25, 2015 at 07:40:05PM -0600, Jared Stafford wrote:
> I was trying to write a script that uses control mode to monitor
> window changes. However, if I run "tmux -C", it creates a new session
> and attaches to it. If I