← Back to team overview

screenlets-dev team mailing list archive

[Bug 734469] Re: output applet hangs when commands take longer to execute than update interval

 

Found a solution to circumvent this problem and now my monitor script
reads:

#!/bin/sh
system=`since /var/log/*.log | sed '/nothing new/ d' | sed '/message repeated/ d' | sed '/==>/ d' `
test "$system" != "" && echo $system >> /home/user/.all.log
tail -n 10 /home/user/.all.log
test $(stat -c "%s" /home/user/.all.log) -gt 1000000 && echo "Log file exceeded maximum size" > /home/user/.all.log

Anyhow, this is clearly not the desired behavior for the screenlet.

-- 
You received this bug notification because you are a member of
Screenlets Dev Team, which is subscribed to Screenlets.
https://bugs.launchpad.net/bugs/734469

Title:
  output applet hangs when commands take longer to execute than update
  interval



References