f



Log

SGkgZXZlcnlvbmUsCgpJIGFtIHRyeWluZyB0byBkZXNpZ24gYSBjb21wdXRpbmcgZW5naW5lIGZv
ciBzcGVlY2ggcmVjb2duaXRpb24gd2hpY2gKaGVhdmlseSBpbnZvbHZlZCBpbiBsb2cgb3BlcmF0
aW9uLgrvvYnjgIDvvYHvvY3jgIDvvYzvvY/vvY/vvYvvvYnvvY7vvYfjgIDvvYbvvY/vvZLjgIDv
vZPvvY/vvY3vvYXjgIDvvYXvvZjvvYHvvY3vvZDvvYzvvYXvvZPvvIjvvYzvvYnvvYvvvYXjgIDv
vY/vvZDvvYXvvY7jgIDvvYPvvY/vvZLvvYXjgIDvvY/vvZLjgIDvvYXvvZbvvYXvvY7jgIDvvZDv
vYHvvZDvvYXvvZLvvInjgIDvvYHvvYLvvY/vvZXvvZTjgIDvvYjvvY/vvZfjgIDvvZTvvY/jgIDv
vYXvvYbvvYbvvYnvvYPvvYnvvYXvvY7vvZTvvYzvvZnjgIDvvYnvvY3vvZDvvYzvvYXvvY3vvYXv
vY7vvZTjgIDvvYzvvY/vvYfjgIDvvY/vvZDvvYXvvZLvvYHvvZTvvYnvvY/vvY7jgIDvvY/vvY7j
gIDvvYjvvYHvvZLvvYTvvZfvvYHvvZLvvYXvvI7jgIDvvKHvvY7vvZnjgIDvvZPvvZXvvYfvvYfv
vYXvvZPvvZTvvYnvvY/vvY7vvZPvvJ8KCu+8re+9ge+9ju+9meOAgO+8tO+9iO+9ge+9ju+9i++9
kwoKCu+8ue+9ie+9gu+9ie+9jgo=

0
jiou0962 (8)
12/1/2006 4:11:39 PM
comp.dsp 20333 articles. 1 followers. allnor (8509) is leader. Post Follow

15 Replies
1041 Views

Similar Articles

[PageSpeed] 25

Cmppb3UwLi4uQGdtYWlsLmNvbSB3cm90ZToKPiBIaSBldmVyeW9uZSwKPgo+IEkgYW0gdHJ5aW5n
IHRvIGRlc2lnbiBhIGNvbXB1dGluZyBlbmdpbmUgZm9yIHNwZWVjaCByZWNvZ25pdGlvbiB3aGlj
aAo+IGhlYXZpbHkgaW52b2x2ZWQgaW4gbG9nIG9wZXJhdGlvbi4KPiDvvYnjgIDvvYHvvY3jgIDv
vYzvvY/vvY/vvYvvvYnvvY7vvYfjgIDvvYbvvY/vvZLjgIDvvZPvvY/vvY3vvYXjgIDvvYXvvZjv
vYHvvY3vvZDvvYzvvYXvvZPvvIjvvYzvvYnvvYvvvYXjgIDvvY/vvZDvvYXvvY7jgIDvvYPvvY/v
vZLvvYXjgIDvvY/vvZLjgIDvvYXvvZbvvYXvvY7jgIDvvZDvvYHvvZDvvYXvvZLvvInjgIDvvYHv
vYLvvY/vvZXvvZTjgIDvvYjvvY/vvZfjgIDvvZTvvY/jgIDvvYXvvYbvvYbvvYnvvYPvvYnvvYXv
vY7vvZTvvYzvvZnjgIDvvYnvvY3vvZDvvYzvvYXvvY3vvYXvvY7vvZTjgIDvvYzvvY/vvYfjgIDv
vY/vvZDvvYXvvZLvvYHvvZTvvYnvvY/vvY7jgIDvvY/vvY7jgIDvvYjvvYHvvZLvvYTvvZfvvYHv
vZLvvYXvvI7jgIDvvKHvvY7vvZnjgIDvvZPvvZXvvYfvvYfvvYXvvZPvvZTvvYnvvY/vvY7vvZPv
vJ8KPgo+IO+8re+9ge+9ju+9meOAgO+8tO+9iO+9ge+9ju+9i++9kwo+IAo+IAo+IO+8ue+9ie+9
gu+9ie+9jgoKSG93IGFib3V0IGEgbG9nYXJpdGhtaWMgYW1wbGlmaWVyPwo=

0
sampson164 (501)
12/1/2006 4:16:48 PM
jiou0962@gmail.com wrote:
> As far as I know, logarithmic amplifier is analogue based  which mean
> it is diffcult to be integrated into a microprocessor-centric chip and
> supported by the commercial synthesis tool. Is that right?
>

Oh, so you are working in VHDL. I would be surprised if there isn't
something out there for that. Did you have a look at www.opencores.org?

John

0
sampson164 (501)
12/1/2006 4:47:59 PM
In fact, I check www.opencores.org before  I come here. do you know if
log function is inside some core ? Because I didn't see any single core
implement log operation.

Many Thanks


Yibin
sampson...@gmail.com wrote:

> jiou0962@gmail.com wrote:
> > As far as I know, logarithmic amplifier is analogue based  which mean
> > it is diffcult to be integrated into a microprocessor-centric chip and
> > supported by the commercial synthesis tool. Is that right?
> >
>
> Oh, so you are working in VHDL. I would be surprised if there isn't
> something out there for that. Did you have a look at www.opencores.org?
> 
> John

0
jiou0962 (8)
12/1/2006 4:56:25 PM
jiou0962@gmail.com wrote:
> Hi everyone,
> 
> I am trying to design a computing engine for speech recognition which
> heavily involved in log operation.
> i am looking for some examples(like open core or even paper) about how to efficiently implement log operation on hardware. Any suggestions?

