Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

documented ps

  • Loading branch information...
commit 675f5a81da507d9a1690301b288882198422e959 1 parent 167cd5d
@substack authored
Showing with 36 additions and 0 deletions.
  1. +36 −0 doc/ps.markdown
View
36 doc/ps.markdown
@@ -0,0 +1,36 @@
+fleet-ps(1) -- List the running processes on the drones.
+========================================================
+
+## SYNOPSIS
+
+ fleet ps [<options>]
+
+## DESCRIPTION
+
+List all the running processes on all the drones. The state of the process,
+command used to execute the process, and the commit hash the process was
+launched from are all displayed in the output.
+
+If a drone doesn't have any processes running it will still show up in the
+output.
+
+## OPTIONS
+
+If you haven't set a remote with `fleet remote`, you'll need to specify these
+options:
+
+* hub - location of the hub as a "host:port" string
+* secret - optional passphrase to connect to the hub
+
+## EXAMPLE
+
+ $ fleet ps
+ drone#3dfe17b8
+ ├─┬ pid#1e99f4
+ │ ├── status: running
+ │ ├── commit: webapp/1b8050fcaf8f1b02b9175fcb422644cb67dc8cc5
+ │ └── command: node server.js 8888
+ └─┬ pid#d7048a
+ ├── status: running
+ ├── commit: webapp/1b8050fcaf8f1b02b9175fcb422644cb67dc8cc5
+ └── command: node server.js 8889
Please sign in to comment.
Something went wrong with that request. Please try again.