8.2. Displaying pod information


Learn about how to display pod information.

Prerequisites

  • The container-tools meta-package is installed.
  • The pod has been created. For details, see section Creating pods.

Procedure

  • Display active processes running in a pod:

    • To display the running processes of containers in a pod, enter:

      $ podman pod top mypod
      USER   PID   PPID   %CPU    ELAPSED         TTY     TIME   COMMAND
      0      1     0      0.000   24.077433518s   ?       0s     /pause
      root   1     0      0.000   24.078146025s   pts/0   0s     /bin/bash
    • To display a live stream of resource usage stats for containers in one or more pods, enter:

      $ podman pod stats -a --no-stream
      ID             NAME              CPU %   MEM USAGE / LIMIT   MEM %   NET IO    BLOCK IO   PIDS
      a9f807ffaacd   frosty_hodgkin    --      3.092MB / 16.7GB    0.02%   -- / --   -- / --    2
      3b33001239ee   sleepy_stallman   --      -- / --             --      -- / --   -- / --    --
    • To display information describing the pod, enter:

      $ podman pod inspect --format json <POD_ID_1> <POD_ID_2> <POD_ID_3>
      [
        {
            "CgroupParent": "/libpod_parent",
            "Containers": [
              {
                "ID": "...",
                "State": "..."
              }
            ],
            "Created": "2025-10-16T12:00:00.000000000Z",
            "ID": "673f326c9f69b0d24c0847f97a544c79532817d2a713917812f865f1e8e52a8a",
            "InfraContainerID": "...",
            "Labels": {},
            "Name": "web_pod",
            "State": "Running",
          },
          {
            "CgroupParent": "/libpod_parent",
            "Containers": [
              {
                "ID": "...",
                "State": "..."
              }
            ],
            "Created": "2025-10-16T12:01:00.000000000Z",
            "ID": "a1b2c3d4e5f678901234567890abcdef1234567890abcdef1234567890abcdef",
            "InfraContainerID": "...",
            "Labels": {},
            "Name": "db_pod",
            "State": "Running",
          }
      ]

      You can see information about containers in the pod.

注記

Beginning with Podman v5.0.0, pod output is always a JSON array, regardless of the number of pods.

For more information, see the podman-pod-top(1), podman-pod-stats(1), and podman-pod-inspect(1) man pages on your system.

Red Hat logoGithubredditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

Red Hat ドキュメントについて

Red Hat をお使いのお客様が、信頼できるコンテンツが含まれている製品やサービスを活用することで、イノベーションを行い、目標を達成できるようにします。 最新の更新を見る.

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

Theme

© 2026 Red Hat
トップに戻る