First, fix your space bar.

What are you looking for; fast logarithm routines? The fastest are 
assembly coded and may make use of a processor's floating-point format. 
(The exponent needs only little refinement to become an accurate log.)

Jerry
-- 
Engineering is the art of making what you want from things you can get.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
0
jya (12871)
12/1/2006 6:26:05 PM
amlvdTA5NjJAZ21haWwuY29tIHdyb3RlOgo+IEhpIGV2ZXJ5b25lLAo+Cj4gSSBhbSB0cnlpbmcg
dG8gZGVzaWduIGEgY29tcHV0aW5nIGVuZ2luZSBmb3Igc3BlZWNoIHJlY29nbml0aW9uIHdoaWNo
Cj4gaGVhdmlseSBpbnZvbHZlZCBpbiBsb2cgb3BlcmF0aW9uLgo+IO+9ieOAgO+9ge+9jeOAgO+9
jO+9j++9j++9i++9ie+9ju+9h+OAgO+9hu+9j++9kuOAgO+9k++9j++9je+9heOAgO+9he+9mO+9
ge+9je+9kO+9jO+9he+9k++8iO+9jO+9ie+9i++9hQo+IO+9j++9kO+9he+9juOAgO+9g++9j++9
ku+9heOAgO+9j++9kuOAgO+9he+9lu+9he+9juOAgO+9kO+9ge+9kO+9he+9ku+8ieOAgO+9ge+9
gu+9j++9le+9lOOAgO+9iO+9j++9l+OAgO+9lAo+IO+9he+9hu+9hu+9ie+9g++9ie+9he+9ju+9
lO+9jO+9meOAgO+9ie+9je+9kO+9jO+9he+9je+9he+9ju+9lOOAgO+9jO+9j++9h+OAgO+9j++9
kO+9he+9ku+9ge+9lO+9ie+9jwo+IO+9j++9juOAgO+9iO+9ge+9ku+9hO+9l++9ge+9ku+9he+8
juOAgO+8oe+9ju+9meOAgO+9k++9le+9h++9h++9he+9k++9lO+9ie+9j++9ju+9k++8nwoKQSBw
cmlvcml0eSBlbmNvZGVyIHRvIGRvIGEgZmluZC1maXJzdC1vbmUsCmEgYmFycmVsLXNoaWZ0ZXIs
IGFuZCBhIGxvb2stdXAgdGFibGUgKHN5bnRoZXNpemVkLCBvciBpbgpST00gb3IgUkFNKSBjYW4g
YmUgdXNlZCBmb3Igb25lIHR5cGUgb2YgaW1wbGVtZW50YXRpb24Kb2YgYSBsb2coKSBmdW5jdGlv
biBvcGVyYXRpb24gaW4gaGFyZHdhcmUuCgoKSU1ITy4gWU1NVi4KLS0gCnJobiBBLlQgbmljaG9s
c29uIGQuMC50IEMtby1NCg==

0
rhnlogic (1111)
12/1/2006 7:46:31 PM
jiou0962@gmail.com wrote:
> Hi everyone,
> 
> I am trying to design a computing engine for speech recognition which
> heavily involved in log operation.
> i am looking for some examples(like open core or even paper) about how to efficiently implement log operation on hardware. Any suggestions?
> 
> Many Thanks
> 
> 
> Yibin

You left out a lot of the details, and I can't even read between the 
lines because you were too lazy to put the spaces in :-)

If this is for hardware there are some easy ways to get a log if you 
don't need a lot of precision.  See my "quick and dirty logs" tip on 
DSP_guru.com http://www.dspguru.com/comp.dsp/tricks/alg/quicklog.htm
Basically you just need a normalizing barrel shift and a look-up table.

If you need more precision, there are algorithms out there for it.  I do 
have a precision log algorithm implemented in Xilinx, but it is not a 
free core, and needs some customization by me to fit a customer's needs.
0
ray7026 (162)
12/1/2006 8:44:47 PM

jiou0962@gmail.com wrote:

> Hi everyone,
>=20
> I am trying to design a computing engine for speech recognition which
> heavily involved in log operation.
> =EF=BD=89=E3=80=80=EF=BD=81=EF=BD=8D=E3=80=80=EF=BD=8C=EF=BD=8F=EF=BD=8F=
=EF=BD=8B=EF=BD=89=EF=BD=8E=EF=BD=87=E3=80=80=EF=BD=86=EF=BD=8F=EF=BD=92=E3=
=80=80=EF=BD=93=EF=BD=8F=EF=BD=8D=EF=BD=85=E3=80=80=EF=BD=85=EF=BD=98=EF=BD=
=81=EF=BD=8D=EF=BD=90=EF=BD=8C=EF=BD=85=EF=BD=93=EF=BC=88=EF=BD=8C=EF=BD=89=
=EF=BD=8B=EF=BD=85=E3=80=80=EF=BD=8F=EF=BD=90=EF=BD=85=EF=BD=8E=E3=80=80=EF=
=BD=83=EF=BD=8F=EF=BD=92=EF=BD=85=E3=80=80=EF=BD=8F=EF=BD=92=E3=80=80=EF=BD=
=85=EF=BD=96=EF=BD=85=EF=BD=8E=E3=80=80=EF=BD=90=EF=BD=81=EF=BD=90=EF=BD=85=
=EF=BD=92=EF=BC=89=E3=80=80=EF=BD=81=EF=BD=82=EF=BD=8F=EF=BD=95=EF=BD=94=E3=
=80=80=EF=BD=88=EF=BD=8F=EF=BD=97=E3=80=80=EF=BD=94=EF=BD=8F=E3=80=80=EF=BD=
=85=EF=BD=86=EF=BD=86=EF=BD=89=EF=BD=83=EF=BD=89=EF=BD=85=EF=BD=8E=EF=BD=94=
=EF=BD=8C=EF=BD=99=E3=80=80=EF=BD=89=EF=BD=8D=EF=BD=90=EF=BD=8C=EF=BD=85=EF=
=BD=8D=EF=BD=85=EF=BD=8E=EF=BD=94=E3=80=80=EF=BD=8C=EF=BD=8F=EF=BD=87=E3=80=
=80=EF=BD=8F=EF=BD=90=EF=BD=85=EF=BD=92=EF=BD=81=EF=BD=94=EF=BD=89=EF=BD=8F=
=EF=BD=8E=E3=80=80=EF=BD=8F=EF=BD=8E=E3=80=80=EF=BD=88=EF=BD=81=EF=BD=92=EF=
=BD=84=EF=BD=97=EF=BD=81=EF=BD=92=EF=BD=85=EF=BC=8E=E3=80=80=EF=BC=A1=EF=BD=
=8E=EF=BD=99=E3=80=80=EF=BD=93=EF=BD=95=EF=BD=87=EF=BD=87=EF=BD=85=EF=BD=93=
=EF=BD=94=EF=BD=89=EF=BD=8F=EF=BD=8E=EF=BD=93=EF=BC=9F
>=20
> =EF=BC=AD=EF=BD=81=EF=BD=8E=EF=BD=99=E3=80=80=EF=BC=B4=EF=BD=88=EF=BD=81=
=EF=BD=8E=EF=BD=8B=EF=BD=93
>=20
>=20
> =EF=BC=B9=EF=BD=89=EF=BD=82=EF=BD=89=EF=BD=8E

