Subject: standards/18257: POSIX.2-1992: ps(1)'s TIME column has the wrong format
To: None <>
From: Ben Harris <>
List: netbsd-bugs
Date: 09/10/2002 19:21:59
>Number:         18257
>Category:       standards
>Synopsis:       POSIX.2-1992: ps(1)'s TIME column has the wrong format
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    standards-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 10 11:23:00 PDT 2002
>Originator:     Ben Harris
>Release:        1.5.2
System: NetBSD viking 1.5.2 NetBSD 1.5.2 (VIKING) #9: Sat May 11 12:39:15 BST 2002 bjh21@viking:/usr/src/sys/arch/macppc/compile/VIKING macppc

The "TIME" column in ps's output is specified by IEEE Std 1003.2-1992, and
by IEEE Std 1003.1-2001 as containing:

# [dd-]hh:mm:ss
# where dd shall represent the number of days, hh the number of hours, mm
# the number of minutes, and ss the number of seconds. The dd field shall be
# a decimal integer. The hh, mm, and ss fields shall be two-digit decimal
# integers padded on the left with zeros.


On NetBSD, though, the format appears to be, with hh not being

$ ps -o time