The function
process-run-time
returns the current run time for
process
in internal time units. If the value cannot be determined (currently this is only on FreeBSD), then the return value is
nil
.
Note: The value returned by
get-internal-run-time
is similar, but on some operating systems it is the total time for all Lisp processes in the image.