Commit Graph
141 Commits
Author SHA1 Message Date
marschap c7358581de fixes for the lcpdroc client iface screen on *BSD (M.Dolze):
1. If an interface priviously been UP goes DOWN, the time when the
   interface changed would always show the current time.
2. If an active interface is removed from the system, the server would
   still show the old screens and the user will not get any notice.
3. The "first run" detection would not work if more than one interface
   is monitored. Now the "last_online" time is used, because this is an
   "per interface" value initialized to 0 at startup.
4. The TRUE/FALSE macros are used for the return values as in the other
   functions.
2007-09-20 09:06:51 +00:00
marschap 04dbba2c7a Autoconf fixes for Net/FreeBSD (M. Dolze) 2007-09-08 13:26:16 +00:00
marschap 150b089d08 enable building lcdproc client on FreeBSD AMD64 platform (M. Dolze) 2007-08-26 21:07:42 +00:00
marschap 77209a6f3f harmonize report & debug() messages: no '\n' or '.' at end 2007-06-17 10:39:49 +00:00
marschap 0e6b1253a9 a few changes to better support gcc 2.95 (paul_c) 2007-05-28 17:55:59 +00:00
marschap 86c4149642 a little bit of Doxygen here and there 2007-04-14 08:23:48 +00:00
marschap a44091f6fe remove compile-time option to get configuration from LDAP 2007-04-14 07:54:27 +00:00
marschap a18bd2dba1 fix typos 2007-04-11 12:40:52 +00:00
marschap 9d76abd93a explicitely declare void function args and static functions 2007-04-11 12:30:15 +00:00
marschap e7f504810d explicitely declare that functions take no parameters 2007-04-07 17:37:54 +00:00
marschap aecb207a23 Doxygen-ize 2007-04-07 17:36:22 +00:00
marschap 30febbcbda add title line when there is enough space; pass max. no. of CPUs to machine_get_smpload() 2007-04-07 14:55:25 +00:00
marschap d50a2139f9 share definition of MAX_CPUS; fix comment typo 2007-04-07 14:51:11 +00:00
marschap d682e0955a get rid of magic numbers - get bound from parameter passed 2007-04-07 14:46:04 +00:00
marschap 444eb2b18c updated bounds checks in machine_get_smpload() 2007-04-07 14:42:59 +00:00
marschap c68dfcd367 - remove dubious optimization in machine_get_load()
- updated bounds checks in machine_get_smpload()
2007-04-07 14:31:37 +00:00
marschap 3aca4eb139 display fixes (Eric Pooch) 2007-03-04 16:31:04 +00:00
marschap 875574fd32 clean-up (Eric Pooch) 2007-02-04 20:45:00 +00:00
marschap ed56ca9088 replace obsolete index() by strchr() (Guillaume LECERF) 2006-12-31 16:17:36 +00:00
marschap e765e19a0e use long for meminfo_type elements 2006-12-10 20:09:12 +00:00
marschap 00b0136ec2 force double cast earlier 2006-12-10 18:59:48 +00:00
marschap 144c0e3c8d use the correct values from /proc/stat's cpu lines 2006-12-10 17:46:07 +00:00
marschap c7627e0cfb add explanation 2006-12-10 17:08:35 +00:00
marschap 70aaf5a194 fix comments 2006-12-10 17:08:22 +00:00
marschap 14087edeb9 use symbolic names for getloadavg() parameters, stricter error checks;
enable getloadavg() for Linux, a few little cleanups for Linux.
2006-12-10 16:14:32 +00:00
marschap f0bcfdb1c4 doxygenate 2006-12-10 14:06:20 +00:00
marschap 9f0fa60e12 more doxygen 2006-12-10 09:44:39 +00:00
marschap 91ddb45a25 support Iface and ProcSize screens on Darwin (Eric Pooch) 2006-12-03 10:45:51 +00:00
mmdolze 3b03a1b569 In multiline mode the interface alias was incorrectly set.
Found by Eric Pooch.
2006-12-03 07:49:37 +00:00
marschap 53317eac47 allow compiling with LDFLAG "--as-needed" (Robert Buchholz) 2006-11-25 10:54:01 +00:00
marschap 9b7fa552a3 default to foreground=FALSE even without config file 2006-11-19 14:33:01 +00:00
mmdolze b02fd0c375 Fix typo. 2006-11-01 11:38:12 +00:00
marschap 3ef9ad1c4e update CREDITS; make lcdproc's About screen show contributors 2006-10-30 20:20:08 +00:00
marschap c700056468 cleanups 2006-10-29 18:10:31 +00:00
marschap 8777e016ca do not overflow type element 2006-10-29 17:11:00 +00:00
marschap 8fb54a71ff small refactoring of lcdproc client: get rid of global variables tmp & buffer 2006-10-15 20:48:13 +00:00
marschap e06eebf7e5 fix switching on/off the Load screen using the menu 2006-10-15 15:57:58 +00:00
marschap 6cef4430b4 cleanup CPU-SMP screen 2006-10-05 17:23:57 +00:00
marschap 3a57ecfda0 harmonize help messages 2006-09-30 20:32:14 +00:00
marschap f10895d04d FSF address change 2006-09-30 18:18:22 +00:00
marschap a65d5645f9 remove unused cruft 2006-09-19 08:08:49 +00:00
marschap 8f775c3249 "screens" instead of "modes"; clarify meaning of screen D 2006-09-18 18:47:23 +00:00
marschap da0b6997c4 fix typo 2006-09-18 14:48:32 +00:00
marschap cc2c84a7b8 declare constant function parameters const (as well as constant function return values) 2006-09-12 16:23:24 +00:00
marschap f34c246200 make lcdproc locale aware: make times & dates locale-dependant and configurable 2006-09-12 14:37:06 +00:00
marschap 08c77e0bf7 make LowLoad / HighLoad lcdproc.conf parameters instead compile time options 2006-09-11 17:33:05 +00:00
marschap b8400a9f66 fix previous commit 2006-08-20 20:46:52 +00:00
marschap 7eb5ecbce5 add driver EyeboxOne for the LCD display on the EyeboxOne (Cedric TESSIER aka NeCetiC) 2006-08-20 17:21:13 +00:00
marschap ad8de456bb make bigclokc work with <20 char LCDs, 1st preparation for different time formats 2006-06-20 18:31:54 +00:00
marschap 2ff1b58edb re-factor iface screen code (M. Dolze) 2006-05-20 15:46:30 +00:00