aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/commands/process
diff options
context:
space:
mode:
Diffstat (limited to 'railties/lib/commands/process')
-rw-r--r--railties/lib/commands/process/inspector.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/railties/lib/commands/process/inspector.rb b/railties/lib/commands/process/inspector.rb
index c723f1199a..8b768f8821 100644
--- a/railties/lib/commands/process/inspector.rb
+++ b/railties/lib/commands/process/inspector.rb
@@ -44,11 +44,12 @@ ARGV.options do |opts|
opts.on <<-EOF
Description:
- Get the lowdown on processes.
+ Displays system information about Rails dispatchers (or other processes that use pid files) through
+ the ps command.
Examples:
- inspector
- inspector -s 'ps -o user,start,majflt,pcpu,vsz -p %s'
+ inspector # default ps on all tmp/pids/dispatch.*.pid files
+ inspector -s 'ps -o user,start,majflt,pcpu,vsz -p %s' # custom ps, %s is where the pid is interleaved
EOF
opts.on(" Options:")