<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shigemk2</author_name>
  <author_url>https://blog.hatena.ne.jp/shigemk2/</author_url>
  <blog_title>by shigemk2</blog_title>
  <blog_url>https://www.shigemk2.com/</blog_url>
  <categories>
    <anon>Linux</anon>
  </categories>
  <description>caffeinate -diu -t 数字 を動かしたまま、別タブで残り時間を確認 なども可能 pmset -g assertions | awk ' /^[[:space:]]*pid / { target = /\(caffeinate\)/ &amp;&amp; /PreventUserIdleSystemSleep/ pid = $2 sub(/\(.*/, &quot;&quot;, pid) } target &amp;&amp; /Timeout will fire in/ { printf &quot;PID %s: 残り %d分%02d秒\n&quot;, pid, int($5 / 60), $5 % 60 }'</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.shigemk2.com%2Fentry%2F2026%2F11%2F22%2F173247&quot; title=&quot;pmset -g assertions - by shigemk2&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>2026-11-22 17:32:47</published>
  <title>pmset -g assertions</title>
  <type>rich</type>
  <url>https://www.shigemk2.com/entry/2026/11/22/173247</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
