You are not logged in.

#1 2017-10-01 08:19:53

loutch
Member
Registered: 2015-12-12
Posts: 848

vnstat but for uptime

hello guys

i search any script like vnstat but for uptime .

i mean a think like this

today  yesterday  last week  last month

1h54     5h02       3d23h6    15d22h45


tanks &

@+


Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX

Offline

#2 2018-01-09 10:51:08

vinzv
Member
Registered: 2017-09-12
Posts: 186
Website

Re: vnstat but for uptime

May tuptime is what you're looking for. It's available from Stretch repos upwards or from Git.

Sample output:

System startups:	110   since   10:15:27 08/08/15
System shutdowns:	107 ok   -   2 bad
System uptime: 		4.04 %   -   1 days, 22 hours, 4 minutes and 44 seconds
System downtime: 	95.96 %   -   45 days, 13 hours, 57 minutes and 30 seconds
System life: 		47 days, 12 hours, 2 minutes and 15 seconds

Largest uptime:		2 hours, 10 minutes and 44 seconds   from   20:49:17 09/08/15
Shortest uptime:	9 seconds   from   10:23:36 08/08/15
Average uptime: 	25 minutes and 8 seconds

Largest downtime:	7 days, 10 hours, 17 minutes and 26 seconds   from   06:09:45 10/08/15
Shortest downtime:	15 seconds   from   19:27:24 19/09/15
Average downtime: 	9 hours, 56 minutes and 42 seconds

Current uptime: 	23 minutes and 33 seconds   since   21:54:09 24/09/15

Offline

Board footer

Powered by FluxBB