Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 2nd, 2012  |  syntax: None  |  size: 0.98 KB  |  hits: 9  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. ## before
  2. % mc-rpc service status service="httpd" -v
  3. Determining the amount of hosts matching filter for 2 seconds .... 2
  4.  
  5.  * [ ============================================================> ] 2 / 2
  6.  
  7.  
  8. ce328e5d35e425020b9238080a42426b        : OK
  9.     {"status"=>"running"}
  10. f51dc8352bef9f30f862b73f446b1a9d        : OK
  11.     {"status"=>"stopped"}
  12.  
  13. ---- service#status call stats ----
  14.            Nodes: 2 / 2
  15.      Pass / Fail: 2 / 0
  16.       Start Time: Thu Jun 17 09:54:19 +0100 2010
  17.   Discovery Time: 2003.77ms
  18.       Agent Time: 368.77ms
  19.       Total Time: 2372.54ms
  20.  
  21. ## ddl assisted
  22. $ mc-rpc service status service="httpd"
  23. Determining the amount of hosts matching filter for 2 seconds .... 2
  24.  
  25.  * [ ============================================================> ] 2 / 2
  26.  
  27.  
  28. ce328e5d35e425020b9238080a42426b        : Request OK
  29.  
  30.    Service Status: running
  31.  
  32. f51dc8352bef9f30f862b73f446b1a9d        : Request OK
  33.  
  34.    Service Status: stopped
  35.  
  36.  
  37. Finished processing 2 / 2 hosts in 374.58 ms