-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi there,
I just coded and uploaded an 'uptime' plugin for NextGeneration aka
0.10. If you're using the anonymous CVS, you'll have to wait for about
24 hours until SourceForge got in sync.
short info:
uptime() : returns (first) value from /proc/uptime as a number
~ e.g. 1234.56
uptime ('format') returns a string wich can be formatted similar to
strftime():
%s : returns seconds (all of'em)
%S : returns secons from 00 to 59
%m : minutes (full)
%M : minutes (from 00 to 59)
%h : hours (full)
%H : hours (00 to 24)
%d : days (full)
anobody interested in weeks, months, years, ... ?
all other chars will be printed as they are.
see lcd4linux.conf.sample for an example.
(I hope the documentation guys are listening :-)
bye, Michael
- --
Michael Reinelt Tel: +43 676 3079941
Geisslergasse 4 Fax: +43 316 692343
A-8045 Graz, Austria e-mail: re...@eu...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org
iD8DBQFAr6HsiebFT98TulARAl3bAJ0aCKZ41kDabjtuLSgN9GKcd9PJuQCePNBv
yogGRUjGwrQhmzaejkxeoUo=
=8bCl
-----END PGP SIGNATURE-----
|