YYY III BBB IIII NNNNNNN,

What in the hell is in common between the speech recognition and log=20
operation?  Did they ask you to create a log function for your homework, =

and you just made it up? BTW, looking at your writings, you'd better=20
mention the OCR engine.

Vladimir Vassilevsky

DSP and Mixed Signal Design Consultant

http://www.abvolt.com



0
12/1/2006 8:52:47 PM
Vladimir Vassilevsky schrieb:

> jiou0962@gmail.com wrote:
>
> > Hi everyone,
> >
> > I am trying to design a computing engine for speech recognition which
> > heavily involved in log operation.

> What in the hell is in common between the speech recognition and log
> operation? 

Cepstrum?

0
usenet1976 (193)
12/2/2006 9:42:14 PM
amlvdTA5NjJAZ21haWwuY29tIHNjaHJpZWI6Cgo+IO+9ieOAgO+9ge+9jeOAgO+9jO+9j++9j++9
i++9ie+9ju+9h+OAgO+9hu+9j++9kuOAgO+9k++9j++9je+9heOAgO+9he+9mO+9ge+9je+9kO+9
jO+9he+9k++8iO+9jO+9ie+9i++9heOAgO+9j++9kO+9he+9juOAgO+9g++9j++9ku+9heOAgO+9
j++9kuOAgO+9he+9lu+9he+9juOAgO+9kO+9ge+9kO+9he+9ku+8ieOAgO+9ge+9gu+9j++9le+9
lOOAgO+9iO+9j++9l+OAgO+9lO+9j+OAgO+9he+9hu+9hu+9ie+9g++9ie+9he+9ju+9lO+9jO+9
meOAgO+9ie+9je+9kO+9jO+9he+9je+9he+9ju+9lOOAgO+9jO+9j++9h+OAgO+9j++9kO+9he+9
ku+9ge+9lO+9ie+9j++9juOAgO+9j++9juOAgO+9iO+9ge+9ku+9hO+9l++9ge+9ku+9he+8juOA
gO+8oe+9ju+9meOAgO+9k++9le+9h++9h++9he+9k++9lO+9ie+9j++9ju+9k++8nwoKVGFrZSBh
IGxvb2sgYXQgdGhlIENPUkRJQyBhbGdvcml0aG0uIEl0J3MgZWFzeSB0byBpbXBsZW1lbnQgaW4g
Zml4ZWQKcG9pbnQgYW5kIGRvZXNuJ3QgZXZlbiByZXF1aXJlIGEgbXVsdGlwbGllci4K

0
usenet1976 (193)
12/2/2006 9:45:19 PM
Ray Andraka wrote:
> jiou0962@gmail.com wrote:
> >
> > I am trying to design a computing engine for speech recognition which
> > heavily involved in log operation.
> > iamlookingforsomeexamples (likeopencoreorevenpaper)about how
> > toefficientlyimplementlog operationonhardware.Any suggestions?
....
>
> You left out a lot of the details, and I can't even read between the
> lines because you were too lazy to put the spaces in :-)

i'm not smiling.  Google groups wouldn't let me post a reply because of
whatever crap was in that sentence.  Yibin, ONLY post pure ASCII.  no
HTML, no MIME ,no attachments, no binary or any shit like that.
somehow if the USENET propagates the shit, replying can make other's
lives difficult and you don't wanna do that to people whom you want
help from.

so Yibin,

how accurate do you need your log(.) function to be?  i've often used a
6th order polynomial approximation for the base 2 logarithm (for one
octave, you shift your input while incrementing/decrementing the
exponent for other octaves) that is better than i need for any music
based application.  i think last i posted it was... dunno how far back.
 from my notes the series for log2(), exp2(), and sqrt() (to within the
stated error tolerances in the one octave range) are:

       log2(1+x) ~=              1.4425449290 * x
                        +       -0.7181451002 * x^2
                        +        0.4575485901 * x^3
                        +       -0.2779042655 * x^4
                        +        0.1217970128 * x^5
                        +       -0.0258411662 * x^6

