Hi,
Am currently having a ubuntu 16 server. The server should be monitored and if it is idle for 10 min then it should stop. For stop I have done some scripting.
The problem that I'm facing is that,
I am calculating idle timeout by w command. In order to kill the ssh session which is idle, I...