Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/bin/ps Make ps -s use LTIME instead of TIME in the default o...



details:   https://anonhg.NetBSD.org/src/rev/e10ffdc24c9d
branches:  trunk
changeset: 325981:e10ffdc24c9d
user:      mlelstv <mlelstv%NetBSD.org@localhost>
date:      Wed Jan 15 08:09:10 2014 +0000

description:
Make ps -s use LTIME instead of TIME in the default output format.

diffstat:

 bin/ps/ps.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 453f11f05c86 -r e10ffdc24c9d bin/ps/ps.c
--- a/bin/ps/ps.c       Wed Jan 15 08:07:53 2014 +0000
+++ b/bin/ps/ps.c       Wed Jan 15 08:09:10 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ps.c,v 1.78 2012/05/07 13:14:31 joerg Exp $    */
+/*     $NetBSD: ps.c,v 1.79 2014/01/15 08:09:10 mlelstv Exp $  */
 
 /*
  * Copyright (c) 2000-2008 The NetBSD Foundation, Inc.
@@ -68,7 +68,7 @@
 #if 0
 static char sccsid[] = "@(#)ps.c       8.4 (Berkeley) 4/2/94";
 #else
-__RCSID("$NetBSD: ps.c,v 1.78 2012/05/07 13:14:31 joerg Exp $");
+__RCSID("$NetBSD: ps.c,v 1.79 2014/01/15 08:09:10 mlelstv Exp $");
 #endif
 #endif /* not lint */
 
@@ -136,7 +136,7 @@
 char jfmt[] = "user pid ppid pgid sess jobc state tt time command";
 char lfmt[] = "uid pid ppid cpu pri nice vsz rss wchan state tt time command";
 char sfmt[] = "uid pid ppid cpu lid nlwp pri nice vsz rss wchan lstate tt "
-               "time command";
+               "ltime command";
 char ufmt[] = "user pid %cpu %mem vsz rss tt state start time command";
 char vfmt[] = "pid state time sl re pagein vsz rss lim tsiz %cpu %mem command";
 



Home | Main Index | Thread Index | Old Index