0 <= x <= 1     |error| < 2.217e-6   (exact when x=0 and x=1)
                   (about 1/375th of a cent)

        2^x ~=                   1.0
                        +        0.6930321187 * x
                        +        0.2413797743 * x^2
                        +        0.0520323499 * x^3
                        +        0.0135557571 * x^4

0 <= x <= 1     |error|/(2^x) < 3.340e-6  (exact when x=0 and x=1)
                   (about 1/173rd of a cent)

        sqrt(x) ~=               0.2286139087
                        +        1.3027308205 * x
                        +       -0.9125353819 * x^2
                        +        0.5029902702 * x^3
                        +       -0.1217996175 * x^4

1/2 <= x <= 1   |error|/sqrt(x) < 1.076e-5
(exact when x=1 and nearly exact when x=1/2)

the ranges (or, more precisely, the domains) of x for these
approximations were chosen so that you can preshift (for log2 and sqrt)
and/or postshift (for 2^x and sqrt) any valid value of x and use these
formulae.  also, if you have to shift x an odd number of bits to do
sqrt() you need to compensate with a precalculated sqrt(1/2) factor.

these were obtained by adapting the remez exchange algorithm (not to be
confused with the Parks-McClellan algorithm which uses remes) to the
task.

if your speech application needs accuracy better than that, i would be
surprized.

r b-j

0
rbj (4086)
12/4/2006 5:32:51 AM
Vladimir Vassilevsky wrote:
> What in the hell is in common between the speech recognition and log
> operation?  Did they ask you to create a log function for your homework,
> and you just made it up?

Hidden Markov Model recognizers operate with log probabilities, so this
operation is frequently used.

cheers,
  jerry

0
jjwolf22 (38)
12/4/2006 2:05:24 PM

robert bristow-johnson wrote:

>>>I am trying to design a computing engine for speech recognition which
>>>heavily involved in log operation.

> i'm not smiling.  Google groups wouldn't let me post a reply because of
> whatever crap was in that sentence.  Yibin, ONLY post pure ASCII.  no
> HTML, no MIME ,no attachments, no binary or any shit like that.

Actually, a garbage like that is a clear indication of a hopeless idiot, 
and so is the question.

> how accurate do you need your log(.) function to be?  i've often used a
> 6th order polynomial approximation for the base 2 logarithm

The log2() is indeed very easy to approximate. The simplest linear 
interpolation already provides for the accuracy better then 5%. I would 
say the 2nd order approximation is sufficient for the most of the 
practical tasks.

[...]

> if your speech application needs accuracy better than that, i would be
> surprized.

A staightforward table lookup should suffice however it is quite obvious 
that log() can't be a computation bottleneck for speech recognition engine.


VLV
0
12/4/2006 3:29:54 PM
Vladimir Vassilevsky wrote:
> robert bristow-johnson wrote:
>
....
>
> > if your speech application needs accuracy better than that, i would be
> > surprized.
>
> A staightforward table lookup should suffice however it is quite obvious
> that log() can't be a computation bottleneck for speech recognition engine.

a straightforward table lookup suffices (and may be required if speed
is critical) when memory resource are sufficing. does "straightforward"
mean no interpolation?  if so, how many entries would you need for max
error below 10^(-5) in the range of one octave? i believe tens of
thousands. if, in a DSP context with limited memory, you can't afford
to spend 32K word on this table, you need to do something different.
you can reduce that to  maybe a couple hundred if you apply linear
interpolation, but that increases computational effort a little.  this
thing with a finite order polynomial or power series simply moves that
trade-off farther along the "save memory at increased computation"
spectrum.  when the number of instructions per sample is something like
(80 MHz)/(40 kHz) = 2000, you probably can spare 20 instructions
computing it with the power series.  at least that's how i valued the
cost.

r b-j

0
rbj (4086)
12/5/2006 3:25:31 AM

robert bristow-johnson wrote:
> Vladimir Vassilevsky wrote:
> 
>>>if your speech application needs accuracy better than that, i would be
>>>surprized.
>>
>>A staightforward table lookup should suffice however it is quite obvious
>>that log() can't be a computation bottleneck for speech recognition engine.
> 
> 
> a straightforward table lookup suffices (and may be required if speed
> is critical) when memory resource are sufficing. does "straightforward"
> mean no interpolation?  if so, how many entries would you need for max
> error below 10^(-5) in the range of one octave?

I am not saying 1e-5. What I am saying is:

1) The accuracy of 1% or so is usually sufficient
2) For this kind of accuracy the dumb table lookup is probably the best 
solution.

  i believe tens of
> thousands. if, in a DSP context with limited memory, you can't afford
> to spend 32K word on this table, you need to do something different.
> you can reduce that to  maybe a couple hundred if you apply linear
> interpolation, but that increases computational effort a little.  this
> thing with a finite order polynomial or power series simply moves that
> trade-off farther along the "save memory at increased computation"
> spectrum.  when the number of instructions per sample is something like
> (80 MHz)/(40 kHz) = 2000, you probably can spare 20 instructions
> computing it with the power series.  at least that's how i valued the
> cost.

Why would you need the accurate and fast log() operation on the every 
sample? Something like u-Law compression?

The typical use for log() is computing LARs or LLRs, but it is not 
required to be very accurate and doesn't take much computation either.


Vladimir Vassilevsky

DSP and Mixed Signal Design Consultant

http://www.abvolt.com
0
12/5/2006 3:08:42 PM
robert bristow-johnson wrote:
> Vladimir Vassilevsky wrote:
> > A staightforward table lookup should suffice however it is quite obvious
> > that log() can't be a computation bottleneck for speech recognition engine.
>
> a straightforward table lookup suffices (and may be required if speed
> is critical) when memory resource are sufficing.

This is very system dependent.  Given an CPU or old DSP with a
slow MAC and fast memory access, a table lookup might easily
win.  However, given a CPU or DSP system with a fast MAC, but a
small data cache plus slow memory, one might be able to do quite
a bit of streaming calculations in the few cycles (or few hundred
or thousands of cycles) that a cache, TLB or page miss costs with
a big enough lookup table.


