On 21/02/12 03:41, nozawat wrote:
Hi
I examine the item which I can watch in Matahari now.
I found the following documents on this occasion.
<
http://matahariproject.org/manual/Resources.html>
<
https://github.com/matahari/matahari/wiki/API>
Therefore there is a question.
For example, I acquire the result of the sar command and can monitor it?
The resources API is for monitoring the *state* of a daemon (is it
running? stopped?), not for monitoring the output.
You could use Matahari (instead of cron) to run sar, provided that you
have either a systemd service file, LSB init.d script or OCF Resource
Agent for it.
regards,
Zane.