File: Y2K

package info (click to toggle)
ptop 3.6.2-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 1,356 kB
  • ctags: 2,292
  • sloc: ansic: 18,216; sh: 3,493; makefile: 122; awk: 44
file content (26 lines) | stat: -rw-r--r-- 1,229 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
pg_top and the Year 2000

The software package pg_top will not be affected by years numbering
between 2000 and 2037.  No portion of the pg_top code stores dates on
disk.  All date processing in pg_top is performed with functions from the
Unix C library and Unix kernel.  The specific functions are: time(2)
and ctime(3S).  These functions deal exclusively with conventional
Unix time values (number of seconds since Midnight January 1, 1970
GMT) and produce strings with a 4-digit year.  At no point in the code
for pg_top are the last two digits used to represent a year.

Top and the Year 2038

In the year 2038 pg_top will fail to represent the time of day correctly
on 32-bit Unix operating systems.  This is due to a limitation in the
way Unix represents time.  Top will only work on systems whose kernel
call "time" and C library call "ctime" have been adjusted to represent
time with a value greater than 32 bits.  The exact date and time of
this failure is 3:14:08 January 19, 2038 GMT.  Note that this failure
will only affect the display of the current time in the output from
pg_top.


THERE IS ABSOLUTELY NO WARRANTY PROVIDED WITH THIS SOFTWARE.
Please see the contents of the file "LICENSE" for further
information.