IMHO. YMMV.
-- 
rhn A.T nicholson d.0.t C-o-M

0
rhnlogic (1111)
12/5/2006 7:20:07 PM
Reply:

Similar Artilces:

Logging Who Logs In
How can I keep track of who logs into my ASE (15.0.2)? Thanks, Steve -- Steven J. Backus Computer Specialist University of Utah E-Mail: steven.backus@utah.edu Genetic Epidemiology Alternate: backus@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus Hello, Enable auditing: http://infocenter.sybase.com/help/topic/com.sybase.help.ase_15.0.sag1/html/sag1/sag1831.htm Thanks, Neal On Dec 3, 9:04=A0pm, bac...@episun7.med.utah.edu (Steven Backus) wrote: > How can I keep track of who logs into my ASE (15.0.2)? > You can setup auditing to find out who logged in when. You can also find out who did what ! here is the ASE manual link.. http://tinyurl.com/5be3oe -HTH Manish Negandhi [TeamSybase] "Steven Backus" <backus@episun7.med.utah.edu> wrote in message news:gh6all$pga@episun7.med.utah.edu... > How can I keep track of who logs into my ASE (15.0.2)? > > Thanks, > Steve > -- > Steven J. Backus Computer Specialist > University of Utah E-Mail: steven.backus@utah.edu > Genetic Epidemiology Alternate: backus@math.utah.edu > 391 Chipeta Way -- Suite D Office: 801.587.9308 > Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~ba...

display logged in and logged out
Dear friends, I am having a doubt. How can i display the listof users who have logged in and logged out with in the given time. On Mon, 13 Mar 2006 22:35:56 -0800, balasam wrote: > Dear friends, > I am having a doubt. > How can i display the listof users who have logged > in and logged out with in the given time. Process the output of the "last" command. ...

logging cannot access log
i have applied the recent solaris 8 recommended and security cluster patches on sun solaris 8 i rebooted to get the patches applied,but am not able to mount / in rw mode Kernel version: SunOS 5.8 Generic 108528-23 Jun 2003 mount -o remount,rw / WARNING: Could not access the log for /; Please run fsck(1M) mount: No such device mount: cannot mount /dev/md/dsk/d30 vfstab entry /dev/md/dsk/d30 /dev/md/rdsk/d30 / ufs 1 no logging fsck -y / ** /dev/md/rdsk/d30 ** Last Mounted on / ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Che...

