Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Tracking idletimes
- X-seq: zsh-users 1992
 
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx>
 
- To: gossamer@xxxxxxxxxxxxxx, zsh-users@xxxxxxxxxxxxxxx
 
- Subject: Re: Tracking idletimes
 
- Date: Wed, 16 Dec 1998 01:53:12 -0800
 
- In-reply-to: <slrn77efle.s7b.gossamer@xxxxxxxxxxxxxx>
 
- References: <19981215235912.25281@xxxxxxxxxxxxxxxxxxxxx> 	<slrn77efle.s7b.gossamer@xxxxxxxxxxxxxx>
 
On Dec 16,  5:01am, Gossamer wrote:
} Subject: Re: Tracking idletimes
}
} What I want the computer to do is somehow "sense" when I'm using it
} and tell me to get up and stretch.
If you're on a linux box (I'm guessing by the reference to virtual
consoles), try using "stat" or "ls -l" on the /dev/tty? device files.
If the mod time is changing, then either you're sitting there typing
or some job is generating continuous output.
-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com
Messages sorted by:
Reverse Date,
Date,
Thread,
Author