<div dir="ltr"><div><div><div>thank u danis for tip<br>&quot;cat /proc/loadavg |awk &#39;{print $1}&#39; &quot;<br></div>tip is working great<br></div>thank you very much giovani<br></div>now i will work on your sugestions to make better<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 20, 2015 at 2:05 PM, Денис <span dir="ltr">&lt;<a href="mailto:denis@ringme.ru" target="_blank">denis@ringme.ru</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">or more simple<br>
cat /proc/loadavg |awk &#39;{print $1}&#39;<br>
<span class="im HOEnZb"><br>
On 20.04.2015 09:40, Shabbir abbasi wrote:<br>
</span><span class="im HOEnZb">&gt; $cpuload = `uptime |awk -F &#39;load average:&#39; &#39; {print \$2}&#39;| awk -F &#39;[<br>
&gt; ]&#39;  &#39; {print \$2}&#39; | awk &#39;{gsub(&quot;,&quot;, &quot;&quot;);print \$1}&#39; `;<br>
<br>
<br>
</span><div class="HOEnZb"><div class="h5">_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br></div>