diff options
author | baude <bbaude@redhat.com> | 2019-03-17 08:40:22 -0500 |
---|---|---|
committer | baude <bbaude@redhat.com> | 2019-03-28 08:34:27 -0500 |
commit | 3423c5a8c9fe4853880959a67073c697402648eb (patch) | |
tree | ae45a4f797e0f845223913115583d8f72f5e1510 /docs/podman-ps.1.md | |
parent | 850326cc192444d1c5cfd8ba6e1015f653b41e73 (diff) | |
download | podman-3423c5a8c9fe4853880959a67073c697402648eb.tar.gz podman-3423c5a8c9fe4853880959a67073c697402648eb.tar.bz2 podman-3423c5a8c9fe4853880959a67073c697402648eb.zip |
Add watch mode to podman ps
allows users to "watch" the output of podman ps on a set interval in
seconds. in watch mode, the screen is cleared between intervals as well.
podman -ps -w1 watches on 1 second intervals
Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'docs/podman-ps.1.md')
-rw-r--r-- | docs/podman-ps.1.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/podman-ps.1.md b/docs/podman-ps.1.md index 685a52bda..a4a521b39 100644 --- a/docs/podman-ps.1.md +++ b/docs/podman-ps.1.md @@ -113,6 +113,10 @@ In some cases, a container's state in the runtime can become out of sync with Po This will update Podman's state based on what the OCI runtime reports. Forcibly syncing is much slower, but can resolve inconsistent state issues. +**--watch, -w** + +Refresh the output with current containers on an interval in seconds. + ## EXAMPLES ``` |