bug-cfengine
[Top][All Lists]
Advanced

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

Processes parse error


From: Jim Wight
Subject: Processes parse error
Date: Sat, 8 Mar 2003 13:05:27 +0000

On Linux, time featuring in a ps user-defined format, e.g. as in

        SetOptionString         "-eo user,pid,ni,time"

can lead to a parse error. Time in the TIME column is output in the
format hh:mm:ss, which is OK, but over 24 hour's worth is shown as
d-hh:mm:ss, and that causes a parse error:

cfengine:machine: Running process command /bin/ps -eo user,pid,ni,time
cfengine:machine: Parse error checking process time

I currently have users who may legitmately have long-running
CPU-intensive programs. Even if the processes are niced to the lowest
priority, they soon clock up CPU time overnight when they get
virtually all of the CPU time going.

Jim




reply via email to

[Prev in Thread] Current Thread [Next in Thread]