Tag: Unix
-
ps standards and locales
I looked at two interesting issues today around the ps program in the procps project. One had a solution and the other I’m puzzled about. ps User-defined Format Issue #9 was quite the puzzle. The output of ps changed depending if a different option had a hyphen before it or not. First, the expected output…
-
Careful with PIDs
Quick question, what is the lowest Process ID you will find? Most people (myself included until recently) would be able to say that the lowest number is 1 for the init process. Plenty of programs including ps and pstree have this assumption. This assumption bit me this week with Debian Bug 687829 where pstree on…