I’m currently writing (well, updating from time to time) a small start page for my NAS. Among free disk space, load etc. it shows if required services are running; for that I do have a INI style configuration file, with entries like:
caption=Dovecot IMAP Server
caption=iTunes Music Server
Well, as you can see, it’s quite useful to use the -v or –version of most Linux application to get their version number for display. Even worse, -v is some undocumented (well not in the list of displayed options) parameter for:
A Kurobox, but it’s actually quite a simple php script.
I was just sick to remember all the different standard links, and creating just a page with static links to installed php apps was not that much appealing to me, so I decided to make something automated showing useful information on the entry page 😉
Well, and as you can see, it would be nice to have some kind of version information for every monitored daemon on that page, and the easiest way usually is to just run the executable with a version parameter and grep the important part from the std out 😉