Re: Way to collect "current" CPU utilization for all servers?

Venkat Saranathan <venkat.saranathan-9LkaxTQlAnxWk0Htik3J/[email protected]> Mon, 11 Nov 2013 16:09:12 -0600
Newsgroups gmane.comp.sysutils.tivoli.general
Message-ID <CAM9ZqOrLXS0W1H-5uUdFEzdpAzTtHuh43nZA5Z4K2h3PeANfDw__7016.70243074677$1384207835$gmane$org@mail.gmail.com>
--===============0721800714==
Content-Type: multipart/alternative; boundary=047d7b6dc6ee6850b504eaedfb5b

--047d7b6dc6ee6850b504eaedfb5b
Content-Type: text/plain; charset=ISO-8859-1

This can be done using Gbscmd executeSql method at RTEMS level by agent
type.  For example, you should be able to collect CPU Utilization for all
Windows systems under RTEMS1 using the following SQL.

perl gbscmd executesql --auth itm621.auth --sql "SELECT
WTSYSTEM.ORIGINNODE, WTSYSTEM.PCTTLPCSRT FROM KNT.WTSYSTEM AT( 'RTEMS1' )
WHERE  SYSTEM.PARMA('NODELIST','*NT_SYSTEM',10) AND
SYSTEM.PARMA('TIMEOUT','300',3)" --table O4SRV.UTCTIME

You'd have to loop through your RTEMS list to get the output for all
Windows systems in the environment.   Similarly the query can be tweaked
for Linux and Unix agents.

Hope this helps,




with warm regards,
Venkat Saranathan
Gulf Breeze Software

*Gulf Breeze Calculus: We differentiate our work in Tivoli Integration!*


On Fri, Nov 8, 2013 at 10:36 AM, David Distel <[email protected]> wrote:

> We currently have ITM OS agents on about 2800 systems. These are Windows,
> Linux and Solaris. We are still using ITM version 6.0 , and the ITM OS
> agent versions deployed are 6.2.0, 6.2.1 and 6.2.2 .
>
>  We do not have Historical data collection active for various reasons
> (long story). The ITM management system will still go out and gather
> statistical data from the agents every 15 minutes. We have Situations built
> that will generate events if CPU Thresholds are violated.
>
>  My question is :
>
> - Is there a way , through the command line perhaps, to get a snapshot of
> the current CPU utilization for all servers that are running ITM OS agents?
>
> Thanks.
>
> David
>
> _______________________________________________
> TME10 mailing list
> [email protected]
> Unsubscribe:[email protected]
>
>

--047d7b6dc6ee6850b504eaedfb5b
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">This can be done using Gbscmd executeSql method at RTEMS l=
evel by agent type. =A0For example, you should be able to collect CPU Utili=
zation for all Windows systems under RTEMS1 using the following SQL. =A0=A0=
<div>

<br></div>
<div><div>perl gbscmd executesql --auth itm621.auth --sql &quot;SELECT WTSY=
STEM.ORIGINNODE, WTSYSTEM.PCTTLPCSRT FROM KNT.WTSYSTEM AT( &#39;RTEMS1&#39;=
 ) WHERE =A0SYSTEM.PARMA(&#39;NODELIST&#39;,&#39;*NT_SYSTEM&#39;,10) AND SY=
STEM.PARMA(&#39;TIMEOUT&#39;,&#39;300&#39;,3)&quot; --table O4SRV.UTCTIME</=
div>
</div><div><br></div><div>You&#39;d have to loop through your RTEMS list to=
 get the output for all Windows systems in the environment. =A0 Similarly t=
he query can be tweaked for Linux and Unix agents.</div><div><br></div><div=
>
Hope this helps,</div><div>
<br></div><div><br></div><div><br></div></div><div class=3D"gmail_extra"><b=
r clear=3D"all"><div><div dir=3D"ltr"><div>with warm regards,<br>Venkat Sar=
anathan<br>Gulf Breeze Software</div><div>=A0</div><div><strong>Gulf Breeze
Calculus: We differentiate our work in Tivoli Integration!</strong></div>

</div></div>
<br><br><div class=3D"gmail_quote">On Fri, Nov 8, 2013 at 10:36 AM, David D=
istel <span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]" target=3D"=
_blank">[email protected]</a>&gt;</span> wrote:<br><blockquote class=3D"gma=
il_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-lef=
t:1ex">
<div dir=3D"ltr">We currently have ITM OS agents on about 2800 systems. The=
se are Windows, Linux and Solaris. We are still using ITM version 6.0 , and=
 the ITM OS agent versions deployed are 6.2.0, 6.2.1 and 6.2.2 .<div><br>
</div>
<div>=A0We do not have Historical data collection active for various reason=
s (long story). The ITM management system will still go out and gather stat=
istical data from the agents every 15 minutes. We have Situations built tha=
t will generate events if CPU Thresholds are violated.</div>

<div><br></div><div>=A0My question is :</div><div><br></div><div>- Is there=
 a way , through the command line perhaps, to get a snapshot of the current=
 CPU utilization for all servers that are running ITM OS agents?=A0</div><d=
iv>

<br></div><div>Thanks.</div><span class=3D"HOEnZb"><font color=3D"#888888">=
<div><br></div><div>David</div></font></span></div>
<br>_______________________________________________<br>
TME10 mailing list<br>
<a href=3D"mailto:[email protected]">[email protected]</a><br>
<a href=3D"mailto:Unsubscribe%[email protected]">Unsubscribe:T=
[email protected]</a><br>
<br></blockquote></div><br></div>

--047d7b6dc6ee6850b504eaedfb5b--


--===============0721800714==
Content-Type: text/plain; charset="iso-8859-1"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

_______________________________________________
TME10 mailing list
[email protected]
Unsubscribe:[email protected]

--===============0721800714==--