Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.20.1
-
None
-
NetBSD
Description
On NetBSD The /bin/ps command reports time as 0:01 rather than 00:01 for intervals shorter than 10 minutes.
The pattern as used here in SureFire Booter to parse ps(1) output does not take this into account.
printf(3) logic for ps(1) can be found in the ps source.
The following patterns are possible and need to be accounted for:
- m:ss
- mm:ss
- h:mm:ss
- hh:mm:ss
- d-hh:mm:ss
- dd-hh:mm:ss