• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

etc/H03-May-2022-314232

libuptimed/H14-Nov-2021-984675

man/H14-Nov-2021-137118

sample-cgi/H14-Nov-2021-3121

src/H14-Nov-2021-3,2362,025

.gitignoreH A D14-Nov-2021930 7465

AUTHORSH A D14-Nov-2021302 98

COPYINGH A D14-Nov-202117.6 KiB341281

CREDITSH A D14-Nov-20211.9 KiB7854

ChangeLogH A D14-Nov-20217.6 KiB331241

INSTALLH A D14-Nov-202115.4 KiB371289

INSTALL.cgiH A D14-Nov-20212.1 KiB5538

INSTALL.upgradeH A D14-Nov-20211.6 KiB6642

Makefile.amH A D14-Nov-2021590 2212

NEWSH A D14-Nov-20217.6 KiB331241

README.mdH A D14-Nov-20211.4 KiB3523

README.unsupportedH A D14-Nov-20212.3 KiB7051

TODOH A D14-Nov-20211.5 KiB4535

autogen.shH A D14-Nov-20211.1 KiB5137

configure.acH A D14-Nov-20212.8 KiB8376

uptimed.spec.inH A D14-Nov-20213 KiB10990

README.md

1## 1. Introduction
2
3Uptimed is an uptime record daemon keeping track of the highest uptimes a
4computer system ever had. It uses the system boot time to keep sessions
5apart from each other. Uptimed comes with a console front-end to parse the
6records, which can also easily be used to show your records on a web page.
7
8The original author is Rob Kaper but since version 0.3.4 I (Radek Podgorny)
9took over the maintainership as Rob is overwhelmed by work (and so am I
10but I try my best). Remember, we're talking about about maintainance only.
11Still, feel free to contribute anything, branching and merging is not
12a problem.
13
14## 2. Availability
15
16You can always get the latest release from the Uptimed github repository:
17
18https://github.com/rpodgorny/uptimed/
19
20## 3. Acknowledgments
21
22Uptimed was inspired by a similar utility called 'ud', but is completely
23different by design. Instead of using PID files to prevent multiple
24instances, Uptimed uses the system boot time to seperate log entries from
25each other. This is believed to be more reliable when switching runlevels or
26accidentely killing Uptimed or running multiple instances of it.
27
28For a list of contributors to Uptimed, please read the CREDITS file.
29
30## 4. Contacting the author/maintainer
31
32Questions, comments, bugfixes, patches: Radek Podgorny <radek@podgorny.cz>
33
34Original maintainer and author: Rob Kaper <rob@unixcode.org>
35

README.unsupported

1Contents
2========
3
41. My platform is listed as unsupported. What to do now?
52. Support status for various platforms
63. Getting the uptime on unsupported platforms
7
81. My platform is unsupported. What to do now?
9==============================================
10
11First of all, do not panic. Chances are that uptimed will work on your
12platform with little or no modifications.
13
14There are basically three reasons why your platform could be unsupported:
15
16- I have insufficient knowledge to get my code to compile,
17- I have insufficient knowledge how to get your platform's uptime,
18- I have insufficient knowledge of your platforms startup process and files
19
202. Support status for various platforms
21=======================================
22
23BSD (other than FreeBSD)
24------------------------
25
26If someone can tell me the /usr/local/etc/rc.d equivalent for other BSD
27systems, these can be officially supported. Thanks!
28
29HP/UX
30-----
31
32Uptimed now works and compiles on HP/UX (at least under 10.20) with thanks
33to patches from Helge Deller <deller@gmx.de>. Not being an expert on HP/UX
34startup files, any help is very welcome here. Currently /sbin/rc is used:
35find the following part at the end of /sbin/rc and insert the lines
36commented with "insert me!".
37
38---- /sbin/rc ----
39# Output message to indicate completion
40#
41echo
42if [ $BOOT = 1 ]; then
43	echo "Creating unique uptime daemon bootid..."	# insert me !
44	/usr/local/sbin/uptimed -b			# insert me !
45	echo "Start uptimed..."				# insert me !
46	/usr/local/sbin/uptimed				# insert me !
47	echo "The system is ready."
48else
49---- /sbin/rc ----
50
513. Getting the uptime on unsupported platforms
52----------------------------------------------
53
54I have written a quick and inaccurate hack calculating the uptime from the
55current time and the timestamp made at boottime.
56
57This is very portable and thus will also let uptimed run on platforms where
58I do not know of how to get the real uptime.
59
60However, this is also very inaccurate, because:
61
621) the boottime timestamp can be extremely delayed due to fscking etc.
632) when the system time changes (for example timezone changes) the
64   boottime timestamp does not, creating even more inaccuracy.
65
66However, this hack should at least _work_.
67
68If you can send me <radek@podgorny.cz> any information on how to get the
69uptime on your platform, it will be appreciated very much.
70