How do I find out how long my system has been Idle? (like windows does to determine when to call the screensaver)

Thanx, Marc D. Migge