Hi I have a big problem in measuring the time of thread's running time.I want to log some times in a file so I defined the pointer of this filein globals_structuretypes.h and defined a mutex for it in ntop Globalthen I added a line createMutex in initialize.c in initmutex and then before I usethe
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
are you sure you call accessMutex after createMutex?
Luca
pardis H wrote:
Hi
I have a big problem in measuring the time of thread's running time.
I want to log some times in a file so I defined the pointer of this file
in
hi thanks for your attention I did exactly as follows: globals_structtypes.h: FILE * f; struct ntopGlobals{...PthreadMutex fmutex;..} initialize.cvoid initMutex{createMutex(myGlobals.fmutex);} pbuf.cvoid queuePacket{
hi thanks for your attention I did exactly as follows: globals_structtypes.h: FILE * f; struct ntopGlobals{...PthreadMutex fmutex;..} initialize.cvoid initMutex{createMutex(myGlobals.fmutex);} pbuf.cvoid queuePacket{
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Again: are you sure you call accessMutex after createMutex?
Luca
pardis H wrote:
hi
thanks for your attention
I did exactly as follows:
globals_structtypes.h:
FILE * f;
struct ntopGlobals
{
.
..
PthreadMutex fmutex;
.
Hiand thanks for your attentionI think there is a misunderstanding running over here. and I think I have to explainwell first, sending my mail twice was a mistake because I could not take an Ack of my mail.I didn't ignore about what luca's said I just thought that he couldn't understatnd mymeaning
Are there startup switches required to access the following menu item?
IP - Local - Ports Used
Thanks folks!
___
Ntop mailing list
Ntop@unipi.it
http://listgateway.unipi.it/mailman/listinfo/ntop
If something is disabled because of startup settings you get that message
explicitly (Well, most of the time - if there are some that we've missed,
let us know - the intent is to tell you).
Similarly, if ntop hasn't seen any info, you should also get warned...
-Burton
-Original
Any ideas what would be disabled to cause this?
All I get now is a page that states No data to display yet. My
ntop server has been running for over 200 days, and I am collecting
loads of other data.
[EMAIL PROTECTED] 1/7/2006 4:26 PM
If something is disabled because of startup settings you
Regarding 1:
requestedURL =
/plugins/rrdPlugin?action\000graphSummary\000graphId\0004\000key\000interfaces/bge0/\000start\000now-12h\000end\000now,
'\000' repeats 420 times
(gdb) frame 5
#5 0x280a6fab in handleHTTPrequest (from={hostFamily = 28, addr =
{_hostIp4Address = {s_addr = 0},
Best bet is always to trace into the code. Start with the page name, which
leads to a constant in globals-defines.h. That constant will be referenced
in html.c as part of the page processing fanout, which usually takes you to
the reporting routine. Then you'll see what situation gives the no
Update of /export/home/ntop/ntop/docs
In directory unknown:/tmp/cvs-serv18334/docs
Modified Files:
FAQ
Log Message:
___
Ntop-dev mailing list
Ntop-dev@unipi.it
http://listgateway.unipi.it/mailman/listinfo/ntop-dev
12 matches
Mail list logo