Did you know ... | Search Documentation: |
Pack canny_tudor -- prolog/proc/loadavg.pl |
/proc/loadavg
process pseudo-file. One space
separates all fields except the runnable processes and total
processes, a forward slash separates these two figures.
Load-average statistics comprise: three floating point numbers, one integer ratio and one process identifier.
It follows logically that runnable processes is always less than or equal to total processes.
One space separates all fields except the runnable processes and total processes, a forward slash separates these two figures. The implementation applies this requirement explicitly. The grammar fails if more than one space exists, or if finds the terminating newline missing. This approach allows you to reverse the grammar to generate the load-average codes from the load-average figures.