The function
process-idle-time
returns the length of time in internal time units that
process
has been idle. If the process is running (for example the current process) then the return value is 0.
LispWorks User Guide and Reference Manual - 21 Dec 2011