Hello,
I'm sending you this because you (at one time) expressed interest in the
pm2erglib project (http://pm2erglib.sourceforge.net/)
I'm happy to announce that finally some usable stuff has been produced. pm2d
is a framework for communicating to pm2+ units, and translating commands and
replies to the HTTP protocol. You can pick up the documentation at
http://pm2erglib.sourceforge.net/pm2d.pdf
Note that some of the documentation (to be exact, the introduction)
describes functionality I will put in shortly, but not everything is there
yet.
Currently, the implemented set of commands is rather limited, only the basic
set of commands in my original documentation on the site has been
implemented. As some of you may have already heard, in the meantime a lot
more commands have been discovered (mainly those relating to setting up the
unit). I will add these shortly, both to the documentation and to pm2d.
If you want to take a look at the code in the meantime, it's on the CVS
tree. As I'm working on it regularly, I don't feel the time has arrived to
package it yet. Still, you can import it from the CVS, compile, and have a
look.
Compile as follows: gcc -o pm2d -lpthreads p*.c
I'm developing on Linux 2.4.16. I'm sure it will work on all POSIX compliant
systems with a working pthreads implementation (though some minor hacks
might be necessary). If anyone has experience with putting together
configure scripts, I'd like some help with that as I haven't done this
before. Anyway pm2d should run fine on Linux (I think the glibc might be
more important than the kernel version, mine is glibc-2.2.2-38)
Anyway, I'd like it if some of you would have a look and test where I am now
, and tell me if it works on your setup (and also tell me if you like the
approach I took). More versions and more functionality is soon to follow.
Hope to hear from you,
Sytse
|