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

Next revision
Previous revision
hacks:appx-uptime.py [2015-03-18 14:57] – created 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 ======
  
-Figure out the approximate uptime of a Linux host in plain english without crazy libraries.+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.
  
 <code python> <code python>
 #!/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.1426705063.txt.gz · Last modified: 2015-03-18 14:57 by gabriel