Re: [Ilugc] watch a process every few seconds

2012-11-30 Thread Arun Khan
On Fri, Nov 30, 2012 at 10:30 PM, Abraham wrote: > I am not sure I follow this discussion but 'watch' command is awesome. > > We all know that cp command doesn't give any feedback on how much of > data is copied. So to see the amount of data copied while copying around > 45 GB of data, I used watc

Re: [Ilugc] watch a process every few seconds

2012-11-30 Thread ashwin
On Fri, 30 Nov 2012 22:30:52 +0530, Abraham wrote: > I am not sure I follow this discussion but 'watch' command is awesome. > watch is no new command. It is a unix command in existance for a long time. I dont understand how a age old command become awesome suddenly. __

Re: [Ilugc] watch a process every few seconds

2012-11-30 Thread Abraham
I am not sure I follow this discussion but 'watch' command is awesome. We all know that cp command doesn't give any feedback on how much of data is copied. So to see the amount of data copied while copying around 45 GB of data, I used watch. $watch du -s -BM 'target-file' This monitored the file

Re: [Ilugc] watch a process every few seconds

2012-11-30 Thread Arun Khan
On Fri, Nov 30, 2012 at 8:02 PM, Girish Venkatachalam wrote: > On Fri, Nov 30, 2012 at 5:21 PM, Guruprasad wrote: >> >> On Fri, Nov 30, 2012 at 4:35 PM, Girish Venkatachalam >> wrote: >> > You have watch command. >> > >> > $ watch ls -ltr >> > >> > or you can get a clock with watch. >> > >> > Ju

Re: [Ilugc] watch a process every few seconds

2012-11-30 Thread Girish Venkatachalam
On Fri, Nov 30, 2012 at 5:21 PM, Guruprasad wrote: > > Hi Girish, > > On Fri, Nov 30, 2012 at 4:35 PM, Girish Venkatachalam > wrote: > > You have watch command. > > > > $ watch ls -ltr > > > > or you can get a clock with watch. > > > > Just think... > > Doesn't this list the contents of a directo

Re: [Ilugc] watch a process every few seconds

2012-11-30 Thread Guruprasad
Hi Girish, On Fri, Nov 30, 2012 at 4:35 PM, Girish Venkatachalam wrote: > You have watch command. > > $ watch ls -ltr > > or you can get a clock with watch. > > Just think... Doesn't this list the contents of a directory ordered by modified time in reverse order? But the subject says "watch a pr