[mythtvnz] Pixellation Every ~ 20 minutes
criggie
criggie at criggie.org.nz
Sat Oct 6 10:31:36 BST 2012
On 06/10/12 21:03, Chris Bannister wrote:
> On Sat, Oct 06, 2012 at 05:29:01PM +1300, Steve Hodge wrote:
>>
>>> In a way this is good - it means I don't have to go and buy a
>>> UPS to protect XFS/JFS.
>>>
>>
>> Why would you need to buy a UPS to protect XFS/JFS?
>
> Is that a myth?
Not at all - UPSs protect important things, and important things run
filesystems like XFS, JFS, Reiser, extN, etc
As opposed to ones that primarily use exFAT, reFS, NTFS, fat32, fat16.
Back to the original question - if you have something happening on the
box every 20 minutes, I'd suggest tracking down what it is rather than
formatting up filesystems and buying power protection.
1) Is it a predictable time? IE exactly on the hour, 20 minutes passed
the hour? Or is it roughly 20 minutes after the start of the recording?
2) Say you know it will go pixelly at exactly 14:20:00 then set up some
cron or at jobs to fire off the script below at 14:19:58
14:20:00
14:20:02
14:20:04
14:20:06 and see what the output contains.
It should complete in under a second and you can then ;ppl at ot, at
your leisure. If the timing is more approximate then it'll get harder.
#!/bin/bash
export file=/tmp/pixel-`date +%s`
date >> $file
ps auxw >> $file
free >> $file
pstree >> $file
iostat >> $file
Suggestions ?
--
Criggie
http://criggie.org.nz/
More information about the mythtvnz
mailing list