gdm: how do I log who logs in?
Hi All, Is there a way to have gmd log who logs in and when they logged back out? Not having much luck Googling this. :-( Many thanks, -T # ls -al /var/log/gdm .... -rw-r--r-- 1 root root 1132 May 4 08:31 :0.log -rw-r--r-- 1 root root 1132 Apr 19 19:24 :0.log.1 -rw-r--r-- 1 root root 1132 Apr 19 16:37 :0.log.2 -rw-r--r-- 1 root root 1187 Apr 19 16:37 :0.log.3 -rw-r--r-- 1 root root 1132 Apr 11 08:14 :0.log.4 Note that my logs files are all one byte long. On May 4, 2011 14:50, in comp.os.linux.misc, Todd@invalid.com wrote: > Hi All, > > Is there a way to have gmd log who...

Re: (1234*(2/3)^(Log[1234]/Log[3])) === (1234^(Log[2]/Log[3])) should be?
The result should be False. If you want True then you should use Equal ( == ) not SameQ ( === ) (1234*(2/3)^(Log[1234]/Log[3])) == (1234^(Log[2]/Log[3])) // Simplify True Bob Hanlon ---- Luka Rahne <luka.rahne@gmail.com> wrote: ============= what should be result of this evaluation? (1234*(2/3)^(Log[1234]/Log[3])) === (1234^(Log[2]/Log[3])) subqestion. How to make this work? ...

Sample data log code for DSP?
Hello, I am an intern for a lab, and I recently installed P25M from Innovative Integration on a pc. I was told to use Octave, which I found easily. My next step, however, is this: "Get a sample code for data logging using DSP" I AM STARTING COMPLETELY FROM SCRACTH. PLEASE HELP ME. Answers such as "read a book first," "read basics first" will not help because I was told to "get a sample code," not learn about DSP. If anyone could help me, it would be really really appreciated. Thanks in advance. On 08/09/2010 04:39 PM, aojkim wrote: ...

Log Explorer vs. ApexSQL Log vs. SQL Log-Rescue
Opinions? I've installed all three to try'em out and they all seem to be working so far, more or less. Log Explorer has given me a couple of errors but I started over and continued OK. ApexSQL Log squawked about "redo for delete cannot be generated for tables lacking clustered index". Huh? What the...? We have lots of tables without a clustered index. I read some reports in Red-Gate's technical support forum about their product actually bringing down SQL Server. That did not inspire confidence. All three install some server-side components like extended stored proc's which I'm not crazy about and I think all three are server or instance licensed (does anyone actually purchase more than one license when it seems like you can easily move any tran log to be analyzed to the server the product is installed on?). I don't think I'd want to install any of them on a Production server, at least one that I'm responsible for! Thanks, Martin Martin (mvirta@olgc.ca) writes: > ApexSQL Log squawked about "redo for delete cannot be generated for > tables lacking clustered index". Huh? What the...? We have lots of > tables without a clustered index. Probably the people at ApexSQL are like me: they think that every table should have a clustered index. If nothing else, fragmentation is easier to keep in check, if you have a clustered index. -- Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se Books Online for SQL...

sendmail still logs old hostname in /var/log/mail.log
after changing the host name and restarting rsyslog information in mail.log still shows the old host name. Linux newhostname 2.6.38-8-server #42-Ubuntu SMP Mon Apr 11 03:49:04 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux ?? never mind........it started working........ musta been just enough time for the FQDN to implement -h "horus" <horus@sonic.net> wrote in message news:4ea13b8e$0$1641$742ec2ed@news.sonic.net... > after changing the host name and restarting rsyslog > information in mail.log still shows the old host name. > Linux newhostname 2.6.38-8-server #42-Ubuntu SMP Mon Apr 11 03:49:04 UTC > 2011 x86_64 x86_64 x86_64 GNU/Linux > ?? > ...

Why does: "tail -f /var/log/messages | grep eth0 >> /var/log/eth0.log" create an empty log ?
bash scripting question: if: "cat /var/log/messages" yeilds: it87-isa-0290 Adapter: ISA adapter Algorithm: ISA algorithm VCore 1: +1.79 V (min = +1.48 V, max = +2.01 V) VCore 2: +1.24 V (min = +1.02 V, max = +1.37 V) +3.3V: +3.21 V (min = +2.80 V, max = +3.79 V) +5V: +4.97 V (min = +4.23 V, max = +5.75 V) +12V: +12.00 V (min = +10.16 V, max = +13.80 V) Stdby: +4.80 V (min = +4.23 V, max = +5.75 V) VBat: +0.00 V fan1: 5578 RPM (min = 3000 RPM, div = 2) fan2: 2922 RPM (min = 0 RPM, div = 2) M/B Temp: +43�C (low = +10�C, high = +55�C) CPU Temp: +44�C (low = +10�C, high = +60�C) ------------------------------------------------------------------------------------- Jan 22 21:44:14 bruley kernel: I-DROP-IN=eth0 OUT= MAC=00:50:bf:5e:a2:49:00:0a:42:6b:48:70:08:00 SRC=68.119.147.51 DST=66.191.74.157 LEN=56 TOS=0x00 PREC=0x00 TTL=115 ID=50038 PROTO=ICMP TYPE=3 CODE=3 [SRC=66.191.74.157 DST=68.119.147.51 LEN=719 TOS=0x00 PREC=0x00 TTL=50 ID=0 DF PROTO=UDP SPT=27960 DPT=2477 LEN=699 ] and if: "tail -f /var/log/messages | grep eth0" yeilds: Jan 22 21:44:14 bruley kernel: I-DROP-IN=eth0 OUT= MAC=00:50:bf:5e:a2:49:00:0a:42:6b:48:70:08:00 SRC=68.119.147.51 DST=66.191.74.157 LEN=56 TOS=0x00 PREC=0x00 TTL=115 ID=50038 PROTO=ICMP TYPE=3 CODE=3 [SRC=66.191.74.157 DST=68.119.147.51 LEN=719 TOS=0x00 PREC=0x00 TTL=50 ID=0 DF PROTO=UDP SPT=27960 DPT=2477 LEN=699 ] Why does: &q...

Tacacs+ log file; not logging
Hi, I'm making TACACS+ server using tac-plus. When I started the daemon using -g, it shows the users logging activities. I can fine these messages at /var/log/message. However, when I tried to use particular log file like /var/log/tac-plus/tacacs.log. It doesn't log anything to this file. Yet I can still see the logging activities on /dev/console and /var/log/message. FYI, I've tried chmod and chown for /var/log/tac-plus/tacacs.log as well but no luck. -- thx David Sudjiman http://www.davidsudjiman.info David Sudjiman wrote: > Hi, > > I'm making TACACS+ server using tac-plus. > > When I started the daemon using -g, it shows the users logging > activities. I can fine these messages at /var/log/message. > > However, when I tried to use particular log file like > /var/log/tac-plus/tacacs.log. It doesn't log anything to this file. Yet > I can still see the logging activities on /dev/console and /var/log/message. > > FYI, I've tried chmod and chown for /var/log/tac-plus/tacacs.log as well > but no luck. > > -- > thx > David Sudjiman > > http://www.davidsudjiman.info do you have something like: accounting file = /bla/bla/bla/tacacs.log in your tacacs.conf file? Roman Nakhmanson ...

Log, Logging, Objects and Arrays ?
On one of the Dev newsgroups mailing.??? I had seen some comments, regarding the inability (currently) of PHP to write to a string, as opposed to direct output from Function like print_r() var_dump() I'm a bit of a newbie, PHP serialization, but recognize Java has Object.toString method. Anything similar, here in PHP ?? I'm looking to build an complete Enterprise Logging System, to use in debugging, just in-case - haha - I made a typo, during these last 2 months of coding. (I don't expect anything wrong.) its a joke .... Any coders out there subscribe to Extreme Programming theories ? Any using Unit Testing methods ? notes: expert articles http://www.zend.com/php/design/patterns1.php Matt Zandstra Links and Ref's most welcome TIA RJK i_dvlp at hotmail dot com "webguynow" <invinfo@rcn.com> wrote in news:1124469752.538834.201460 @f14g2000cwb.googlegroups.com: > On one of the Dev newsgroups mailing.??? I had seen some comments, > regarding the inability (currently) of PHP to write to a string, as > opposed to direct output from Function like > print_r() > var_dump() > > I'm a bit of a newbie, PHP serialization, but recognize Java has > Object.toString method. Anything similar, here in PHP ?? > Both print_r() and var_dump() can direct their output to strings. See the respective pages in the manual. <http://www.php.net/print_r> <http://www.php.net/var_dump> Ken ...

Log analyzer for sendmail, or other logs
is there a program, or script that I could use to view and analyze my log files. I know how to read them , and understand them, for the most part. What I am looking for is a php, or cgi or some other http type of program that I could use a browser to look at my logs. Something that would only allow access from a secure internal ip address. Thanks, John on Mon, 01 Mar 2004 at 04:07 GMT, John Rusinko wrote: > is there a program, or script that I could use to view and analyze my > log files. I know how to read them , and understand them, for the most > part. What I am looking for is a php, or cgi or some other http type of > program that I could use a browser to look at my logs. Something that > would only allow access from a secure internal ip address. > Thanks, > John > isoqlog, http://www.enderunix.org/isoqlog/ Regards, Peter -- Monday is an awful way to spend one seventh of your life. MSN/Mail: pboosten at hotmail dot com you could try using Webmin for all the logs. I use SMA to create a page for sendmail logs "Peter Boosten" <niemand@nergens.loc> wrote in message news:slrnc45prb.cru.niemand@ramses.egypt.nl... > on Mon, 01 Mar 2004 at 04:07 GMT, John Rusinko wrote: > > is there a program, or script that I could use to view and analyze my > > log files. I know how to read them , and understand them, for the most > > part. What I am looking for is a php, or cgi or some other http type of > > pr...

Log Log square plot
Hi, I'd like to plot a distribution on a log- log^2 graph. Those graph look like gaussian graph but with the x axis on a log^2 scale and y axis on log scale. They are call Cole chart and are use for ploting cumulative particle size distribution. Can someone help me. Thanks Jean-Mathieu Gagnon Johnnyhat <jeanmat66@hotmail.Nospamm.com> wrote in message news:<eed95f9.-1@webx.raydaftYaTP>... > Hi, > > I'd like to plot a distribution on a log- log^2 graph. Those graph > look like gaussian graph but with the x axis on a log^2 scale and y > axis on log scale. T...

Dsp
To do well dsp what areas of math I must know well, and also what dsp starter kit for learning you would recommend me? Dave Dave wrote: > To do well dsp what areas of math I must know well, and also what dsp > starter kit for learning you would recommend me? > > Dave > Try this page: www.dspguru.com And check out the beginner books section. Rick Lyons' book is an excellent place to start. R I recommend following Math area: Probability , statistics, random theory DSP kit: ADSP 2181, SHARC, TMS 320C54xx ArunKumar "Dave" <davecle@SoftHome.net> wr...

log
hello,is it possible to record on solaris machine, logdata like pf log BSD, from a remote machine? if yes howto? thanks papy74 Hi, papy74 wrote: > hello,is it possible to record on solaris machine, logdata like pf log > BSD, from a remote machine? if yes howto? > thanks > papy74 Asking about a specific BSD (which flavour and with which additional software?) logfile is pretty pointless. A quick search shows a potential translation to something like "how to log accepted/denied ip connections to a remote machine?". If this is the intend of the query, then IP Filter i...

SAS log to output and to log window
Hi, I am using SAS 9.2 on Windows (not the Enterprise Guide) and would like to have the following feature: I want to save the log output to a text file, while also showing it in the log screen of the SAS application. Redirecting the log file works fine with proc printto, but then the log windows remains empty. Is there a trick to do this? Thanks Dornak Yes, when your session is done, do a "Save as" while selecting the LOG window. "Dornak" wrote in message news:f1654b61-2021-413d-a2bd-ff96625b9b83@3g2000vbx.googlegroups.com... Hi, I am using SA...

Log Subject field in Sendmail Log
As title, is there anybody who ever tried to configure sendmail to log also the subject field of a mail to syslog. Thanks in advance Dave "Dave Mcgory" <dmcgory@hotmail.com> wrote in message news:c65f8f80.0402270935.ff07735@posting.google.com... > As title, is there anybody who ever tried to configure sendmail to log > also the subject field of a mail to syslog. > > Thanks in advance > > Dave This was asked and answered about 7 to 14 days ago. Bfons Dave Mcgory wrote: > As title, is there anybody who ever tried to configure sendmail to log > also the subject field of a mail to syslog. > > Thanks in advance > > Dave Try adding this to your sendmail.mc file, at the bottom after the MAILER() declarations. I should note that I'm running STARTTLS so that I can cryptologically authenticate anyone relaying through me, and therefore in addition to the Subject line I'm also logging the MD5 digest of the cert that sent the message, and/or the TLS status if verification wasn't OK. LOCAL_CONFIG ESASL_PATH=/usr/lib/sasl Klog syslog HSubject: $>+CheckSubject LOCAL_RULESETS SCheckSubject R$* $: $1 $| $&{verify} R$* $| NO $: $(log Subject=$1 $) $1 R$* $| OK $: $(log Subject=$1, Cert-MD5=$&{cert_md5} $) $1 R$* $| $* $: $(log Subject=$1, TLS-status=$2 $) $1 -- Bill Laut ...

linear regression on log log plots
Hello, I have two variables (vectors): L=[0 200 400 600 800 1000] %L:Length S=[0.002 0.001 0.003 0.001 0.002 0.01] %S:Slope and I have to calculate the coefficients Lambda(slope) and Gama(intercept) of a straight line by regression of my data on log-log graph. formula: lnS=Gama-Lambda*lnL; In cftool, axes are normal (not log-log). I also tried ployfit(x,y,n) in polyfit(log(L),log(S),1) way, but it didn't work and answer was NaN NaN. what code should i use for fitting a straight line(linear fitting) and calculation of Lambda and Gama. thaks in advance It does not work because L(1) = 0, so log(L(1)) = -Inf, and polyfit can't fit a line with an Inf point. Try: polyfit(log(L(2:end)),log(S(2:end)),1) and it will work. F "Alireza Y." <bilgi_yk2@yahoo.com> wrote in message <hf5ab1$qs8$1@fred.mathworks.com>... > Hello, > I have two variables (vectors): > L=[0 200 400 600 800 1000] %L:Length > S=[0.002 0.001 0.003 0.001 0.002 0.01] %S:Slope > and I have to calculate the coefficients Lambda(slope) and Gama(intercept) of a straight line by regression of my data on log-log graph. > formula: lnS=Gama-Lambda*lnL; > In cftool, axes are normal (not log-log). I also tried ployfit(x,y,n) in polyfit(log(L),log(S),1) way, but it didn't work and answer was NaN NaN. > what code should i use for fitting a straight line(linear fitting) and calculation of Lambda and Gama. > thaks in advance On Wed, 2 Dec 2009 09:00:17 +0000 (UTC), &...

Log Shipping Transaction Log Question
I am going through a security audit on our servers. We use log shipping for a standby database. One of the questions in the audit has me looking for answers. "Are the transaction logs that are being shipped to the standby database encrypted?" I am assuming no. However, I need to know definitively. I have not been able to find an answer in BOL or in Google. If the logs are not encrypted, is there an option where I could send them encrypted, if necessary? Thanks, Jennie They're not encrypted - there are a number of 3rd-party products available which can reconstruct SQL commands from reading transaction log files. I'm afraid I have no idea whether or not there is a simple (or even a complex!) way to encrypt/decrypt them, though. Hi If you are worried about encryption over the wire, then you need to do it at network packet level as all your other traffic is sniffable. SQL will not encrypt the files, and if you are using the built-in Log shipping, you can't do it. If you were to roll your own version of log shipping using scripts, you could use a 3rd party tool the encrypt it. Regards -------------------------------- Mike Epprecht, Microsoft SQL Server MVP Zurich, Switzerland IM: mike@epprecht.net MVP Program: http://www.microsoft.com/mvp Blog: http://www.msmvps.com/epprecht/ "Phil" <philip.yale@gmail.com> wrote in message news:1113571698.710644.115450@z14g2000cwz.googlegroups.com... > They're not encrypted - there...

How can I access logs logged by logMsg()
Thanks! Messages logged with logMsg will normally just go to the console. If you want then to got to a particular location, use logFdSet to direct them to a particular file. See the logLib doc for details. lc Messages logged with logMsg will normally just go to the console. If you want then to got to a particular location, use logFdSet to direct them to a particular file. See the logLib doc for details. lc ...

Can listcontourplot have log-log axes?
Hi All, I have a data set which is in matrix form. We know the data are easily shown by Listcontourplot directly. But is it possible to make a listcontourplot with axes log & log from the same data set? If the answer is yes, how can I do the task? Thanks. I'm really bothered by that. Feng-Yin Chang, Institute of Physics,NCTU,Taiwan Feng-Yin Chang wrote: > Hi All, > I have a data set which is in matrix form. We know the data are easily > shown by Listcontourplot directly. But is it possible to make a > listcontourplot with axes log &...

wtmp,store.log and access.log
In one of my AIX 5.1 server /var is getting full in every three days...these files are getting full wtmp,store.log and access.log I added 1GB but of no use...they get filled up very quickly...can someone please tell me why this problem comes and its solution... Thanks in Advance... On Apr 2, 9:27 am, "vaitheeshka...@gmail.com" <vaitheeshka...@gmail.com> wrote: > In one of my AIX 5.1 server /var is getting full in every three > days...these files are getting full wtmp,store.log and access.log > > I added 1GB but of no use...they get filled up very quickly...can > someone please tell me why this problem comes and its solution... > > Thanks in Advance... hello just reconfigure rotation of Your logs. i.e find Your logrotate.conf file and add entry like below /var/log/wtmp { missingok daily create 0664 root utmp rotate 1 } /var/log/btmp { missingok daily create 0664 root utmp rotate 1 } in any case of problems just ask me You can find more in man logrotate regards marcin On Apr 2, 3:27 am, "vaitheeshka...@gmail.com" <vaitheeshka...@gmail.com> wrote: > In one of my AIX 5.1 server /var is getting full in every three > days...these files are getting full wtmp,store.log and access.log > > I added 1GB but of no use...they get filled up very quickly...can > someone please tell me why this problem comes and its solution... > > Thanks in Advance... Not sure what i...

Web resources about - Log - comp.dsp

Log bucking - Wikipedia, the free encyclopedia
Bucking is the process of cutting a felled and delimbed tree into logs. This can be a complicated process because logs destined for plywood , ...

Do Swedes Really Log On To Facebook 6 Times A Day? [INFOGRAPHIC] - AllFacebook
Swedes log on to the site an average of 6.1 times a day, according to an infographic from Pingdom based on a study by the University of Gothenburg. ...

Forget to Log Out? Help is on the Way
... Facebook. Control isn’t just about deciding what you share and with whom you share it; it’s also about being able to keep your Facebook login ...

Using the Facebook Activity Log like a boss
If you have strict privacy settings on Facebook, chances are you know WHAT your Facebook Activity Log is. Especially if you have the option set ...

Log in to Twitter!
Log in to Twitter! Sign up To bring you Twitter, we and our partners use cookies on our and other websites. Cookies help personalize Twitter ...

Philip McRell - Log - Quora
ad astra. just my $.02 - what's yours?

Log PC activity in real time with Event Monitor Service
Security vendor NoVirusThanks has released Event Monitor Service (EMSvc), a Windows application which logs key system events in real time. The ...

Zeoli Show Log 03.03.16
Live from CPAC, Rich discussed Mitt Romney's speech about Donald Trump, Hillary Clinton's e-mails and the latest with Old Man Sal. He also discussed ...

Log Cabin Republicans target Hillary cuz no candidate on their side is worth a damn
From the annals of useless advocacy, the Log Cabin Republicans jumped into the 2016 race over the weekend with an ad ...

‘Outsiders’ Premiere Logs Record Ratings In L+3 For WGN America
The Tuesday premiere of WGN America’s new drama series Outsiders logged 3.9 million total viewers in Live+3, making it the most-watched episode ...

Resources last updated: 3/30/2016 12:54:46 AM