<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/">
<channel>
<title>VoiceBot RSS: SCRIPT: Check processor load</title>
<atom:link href="https://www.voicebot.net/Discussions/RSS/?TopicID=44809155-5fec-4480-9d46-53f8aec32d49" rel="self" type="application/rss+xml" />
<link>https://www.voicebot.net/Discussions/RSS/?TopicID=44809155-5fec-4480-9d46-53f8aec32d49</link>
<description>VoiceBot RSS: SCRIPT: Check processor load</description>
<lastBuildDate>Sat, 20 Jun 2026 15:38:27 GMT</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://www.voicebot.net/Discussions/RSS/?TopicID=44809155-5fec-4480-9d46-53f8aec32d49</generator>
<item>
<title>RE: SCRIPT: Check processor load</title>
<link>https://www.voicebot.net/Discussions/View/script-check-processor-load/?ID=44809155-5fec-4480-9d46-53f8aec32d49#2</link>
<pubDate>Tue, 28 Feb 2017 21:18:09 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.voicebot.net/Discussions/View/script-check-processor-load/?ID=44809155-5fec-4480-9d46-53f8aec32d49#2</guid>
<category>VoiceBot</category>
<description><![CDATA[Thanks for sending this over! We'll add it to the repository]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Thanks for sending this over! We'll add it to the repository <img src="https://www.voicebot.net/MediaCommon/SVGs/FontAwesome/face-smile.light.svg" alt=":)" style="box-sizing:border-box;position:relative;overflow:hidden;vertical-align:middle !important;width:16px;height:16px;" HelpButtonData=":)" />
</div>
]]></content:encoded>
</item>
<item>
<title>SCRIPT: Check processor load</title>
<link>https://www.voicebot.net/Discussions/View/script-check-processor-load/?ID=44809155-5fec-4480-9d46-53f8aec32d49</link>
<pubDate>Sun, 26 Feb 2017 09:54:22 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.voicebot.net/Discussions/View/script-check-processor-load/?ID=44809155-5fec-4480-9d46-53f8aec32d49</guid>
<category>VoiceBot</category>
<description><![CDATA[Code
Copy
Select All
// Set at beginning:
using System.Diagnostics;
using System.Collections.Generic;
// --------------
Process p = new Process();
p.StartInfo.UseShellExecute = false;
p.StartInfo.CreateNoWindow = true;
p.StartInfo.RedirectStandardOutput = true;
p.StartInfo.WindowStyle ...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
<div class="col-md-12 BoxWrap"><div class="Box table-responsive"><a name="code" style="width:0; height:0;"></a><h2 class="TableTitle" style="border:0"><div class="TableTitleText">Code</div><div class="TitleButtons"><div class="TableTitleButton"><a href="#" onclick="return false;" data-clipboard-target="#code019ee5aeeeed75d98d166a745586382f" class="ClipboardCopyControl"><img src="https://www.voicebot.net/MediaCommon/SVGs/FontAwesome/clone.blue.svg" style="box-sizing:border-box;position:relative;overflow:hidden;width:auto;max-width:16px;height:16px;" /><span class="Text">Copy</span></a></div><div class="TableTitleButton"><a href="#" onclick="bfs.util.codeEditorSelectAll('code019ee5aeeeed75d98d166a745586382fJs'); return false;"><img src="https://www.voicebot.net/MediaCommon/SVGs/FontAwesome/square-check.blue.svg" style="box-sizing:border-box;position:relative;overflow:hidden;width:auto;max-width:16px;height:16px;" /><span class="Text">Select All</span></a></div></div></h2><div class="TableTitleContent table-responsive"><div class="AceEditorWrapper" style="border-top:solid 1px var(--color-default-border);padding:0"><pre id="code019ee5aeeeed75d98d166a745586382fJs" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">// Set at beginning:
using System.Diagnostics;
using System.Collections.Generic;

// --------------

Process p = new Process();
p.StartInfo.UseShellExecute = false;
p.StartInfo.CreateNoWindow = true;
p.StartInfo.RedirectStandardOutput = true;
p.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
p.StartInfo.FileName = "wmic";
p.StartInfo.Arguments = "cpu get loadpercentage";

string salida = "";
string[] separator = new string[] {"\n"};
string[] output;

p.Start();
salida = p.StandardOutput.ReadToEnd();
p.WaitForExit();

output = salida.Split(separator, StringSplitOptions.None);
string carga = output[1].Trim(); // LoadPercentage -&gt; numero

BFS.Speech.TextToSpeech(carga + " percent");</pre><textarea id="code019ee5aeeeed75d98d166a745586382f" name="code019ee5aeeeed75d98d166a745586382f" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div>
</div>
]]></content:encoded>
</item>
</channel>
</rss>