[xmonad] Server status script

Brandon Allbery allbery.b at gmail.com
Fri Sep 25 15:51:28 UTC 2015


On Fri, Sep 25, 2015 at 11:46 AM, Iñaki Malerba <inakimmalerba at gmail.com>
wrote:

> Im trying to write a script for my xmobar to show my server status. Its
> mainly a physical server and 2 virtual machines.
>
> I tried by sending ping and checking the response, but the xmobar freezes
> everytime its executed until it finishes the run.
>

xmobar expects commands that it runs to return quickly. You will need to
have a separate script that does the check and logs its result to a file,
then check the contents of the file from xmobar.

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/xmonad/attachments/20150925/07a6930e/attachment.html>


More information about the xmonad mailing list