public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: "P. van Gaans" <w3ird_n3rd@gmx.net>
To: Patrik Hansson <patrik@wintergatan.com>
Cc: linux-dvb <linux-dvb@linuxtv.org>
Subject: Re: [linux-dvb] Adding timestamp to femon
Date: Mon, 24 Mar 2008 17:06:44 +0100	[thread overview]
Message-ID: <47E7D194.80603@gmx.net> (raw)
In-Reply-To: <8ad9209c0803240521s5426c957te42339397aac06ab@mail.gmail.com>

On 03/24/2008 01:21 PM, Patrik Hansson wrote:
> Hello
> I couldn't find a mailinglist for dvb-apps so i hope this is ok.
> 
> I would like to add timestamp to the output of femon -H in some way.
> This so I can monitor ber value over a long timeperiod and see the
> timedifference between some very high ber-values.
> 
> I found a patch from 2005 but was unable to manually use the code in
> dvb-apps/utils/femon/femon.c
> I have zero skill in c/c++ but for someone with some skill i would
> belive it would be very easy ?
> 
> Ps. If there is a better place for this kind of question please tell me. Ds.
> 
> / Patrik
> 
> _______________________________________________
> linux-dvb mailing list
> linux-dvb@linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
> 

Hi,

I had a similar issue, but solved it. Not sure if this works with a 
recent femon, but if it doesn't you should be able to make some changes 
to my method to make it work. Here's the trick:

1. Tune to whatever you want to measure.
2. Execute in a terminal: "femon -h -c 3600 > filename.signal". 3600 is 
for one hour, if you want to test for e.g. 10 hours enter 36000. The 
resulting file will usually be under 5MB so don't worry. Good advice: 
put the current time in the filename because brains are unreliable.
3. That's quite a bit to read. But we can do it faster:

Total amount of errors: "cat filename.signal | grep -c unc[^\s][^0]". 
You might need to change the regex for other femon versions.

All errors and when they occured: "cat filename.signal | grep -n 
unc[^\s][^0]". -n will make it show line numbers. If the first error, 
for example, is on line 1800 that means the first error occured half an 
hour after the start of the measurement.

Hope this helps.

P. van Gaans

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

  reply	other threads:[~2008-03-24 16:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-24 12:21 [linux-dvb] Adding timestamp to femon Patrik Hansson
2008-03-24 16:06 ` P. van Gaans [this message]
2008-03-25 11:59   ` Patrik Hansson
2008-03-25 20:47     ` Jonas Anden

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47E7D194.80603@gmx.net \
    --to=w3ird_n3rd@gmx.net \
    --cc=linux-dvb@linuxtv.org \
    --cc=patrik@wintergatan.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox