Commit Graph
193 Commits
Author SHA1 Message Date
mmdolze bda3765110 Cast pointer correctly 2009-05-14 06:18:55 +00:00
mmdolze a5b2314405 Remove incorrect or inconsistenly used cvs keywords 2009-05-08 17:14:45 +00:00
mmdolze 3a9f113b18 Update to correctly retrive CPU statistics on 2.6 kernels 2009-04-20 19:31:34 +00:00
mmdolze 54151d50e1 Use kvm_getpcpu to access per-CPU usage data available since FreeBSD 7.1 2009-03-22 09:03:55 +00:00
marschap 02d2bca304 rename struct mode to _screen_mode resp. ScreenMode to keep Doxygen happy 2008-12-21 17:24:48 +00:00
marschap d65beb8ab6 add lcdident.pl client by Ethan Dicks 2008-12-06 16:59:43 +00:00
marschap 83337fea15 avoid writing to undefined widgets, fix up/down arrow logic, expand tabs 2008-11-23 16:25:36 +00:00
mmdolze e8ffb14d77 Exclude devfs from list of supported file systems.
Patch submitted by A. de Bruet.
2008-11-01 06:57:36 +00:00
marschap 58c93a6bb5 avoid gcc warning & potential failure: make sure to stay inside array bounds 2008-10-08 19:26:07 +00:00
marschap a66c4d3ba6 get rid of unnecessary and deprecated #include <kvm.h> (Eric Pooch) 2008-10-08 19:03:07 +00:00
marschap e0f06fe5cd unbreak compilation of machine_Darwin.c in the lcdproc client
on OS X 1.5 and higher (Topher Fangio)
2008-09-15 16:38:10 +00:00
marschap c0f4a7008c use termination function on SIGPIPE (write to closed socket) too 2008-05-02 09:58:58 +00:00
marschap bdd5fd780a explicitely note & check whether a pidfile was written 2008-02-15 07:41:09 +00:00
marschap c68e1aca72 add PID file handling to clients (including signal handling to remove the files) 2008-01-06 17:03:51 +00:00
marschap b1ddc49221 lcdexec: parameter support using widgets enabled (currently only marginally
documented in lcdexec.conf)
2007-10-13 15:14:26 +00:00
marschap 898e21be25 lcdexec: Worked around parameter issue by automatically adding an Action entry
as last parameter menu entry.
2007-10-11 19:29:34 +00:00
marschap 6ecb4854b4 lcdexec: parameter support using widgets; hidden behind compile time option 2007-10-11 08:17:59 +00:00
marschap 6a6b44778c doxygenate a little more 2007-10-04 16:30:19 +00:00
marschap 5b55abd4f8 a little bit of Doxygen ... 2007-10-04 13:51:53 +00:00
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 41631e345f display info screen upon exit of a command invoked by lcdexec 2007-04-15 16:51:17 +00:00
marschap 28c7487ec7 add handler for SIG_CHLD 2007-04-14 19:21:36 +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 dbecc44205 explicitely declare void function args and static functions 2007-04-11 11:54:55 +00:00
marschap 23f9b667f7 explicitely declare void function argg and static functions 2007-04-11 11:48:01 +00:00
marschap 25c18aa3df explicitely declare void function args 2007-04-11 11:07:22 +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