<div dir="ltr"><div>Hi folks,</div><div><br></div><div>I am looking for a good way of checking if a resource is in &quot;starting&quot; state.</div><div>The thing is - I need to issue a command and I don&#39;t want to issue that command when this particular resource is starting. This resource start can take up to a few min. </div><div>As a note, I am OK with issuing that command if a resource is stopped (before it starts).</div><div><br></div><div>The best I can think of, is to check for an ongoing state transition of a resource in a loop with &quot;crm_simulate -Ls&quot; command.</div><div>But with this approach I need to put the command into a loop, cut &quot;Transition Summary&quot; part, and then grep for the needed resource.</div><div>And even that I have a question if this way is reliable?</div><div><br></div><div>Maybe be there is a better way of achieving the same result.  </div><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr">Thank you,<div>Kostia</div></div></div></div></div></div>
</div>