-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Chip,
On 6/29/10 19:19, Pleasants, Chip wrote:
> Hi Peter.
>
> Thank you very much for assistance. Is there any way I tell its being
> set? When I start nfsen the -s option doesn't appear in the command
> output, but I do see the messages below in the logs.
Yes - in nfsen.conf in the %sources definitions. Add -s as I described in my
ealier mail. ( optarg => .... )
These args are directly passed to nfcapd.
>
> Jun 24 15:10:44 server-1 nfcapd[22284]: Process_v9: New std sampler at
> offsets: interval: 1, algorithm: 0
> Jun 24 15:10:44 server-1 nfcapd[22284]: Set std sampler: algorithm: 1,
> interval: 100
>
> The second one I see about every minute. Would this be the router
> telling nfcapd what the sample rate is? Looks to be that way after
> changing the sample rate on the router a couple different times.
Yes - nfcapd does automatically recognise the sampling rate. The -s option is
only meant for those router software
releases, which don't do that, although sampling is configured.
o You can preset the sampling rate for nfcapd by setting the -s option.
o If sampling is announced from the router - this values overwrite the given -s
o hard core: setting -s -<rate> ( add minus sign ) locks the sampling rate for
nfcapd, regardless what the device announces.
This should hopefully fit for every setup.
- Peter
>
> If it is being set I'm seeing a little higher usage than the actual
> usage. Is that to be expected?
>
> Thanks again for you help,
>
> -Chip
>
>
>
>
> -----Original Message-----
> From: Peter Haag [mailto:[email protected]]
> Sent: Thursday, June 24, 2010 3:05 PM
> To: Pleasants, Chip
> Cc: [email protected]
> Subject: Re: [Nfsen-discuss] sampling
>
>
>
> On 6/23/10 20:24, Pleasants, Chip wrote:
>> Hi all,
>
>
>
>> Could someone direct me how to set the -s option in the nfsen.conf?
>
> use optarg => '-s 256' for example to set the rate accordingly.
>
>> Also I see the default -s value is 1. Could someone also clarify if
> this
>> 1% and if my sample rate and this value need to be the same?
>
> It's the sampling rate. See nfcapd(1) for the details.
>
> - Peter
>
>
>
>> Thanks,
>
>> Chip
>
>
>
>
>
>
>
>
>
>
> ------------------------------------------------------------------------
> ------
>> ThinkGeek and WIRED's GeekDad team up for the Ultimate
>> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
>> lucky parental unit. See the prize list and enter to win:
>> http://p.sf.net/sfu/thinkgeek-promo
>
>
>
>> _______________________________________________
>> Nfsen-discuss mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/nfsen-discuss
>
- ------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Nfsen-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nfsen-discuss
- --
_______ SWITCH - The Swiss Education and Research Network ______
Peter Haag, Security Engineer, Member of SWITCH CERT
PGP fingerprint: D9 31 D5 83 03 95 68 BA FB 84 CA 94 AB FC 5D D7
SWITCH, Werdstrasse 2, P.O. Box, CH-8021 Zurich, Switzerland
E-mail: [email protected] Web: http://www.switch.ch/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iQCVAwUBTCrhVf5AbZRALNr/AQJX6wP7BN0i/ES2sVFMI+n0lVUOE6ITod85KHZ/
W/QxciQlYidM3AgUPCWMB1B2W5dU+floiozMuVdjZ586ND9Mb5WT3tfX5Izv8yR2
oqfQtFIkXIKsvXwkegZ+BxCeK+2nBh0dapI08HfqRF7Hvd0gdJE6IoGWOl40eYOF
If6MbypEJH8=
=l4sL
-----END PGP SIGNATURE-----
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Nfsen-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nfsen-discuss