<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>dharry</author_name>
  <author_url>https://blog.hatena.ne.jp/dharry/</author_url>
  <blog_title>harry’s memorandum</blog_title>
  <blog_url>https://dharry.hatenablog.com/</blog_url>
  <categories>
    <anon>ruby</anon>
  </categories>
  <description>前回のように特権でプロセスの優先度を変更するんじゃなくて、普通に優先度を変更する場合、rubyだとすごく簡単。 require 'win32ole' #LOW, NORMAL,HIGH, REALTIME, ABOVENORMAL,BELOW_NORMAL BELOW_NORMAL = 16384 strComputer = '.' def usage puts &quot;#{__FILE__} [pid]&quot;; exit end usage unless ARGV.size == 1 pid = ARGV[0] locator = WIN32OLE.connect(&quot;winmgmts://#{strC…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdharry.hatenablog.com%2Fentry%2F20090527%2F1243430015&quot; title=&quot; rubyでプロセスの優先度を普通に変更 - harry’s memorandum&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2009-05-27 22:13:35</published>
  <title> rubyでプロセスの優先度を普通に変更</title>
  <type>rich</type>
  <url>https://dharry.hatenablog.com/entry/20090527/1243430015</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
