Skip to content

Commit

Permalink
Text syntax review
Browse files Browse the repository at this point in the history
  • Loading branch information
Ricardo F committed Feb 7, 2024
1 parent 0c27bdb commit 4ea74cf
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
tuptime
=======

Tuptime is a tool for report the historical and statistical real time of the system, keeping it between restarts. Like uptime command but with more interesting output.
Tuptime reports the historical and statistical real time of the system, preserving it between restarts. Like uptime command, but with more interesting output.


### Sample output
Expand Down
4 changes: 2 additions & 2 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ Pre-Depends: ${misc:Pre-Depends}
Depends: ${misc:Depends}, ${shlibs:Depends}
, python3:any
Description: report historical system real time
Tuptime track and report historical and statistical real time of the
system, keeping the uptime and downtime between shutdowns.
Tuptime tracks and reports historical and statistical real time of
the system, preserving the uptime and downtime between shutdowns.
4 changes: 2 additions & 2 deletions misc/rpm/tuptime.spec
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ Requires(pre): shadow-utils


%description
Tuptime track and report historical and statistical real time of the
system, keeping the uptime and downtime between shutdowns.
Tuptime tracks and reports historical and statistical real time of
the system, preserving the uptime and downtime between shutdowns.


%prep
Expand Down
2 changes: 1 addition & 1 deletion misc/scripts/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ tuptime_join.py
Join two tuptime db files into an other one.

tuptime_modify.py
Modify registers keeping nearest values in sync.
Modify registers preserving nearest values in sync.
Allow change 'end status', 'startup timestamp' and 'shutdown timestamp'.


Expand Down
2 changes: 1 addition & 1 deletion misc/scripts/tuptime_modify.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

'''
This script modify the "Startup Timestamp", "Shutdown Timestamp" and
"End Status" on Tuptime database keeping the other values around in sync.
"End Status" on Tuptime database preserving the other values around in sync.
Increase 60 secs the startup datetime on register number 1:
tuptime_modify.py -c startup -r 1 -s 60
Expand Down
2 changes: 1 addition & 1 deletion src/init.d/debian/tuptime
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
# tuptime - Report the historical and statistical real time of the system, keeping it between restarts.
# tuptime - Report historical and statistical real time of the system, preserving it between restarts.
# Author Ricardo Fraile - 2020

# This program is free software: you can redistribute it and/or modify
Expand Down
8 changes: 4 additions & 4 deletions src/init.d/redhat/tuptime
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
# tuptime - Historical and statistical real time of the system.
#
# chkconfig: 12345 25 90
# description: Report the historical and statistical real time \
# of the system, keeping it between restarts.
# description: Report historical and statistical real time \
# of the system, preserving it between restarts.

### BEGIN INIT INFO
# Provides: tuptime
# Required-Start: $local_fs $time
# Required-Stop: $local_fs $time
# Short-Description: start and stop tuptime
# Description: Report the historical and statistical real time
# of the system, keeping it between restarts.
# Description: Report historical and statistical real time
# of the system, preserving it between restarts.
### END INIT INFO

# Source function library.
Expand Down
6 changes: 3 additions & 3 deletions src/man/tuptime.1
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
.TH TUPTIME 1 "Jan 2024" "5.2.3" "General Commands Manual"

.SH NAME
tuptime \- Report historical and statistical real time of the system, keeping it between restarts. Total uptime.
tuptime \- Report historical and statistical real time of the system, preserving it between restarts. Total uptime.

.SH SYNOPSIS
tuptime [\-h] [\-A STARTUP] [\-b] [\-c] [\-d DATETIME_FMT] [\-e DECIMALS] [\-E STARTUP] [\-f FILE] [\-g] [\-i] [\-k] [\-l] [\-n] [\-o TYPE] [\-p] [\-q] [\-r] [\-s] [\-S STARTUP] [\-t] [\-\-tat TIMESTAMP] [\-\-tsince TIMESTAMP] [\-\-tuntil TIMESTAMP] [\-U STARTUP] [\-v] [\-V]

.SH DESCRIPTION
.RS
.RE
Tuptime report historical and statistical real time of
the system, keeping it between restarts. Indeed, it can:
Tuptime reports historical and statistical real time of
the system, preserving it between restarts. Indeed, it can:
.RS
- Count system startups
.RS
Expand Down
4 changes: 2 additions & 2 deletions src/tuptime
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

"""tuptime - Report the historical and statistical real time of the system,
keeping it between restarts"""
"""tuptime - Report historical and statistical real time of the system,
preserving it between restarts"""
# Copyright (C) 2011-2023 - Ricardo F.

# This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion tuptime-manual.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
| Abstract |
============

Tuptime report historical and statistical real time of the system, keeping it between restarts.
Tuptime reports historical and statistical real time of the system, preserving it between restarts.
Indeed, it can:

- Count system startups
Expand Down

0 comments on commit 4ea74cf

Please sign in to comment.