Re: [fpc-pascal] Daemon question

2009-05-15 Thread Henry Vermaak
2009/5/14 Koenraad Lelong : > > My "big" logs are 1.6M per day, but they are about 5000 lines at the end > of the day. Wouldn't it be a waste to read the last line of such a big > file ? > My last remark was about sending a signal via php (it does support > sending signals) and then writing the des

Re: [fpc-pascal] Daemon question

2009-05-14 Thread Koenraad Lelong
Henry Vermaak schreef: > 2009/5/13 Koenraad Lelong : >> Hi, >> I wrote a daemon monitoring my solar powerstation. It works fine but I >> want to extend it. ... >> Now I'm writing this, I could write to a file after receiving a signal, >> and then reading this with php. >> Thinking about it, does ph

Re: [fpc-pascal] Daemon question

2009-05-14 Thread Henry Vermaak
2009/5/13 Koenraad Lelong : > Hi, > I wrote a daemon monitoring my solar powerstation. It works fine but I > want to extend it. > At the moment I log everything to file, and I put some data into rrdtool. > I would like to be able to ask the daemon some information, but I don't > know how to do this

Re: [fpc-pascal] Daemon question

2009-05-14 Thread Joost van der Sluis
Op woensdag 13-05-2009 om 22:28 uur [tijdzone +0200], schreef Koenraad Lelong: > Hi, > I wrote a daemon monitoring my solar powerstation. It works fine but I > want to extend it. > At the moment I log everything to file, and I put some data into rrdtool. > I would like to be able to ask the daemon

[fpc-pascal] Daemon question

2009-05-13 Thread Koenraad Lelong
Hi, I wrote a daemon monitoring my solar powerstation. It works fine but I want to extend it. At the moment I log everything to file, and I put some data into rrdtool. I would like to be able to ask the daemon some information, but I don't know how to do this. I made some signals : sigterm to termi