Recently in Perl Category
Loadbars v0.3.0 just has been released. Whats new? Not much but good things:
Mon Dec 26 14:46:25 CET 2011
* Releases v0.3.0
* Peak CPU load is not displayed by default anymore. User 'p' command or
the --togglepeak 1 startup option.
* Peak CPU load is now also displayd in text format (marked as pk)
* New option --cluster which brings rudimentary ClusterSSH config file
support. E.g. './loadbars --cluster server' reads cluster server from
the /etc/clusters file.
Hiermit release ich Version v1.2.1 des PerlDaemons. Seit v1.2 hat sich nicht wirklich viel getan ausser ein paar Typos und Dokumentationsverbesserungen. Zudem ist das Projekt nun auch nach Git umgezogen.- Automatic daemonizing
- Logging and logrotate support (SIGHUP)
- Clean shutdown support (SIGTERM)
- Pidfile support (incl. check on startup)
- Easy to configure
- Easy to extend
Sa 6. Aug 22:04:15 CEST 2011 * Released v0.2.0 (new major version) * No interactive CLI shell anymore but instead hotkeys for the SDL interface (press h and see). * Bugfixes (E.g. Loadbars does not hang anymore after typing commands) * Major code refactoring
Loadbars is a small Perl script which can be used to observe CPU loads of several remote servers at once in real time. It connects per SSH (using SSH public/private key auth) to several servers at once and vizualizes all server CPUs (summarized or each core separate) right next each other. Loadbars IS NOT the tool for collecting CPU loads and drawing graphs (per hour, day, week, month) for later analysis. There are enough other tools which can accomplish this (e.g. SNMP / RRDtool). However, those tools need some minutes until the first graphs are drawn. So Loadbars can be used to observe the current real time state in real time without waiting a few minutes first. Loadbars does not remember / historicize any load informations. Its just showing the current CPU usages like top or vmstat does.
Mo 13. Jun 11:40:49 CEST 2011
* Added documentation (README file)
* Added './control keys' which shows all the available properties
Mo 6. Jun 09:03:57 CEST 2011
* Added './control foreground' startup option
* Added correct time carrying
* Renamed TODO into WHISHLIST
Do 2. Jun 11:09:25 CEST 2011
* Added module load error handling
Mo 30. Mai 21:29:20 CEST 2011
* Implemented Time::HiRes job scheduling
* Added passing of startup options. E.g.
./control start daemon.daemonize=no daemon.loopinterval=10
starts perldaemon in foreground w/ a loopinterval of 10 seconds.
It's possible to overwrite all defaults specified in perldaemon.conf
Di 24. Mai 08:46:09 CEST 2011
* Renamed modules config options
And in code it looks like this. What's PerlDaemon? PerlDaemon is a minimal linux/unix daemon programmed in Perl supporting logrotating, starting, stopping and a minimal configuration file. It can be extended to fit any task.
