← Commit list

85b1f292c

Cristian Ionescu-Idbohrn
Cristian Ionescu-Idbohrn
2011-09-29
FAILED Duration: 252s

Subject

ps: fix for !FEATURE_PS_LONG build

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

procps/ps.c+2 -0
@@ -693,8 +693,10 @@ int ps_main(int argc UNUSED_PARAM, char **argv UNUSED_PARAM)
* We also show STIME (standard says that -f shows it, -l doesn't).
*/
puts("S UID PID PPID VSZ RSS TTY STIME TIME CMD");
+#if ENABLE_FEATURE_PS_LONG
now = time(NULL);
sysinfo(&info);
+#endif
}
else {
puts(" PID USER VSZ STAT COMMAND");