<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mtiit</author_name>
  <author_url>https://blog.hatena.ne.jp/mtiit/</author_url>
  <blog_title>(O+P)ut</blog_title>
  <blog_url>https://www.mtioutput.com/</blog_url>
  <categories>
    <anon>UNIX</anon>
    <anon>UNIX-Linux</anon>
  </categories>
  <description>はじめに 以下のようにプロセスの起動状況を調査するpsコマンドですが、環境によっては使用できなかったりコマンドが削除されている場合があります。 $ ps xx PID PPID PGID WINPID TTY UID STIME COMMAND ....本記事ではpsを使用せずに上がっているプロセスを調査する流れについて記載します。 /procディレクトリを利用する 結論から言えばルートディレクトリ直下にあるprocディレクトリ配下を確認します。例えばpsコマンドが入っている環境におけるpsコマンドと/procディレクトリ配下の一覧の取得結果を並べます。 PID TTY STAT TIME C…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.mtioutput.com%2Fentry%2Fproc-dir-withoutps&quot; title=&quot;【UNIX】psコマンドが使用できない場合にプロセス情報を調べる方法 - (O+P)ut&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>https://cdn-ak.f.st-hatena.com/images/fotolife/m/mtiit/20190708/20190708105146.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-01-16 00:00:00</published>
  <title>【UNIX】psコマンドが使用できない場合にプロセス情報を調べる方法</title>
  <type>rich</type>
  <url>https://www.mtioutput.com/entry/proc-dir-withoutps</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
