diff options
author | trasz <trasz@FreeBSD.org> | 2011-03-24 20:15:42 +0000 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2011-03-24 20:15:42 +0000 |
commit | e94d4d2ed6a442604885618a239373e8df23c269 (patch) | |
tree | f3ca70d60b078cb78e13a6e354b1cb5cc99b0ca6 /bin/ps/extern.h | |
parent | ba27262ba1ab13c1e02f35018f43d97e2cf8e422 (diff) | |
download | FreeBSD-src-e94d4d2ed6a442604885618a239373e8df23c269.zip FreeBSD-src-e94d4d2ed6a442604885618a239373e8df23c269.tar.gz |
Add proper width calculation for time fields (time, cputime and usertime).
This fixes the ugly overflow in "ps aux" output for "[idle]".
Diffstat (limited to 'bin/ps/extern.h')
-rw-r--r-- | bin/ps/extern.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/ps/extern.h b/bin/ps/extern.h index 6103473..4321285 100644 --- a/bin/ps/extern.h +++ b/bin/ps/extern.h @@ -74,12 +74,15 @@ void rgroupname(KINFO *, VARENT *); void runame(KINFO *, VARENT *); void rvar(KINFO *, VARENT *); int s_comm(KINFO *); +int s_cputime(KINFO *); int s_label(KINFO *); int s_loginclass(KINFO *); int s_logname(KINFO *); int s_rgroupname(KINFO *); int s_runame(KINFO *); +int s_systime(KINFO *); int s_uname(KINFO *); +int s_usertime(KINFO *); void showkey(void); void started(KINFO *, VARENT *); void state(KINFO *, VARENT *); |