24. Process Management
$ convox ps
ID NAME RELEASE CPU MEM STARTED COMMAND
b752f92764b1 clock RMOQPDOQZOY 1.02% 41.80% 9 minutes ago sh -c bin/clock
759186a0a457 sidekiq RMOQPDOQZOY 0.00% 46.04% 9 minutes ago sh -c bin/sidekiq
79cbc75f4910 web RMOQPDOQZOY 0.00% 43.32% 9 minutes ago sh -c bin/web
$ convox scale
NAME COUNT MEMORY PORTS
clock 1 256
postgres 0 256
redis 0 256
sidekiq 1 256
web 1 256 80
$ convox scale web --count 2 --memory 512
NAME COUNT MEMORY PORTS
sidekiq 1 256
web 2 512 80
clock 1 256
postgres 0 256
redis 0 256
$ convox ps
ID NAME RELEASE CPU MEM STARTED COMMAND
b752f92764b1 clock RMOQPDOQZOY 1.22% 41.80% 13 minutes ago sh -c bin/clock
759186a0a457 sidekiq RMOQPDOQZOY 11.36% 49.52% 13 minutes ago sh -c bin/sidekiq
335eb841f2ef web RMOQPDOQZOY 0.50% 21.47% 3 minutes ago sh -c bin/web
5bd19ffad7b3 web RMOQPDOQZOY 11.94% 21.43% 3 minutes ago sh -c bin/web
25. Admin Commands
$ convox run web ls
Dockerfile Procfile bin docker-compose.yml test
Gemfile README.md config lib tmp
Gemfile.lock Rakefile config.ru log vendor
LICENSE app db public
$ convox exec 335eb841f2ef ls
Dockerfile Procfile bin docker-compose.yml test
Gemfile README.md config lib tmp
Gemfile.lock Rakefile config.ru log vendor
LICENSE app db public
26. Logs
$ convox logs
web: Started GET "/" for 10.0.3.135 at 2015-10-14 21:20:33 +0000
web: Started GET "/" for 10.0.3.135 at 2015-10-14 21:20:33 +0000
web: Processing by HomeController#index as HTML
web: Processing by HomeController#index as HTML
web: Rendered home/index.html.erb within layouts/application (0.2ms)
web: Rendered home/index.html.erb within layouts/application (0.2ms)
web: Completed 200 OK in 21ms (Views: 20.3ms | ActiveRecord: 0.0ms)
web: Completed 200 OK in 21ms (Views: 20.3ms | ActiveRecord: 0.0ms)
27. Builds and Releases
$ convox builds
ID STATUS RELEASE STARTED ELAPSED
BQCQGTKIWXI complete RMOQPDOQZOY 1 hour ago 26s
BATIRIQTFXD complete RHAEGMPLKUP 2 hours ago 24s
BAMAPYZOLMC complete RGZVEVOJPDF 2 hours ago 3m34s
BQDHXVJRPHU complete RDTKJWKBTXL 13 hours ago 3m26s
BKORNTBGPGP complete RNSATMOHIQV 14 hours ago 3m28s
BVMYVERLJVD complete RMCASKYVLUS 15 hours ago 3m26s
BZJABILPFDM complete RFOKGLVSKRK 15 hours ago 10m7s
$ convox releases
ID CREATED STATUS
ROHSGMABIFH 57 minutes ago
RMOQPDOQZOY 1 hour ago active
RHAEGMPLKUP 2 hours ago
RGZVEVOJPDF 2 hours ago
RJVXHAJMOGH 5 hours ago
RBDMMAYYKFK 6 hours ago
REWCRJFOYCQ 6 hours ago
RWHLYJXDYTG 6 hours ago
28. Builds and Releases
$ convox builds
ID STATUS RELEASE STARTED ELAPSED
BQCQGTKIWXI complete RMOQPDOQZOY 1 hour ago 26s
BATIRIQTFXD complete RHAEGMPLKUP 2 hours ago 24s
BAMAPYZOLMC complete RGZVEVOJPDF 2 hours ago 3m34s
BQDHXVJRPHU complete RDTKJWKBTXL 13 hours ago 3m26s
BKORNTBGPGP complete RNSATMOHIQV 14 hours ago 3m28s
BVMYVERLJVD complete RMCASKYVLUS 15 hours ago 3m26s
BZJABILPFDM complete RFOKGLVSKRK 15 hours ago 10m7s
$ convox releases
ID CREATED STATUS
ROHSGMABIFH 57 minutes ago
RMOQPDOQZOY 1 hour ago active
RHAEGMPLKUP 2 hours ago
RGZVEVOJPDF 2 hours ago
RJVXHAJMOGH 5 hours ago
RBDMMAYYKFK 6 hours ago
REWCRJFOYCQ 6 hours ago
RWHLYJXDYTG 6 hours ago