1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-25 11:37:56 +00:00
freebsd/bin/ps
Mark Felder c2290ff6b8 Use 24h timestamps in the ps(1) STARTED column
The previous 12h AM/PM format was perplexing as it didn't follow the
locale of the user and was a minor annoyance to FreeBSD users coming
from Linux. Additionally, the man page was incorrect about the strftime
format.

There are three time formats that may be displayed in the STARTED
column depending on the age of the process. Below is an example.

For a process started at 14:30 on Monday 16 March 2015, the following
formats may be used:

14:30 for process < 24h old (24h Timestamp)
Mon14 for process > 24h, < 1 week old (Weekday Hour)
16Mar15 for process > 1 week old (Day Month Year)

Differential Revision:	https://reviews.freebsd.org/D1620
Reviewed by:	brd
Approved by:	trasz
2015-03-17 12:40:33 +00:00
..
extern.h
fmt.c - Move 'showthreads' check out of fmt.c. 2013-01-19 00:21:55 +00:00
keyword.c Return real parent pid in kinfo (used by e.g. ps) 2014-08-28 08:41:11 +00:00
Makefile Convert bin/ to LIBADD, reduce overlinking allow to build all components as 2014-11-25 11:15:40 +00:00
nlist.c
print.c Use 24h timestamps in the ps(1) STARTED column 2015-03-17 12:40:33 +00:00
ps.1 Use 24h timestamps in the ps(1) STARTED column 2015-03-17 12:40:33 +00:00
ps.c Prevent access to an uninitialized variable 2015-01-31 15:41:01 +00:00
ps.h