DEV Community

ItsEvilDuck
ItsEvilDuck

Posted on • Originally published at itsevilduck.gumroad.com

Linux WiFi Connection Uptime: Track Wi-Fi Session Duration

I've shipped a new tool, Linux WiFi Connection Uptime. This utility is designed for Linux users who want to monitor the active duration of their current Wi-Fi connection. It specifically works with systems that use NetworkManager.

The tool's primary function is to report how long your Wi-Fi connection has been continuously active. This can be helpful for several reasons:

  • Session Tracking: Get a clear, objective measure of how long your current network session has been running.
  • Disconnection Identification: If you suspect intermittent network issues, a short uptime report can quickly confirm a recent disconnection and reconnection.

It's a straightforward command-line utility. There are no complex configurations or dependencies beyond NetworkManager, which is standard on many Linux distributions. The output is a simple duration, making it easy to integrate into scripts or for quick manual checks.

This tool is for anyone running Linux who needs a direct way to see how stable their Wi-Fi connection has been over time, or to quickly verify if a network drop occurred recently.

Linux WiFi Connection Uptime

Top comments (0)