vaguerent/website/source/docs/cli/global-status.html.md
Seth Vargo 5093f3120e Merge docs and www into a single static site
This is a big commit, and I apologize in advance for the future
git-blames all pointing to me. This commit does a few things:

1.  Merges the website/docs and website/www repo into a single website repo
    to be in line with other HashiCorp projects
2.  Updates to use middleman-hashicorp
3.  Converts less to scss to be in line with other projects
4.  Updates page styles to be in line with other projects
5.  Optimizes images
6.  Prepare for S3 + Fastly deployment with scripts, etc.
7.  Removes blog posts (they have been transferred to hashicorp.com with
    redirects in place
8.  Updated sitemap generation script for better SEO
9.  Fixed many broken links
10. Add description to all fields
2016-01-19 14:35:05 -05:00

1.5 KiB

layout page_title sidebar_current description
docs vagrant global-status - Command-Line Interface cli-globalstatus The "vagrant global-status" command is used to determine the state of all active Vagrant environments on the system for the currently logged in user.

Global Status

Command: vagrant global-status

This command will tell you the state of all active Vagrant environments on the system for the currently logged in user.

~> This command does not actively verify the state of machines, and is instead based on a cache. Because of this, it is possible to see stale results (machines say they're running but they're not). For example, if you restart your computer, Vagrant would not know. To prune the invalid entries, run global status with the --prune flag.

The IDs in the output that look like a1b2c3 can be used to control the Vagrant machine from anywhere on the system. Any Vagrant command that takes a target machine (such as up, halt, destroy) can be used with this ID to control it. For example: vagrant destroy a1b2c3.

Options

  • --prune - Prunes invalid entries from the list. This is much more time consuming than simply listing the entries.

Environment Not Showing Up

If your environment is not showing up, you may have to do a vagrant destroy followed by a vagrant up.

If you just upgraded from a previous version of Vagrant, existing environments will not show up in global-status until they are destroyed and recreated.