Permalink
Browse files

documented the monitor

  • Loading branch information...
1 parent d51db8f commit ef20d1e2c09aa1d099e6a531fbc5382ac351f2e7 @substack committed Apr 12, 2012
Showing with 28 additions and 1 deletion.
  1. +1 −1 doc/commands
  2. +27 −0 doc/monitor.markdown
View
2 doc/commands
@@ -5,7 +5,7 @@ The commands are:
drone Connect to a hub as a worker.
exec Run commands on drones.
hub Create a hub for drones to connect.
- monitor Show events and process output system-wide.
+ monitor Show service events system-wide.
ps List the running processes on the drones.
remote Manage the set of remote hubs.
spawn Run services on drones.
View
27 doc/monitor.markdown
@@ -0,0 +1,27 @@
+fleet-monitor(1) -- Show service events system-wide.
+====================================================
+
+## SYNOPSIS
+
+ fleet monitor [<options>]
+
+## DESCRIPTION
+
+Show all spawn, exit, stdout, and stderr events happening everywhere across all
+of the drones.
+
+## 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 monitor
+ (spawned 3dfe17b8#1e99f4 : node server.js 8888)
+ [3dfe17b8#1e99f4] listening on :8888
+ (exited 3dfe17b8#751e9f : node server.js 8889)
+ (spawned 3dfe17b8#d7048a : node server.js 8889)

0 comments on commit ef20d1e

Please sign in to comment.