<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 10">
<meta name=Originator content="Microsoft Word 10">
<link rel=File-List href="cid:filelist.xml@01C3A5DB.57062FF0">
<!--[if gte mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:DoNotRelyOnCSS/>
 </o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:SpellingState>Clean</w:SpellingState>
  <w:GrammarState>Clean</w:GrammarState>
  <w:DocumentKind>DocumentEmail</w:DocumentKind>
  <w:HyphenationZone>21</w:HyphenationZone>
  <w:EnvelopeVis/>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]-->
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-parent:"";
        margin:0cm;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;
        text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;
        text-underline:single;}
p
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        mso-style-noshow:yes;
        mso-ansi-font-size:10.0pt;
        mso-bidi-font-size:10.0pt;
        font-family:Arial;
        mso-ascii-font-family:Arial;
        mso-hansi-font-family:Arial;
        mso-bidi-font-family:Arial;
        color:navy;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;
        mso-header-margin:35.4pt;
        mso-footer-margin:35.4pt;
        mso-paper-source:0;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
 /* Style Definitions */ 
 table.MsoNormalTable
        {mso-style-name:"Table Normal";
        mso-tstyle-rowband-size:0;
        mso-tstyle-colband-size:0;
        mso-style-noshow:yes;
        mso-style-parent:"";
        mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
        mso-para-margin:0cm;
        mso-para-margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:10.0pt;
        font-family:"Times New Roman";}
</style>
<![endif]-->
</head>

<body lang=PT-BR link=blue vlink=purple style='tab-interval:35.4pt'>

<div class=Section1>

<p style='margin-left:35.4pt'><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'>Ola pessoal, <o:p></o:p></span></font></p>

<p style='margin-left:35.4pt'><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'>Cá estou novamente com minhas dúvidas, mas
antes de mais nada... Alceu obrigado pela indicação do guia de consulta rápida
sobre expressões regulares, comprei o cara e realmente está ajudando muito.<o:p></o:p></span></font></p>

<p style='margin-left:35.4pt'><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'>Agora vamos a minha dúvida...<o:p></o:p></span></font></p>

<p style='margin-left:35.4pt'><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'>Não sei se vocês tem trabalhado com Windows
e com a lib PerfLib, onde é possível retirar informações de performance do
Windows. Lendo a documentação eu vi que existe alguns &#8216;counters&#8217; do
tipo % Processor Time, é o resultado da diferença entre dois &#8216;sample&#8217;
capturado.<o:p></o:p></span></font></p>

<p style='margin-left:35.4pt'><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'>Bom, o perflib tem um script exemplo
mostrando como isto funciona (onde existe um delay de 5 segundos entre os dois &#8216;samples&#8217;),
não estou tento nenhum problema quanto a isto, a minha dúvida é com relação a
este delay. Por exemplo, se eu tiver que capturar a CPU de um servidor a cada 5
minutos o quê é melhor, rodar o script exemplo a cada 5 minutos ou alterar o
delay do script para 5 minutos, ao invéz dos 5 segundos.<o:p></o:p></span></font></p>

<p style='margin-left:35.4pt'><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'>Se alguém tiver alguma experiência em relação
a isto, eu agradeço !<o:p></o:p></span></font></p>

<p style='margin-left:35.4pt'><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'>Obrigado,<o:p></o:p></span></font></p>

<p style='margin-left:35.4pt'><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'>Solli<o:p></o:p></span></font></p>

</div>

</body>

</html>
<BR>

<P><FONT SIZE=2>---<BR>
Outgoing mail is certified Virus Free.<BR>
Checked by AVG anti-virus system (http://www.grisoft.com).<BR>
Version: 6.0.536 / Virus Database: 331 - Release Date: 3/11/2003<BR>
</FONT> </P>