Re: running stats on a file

2010-03-16 Thread ben perl
Thanks Jim, Date::Parse worked. -Ben On Tue, Mar 16, 2010 at 2:32 PM, Jim Gibson wrote: > On 3/16/10 Tue Mar 16, 2010 2:05 PM, "ben perl" > scribbled: > > > Hi Jim, > > > > Thanks for the reply. This seem to work only if i am running perl on the > > machine itself. > > > > I am instead usin

Re: running stats on a file

2010-03-16 Thread Jim Gibson
On 3/16/10 Tue Mar 16, 2010 2:05 PM, "ben perl" scribbled: > Hi Jim, > > Thanks for the reply. This seem to work only if i am running perl on the > machine itself. > > I am instead using expect to ssh into this machine and run stat command and > use the output from that command to check the o

Re: running stats on a file

2010-03-16 Thread ben perl
Hi Jim, Thanks for the reply. This seem to work only if i am running perl on the machine itself. I am instead using expect to ssh into this machine and run stat command and use the output from that command to check the output of that stat command. Thanks, -Ben On Tue, Mar 16, 2010 at 1:31 PM,

Re: running stats on a file

2010-03-16 Thread Jim Gibson
On 3/16/10 Tue Mar 16, 2010 12:18 PM, "ben perl" scribbled: > Hi Everyone, > > I writing this program to check if a file is being touched (linux "touch" > command) every 25 seconds.I am using stat command on linux. > > For example(please check the bold), > > stat file > File: `file' >

running stats on a file

2010-03-16 Thread ben perl
Hi Everyone, I writing this program to check if a file is being touched (linux "touch" command) every 25 seconds.I am using stat command on linux. For example(please check the bold), stat file File: `file' Size: 0 Blocks: 0 IO Block: 4096 regular empty file Device: