From: Michael R. <re...@eu...> - 2003-08-07 16:33:12
|
Hi, Luis.F.Correia schrieb: > Quick reply ;) By accident. Sitting in the office without my notebook doesn't make too=20 much sense :-( >>>in our system we do not have /prog/kcore, so lots of info=20 >>do not appear. >>The only client that uses /proc/kcore is "Ram" (forgot about=20 >>the token=20 >>now), it uses "sizeof(/proc/kcore)" because /proc/meminfo gives wrong=20 >>results here. > We do have /proc, but one of our security fixes, grsecurity, disables > access to /proc/kcore. Hmm... I do not "access" it. I just call 'stat("/proc/kcore", &buf)'. I=20 don't understand why this is disabled, I don't see any security reasons=20 here. > We will find a way to display the correct amount of system memory. Well, I've to change this thing anyway, because I recently noticed that=20 with "highmem" (or whatever this stuff is called) gives wrong results=20 with the sizeof(kcore) approach. Anybody has got a hint how to detect the "real" amount of memory built=20 into a PC? >>>>From the docs and the token list, i cannot find the=20 >>equivalent of 'uptime'. >>No. This is a good example for a plugin. have a look at the=20 >>"%x" tokens... There's another thread "Text overlay problem", looks like this guy=20 already has written (or stolen :-) such a plugin. >>my >>notebook was stolen during a flight from d=FCsseldorf to graz. Shit! > Very bad indeed, I hope you can sue the travel agency for that... No, I can't. Nobody can. It's explicitly stated in their=20 "Bef=F6rderungsbedingungen" (what's the english word?) that electronic=20 devices such as computers are not assured. And even if they would be,=20 not based on their value, but only on weight! Strange... >>>The daemon must know about the 'pid' file. can you add support? > Some changes must be made until we consider it production package. > The most important is the start-stop thing... Ok, I will implement this stuff really soon (at least I'll try to). Anybody with hints where one could steal^Hlook up good code for pid file=20 handling? What should happen if there are two instances of lcd4linux running? Two=20 pid files? bye, Michael --=20 netWorks Vox: +43 316 698260 Michael Reinelt Fax: +43 316 692343 Geisslergasse 4 GSM: +43 676 3079941 A-8045 Graz, Austria e-mail: re...@eu... |