To watch and monitor the Tailscale session commands and their outputs on your ThinkPad (Ubuntu server) without a GUI, you can use a terminal-based monitoring tool. One excellent option for this is tmux (Terminal Multiplexer). Here's how you can set this up:
-
Install tmux on your ThinkPad:
sudo apt install tmux -
Start a new tmux session:
tmux new -s tailscale_monitor -
In this tmux session, you can split the screen and run different commands. For example:
-
To view Tailscale status:
watch -n 5 tailscale status -
To monitor Tailscale logs:
sudo journalctl -fu tailscaled
-
-
You can create multiple panes in tmux by pressing
Ctrl+Bthen%for vertical split or"for horizontal split. -
Switch between panes using
Ctrl+Bthen arrow keys. -
To detach from the tmux session (leaving it running in the background), press
Ctrl+BthenD. -
To reattach to the session later:
tmux attach -t tailscale_monitor
This setup allows you to monitor Tailscale activities in real-time without a GUI. You can customize the commands and layout to suit your specific monitoring needs.
Would you like me to explain more about tmux or suggest other monitoring commands for Tailscale?