Strange Observation & One Question April 10, 2011 08:08AM |
Registered: 13 years ago Posts: 23 |
Re: Strange Observation & One Question April 10, 2011 11:23AM |
Registered: 13 years ago Posts: 264 |
$ grep sda1 /proc/diskstats(substituting the mounted partitions from your USB stick for "sda1". The output is:
Field 1 -- # of reads issued Field 2 -- # of reads merged Field 3 -- # of sectors read Field 4 -- # of milliseconds spent reading Field 5 -- # of writes completed field 6 -- # of writes merged Field 7 -- # of sectors written Field 8 -- # of milliseconds spent writing Field 9 -- # of I/Os currently in progress Field 10 -- # of milliseconds spent doing I/Os Field 11 -- weighted # of milliseconds spent doing I/OsBy comparing field 5 and field 7 from several invocations of the command, you can get an idea of how much write activity is occuring to that partition.
Re: Strange Observation & One Question April 10, 2011 02:48PM |
Registered: 13 years ago Posts: 23 |
Re: Strange Observation & One Question April 11, 2011 09:00AM |
Registered: 13 years ago Posts: 23 |
Re: Strange Observation & One Question April 11, 2011 01:06PM |
Registered: 13 years ago Posts: 264 |
SHELL=/bin/bashas the first line of your crontab. (You can also specify "PATH=...", and/or other environment variables, at this point.)