User Tools

Site Tools


hacks:appx-uptime.py

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
hacks:appx-uptime.py [2015-03-18 14:59] – engrish with a kapitol E gabrielhacks:appx-uptime.py [2019-08-10 14:54] (current) – superseded by golang project gabriel
Line 1: Line 1:
 ====== appx-uptime.py ====== ====== appx-uptime.py ======
 +
 +This project has been superseded by a [[golang:|Go]] implementation found [[https://gitlab.com/gmobrien/appxuptime|here]].
 +
 +===== Original script =====
 +
  
 Figure out the approximate uptime of a Linux host in plain English without crazy libraries. Figure out the approximate uptime of a Linux host in plain English without crazy libraries.
Line 6: Line 11:
 #!/usr/bin/env python #!/usr/bin/env python
 # #
-# appx-uptime.py - a silly script to figure out plain english uptime+# appx-uptime.py - a silly script to figure out plain English uptime
 # #
 # Copyright (c) 2015 Gabriel M. O'Brien # Copyright (c) 2015 Gabriel M. O'Brien
hacks/appx-uptime.py.1426705164.txt.gz · Last modified: 2015-03-18 14:59 by gabriel