install tuptime [debian, ubuntu-mate]

based on:

install tuptime:
best simply use:
sudo apt install tuptime

if that does not work try:
git clone
sudo cp tuptime/src/tuptime /usr/bin/tuptime
sudo chmod ugo+x /usr/bin/tuptime
sudo adduser --quiet --system --no-create-home --group \
--home "/var/lib/tuptime" \
--shell '/bin/sh' \
--gecos 'Tuptime execution user,,,' tuptime
sudo chown -R tuptime:tuptime /var/lib/tuptime
sudo cp tuptime/src/systemd/tuptime.service /lib/systemd/system/
sudo chmod 644 /lib/systemd/system/tuptime.service
sudo rm -r tuptime
systemctl enable tuptime.service #accept with typing root passwd
sudo systemctl enable tuptime.service

Run first with a privileged user:
sudo tuptime

or install with:
chmod +x
sudo ./

bash <(curl -s

useage tuptime:
tuptime -h
tuptime -l #list option
tuptime -t #table option

change the uptime log:
sudo apt-get install -y sqlitebrowser
sudo sqlitebrowser

choose open file and paste into filename:

backup the log:
sudo cp /var/lib/tuptime/tuptime.db ~/Schreibtisch

remove tuptime:
sudo userdel -r tuptime
sudo rm /usr/bin/tuptime
sudo rm /etc/cron.d/tuptime


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.