Vimsh: Difference between revisions

Jump to navigation Jump to search
m added some formatting
No edit summary
Line 3: Line 3:
The Virtual Infrastructure metashell is an undocumented and unsupported shell accessible from within the console on an ESX server.
The Virtual Infrastructure metashell is an undocumented and unsupported shell accessible from within the console on an ESX server.
It can be invoked from the shell when logged in as root user as an interactive shell.
It can be invoked from the shell when logged in as root user as an interactive shell.
You can almost do anything from it what you can do from the Virtual Infrastructure client and is more powerful as the normal console commands.
Below is some output of the shell that you get to see and the output of the "?" command:


  #vimsh
  #vimsh
Line 18: Line 21:


In recent versions of ESX, there's also a command line non interactive version of vimsh that can be used from within a script which is called [[vmware-vim-cmd]]
In recent versions of ESX, there's also a command line non interactive version of vimsh that can be used from within a script which is called [[vmware-vim-cmd]]
==== List of commands ====


Following is a list of the availabled commands (the vimsh: prefix is only included as a namespace, so that it won't clash with other parts in the wiki, not sure if that's a smart thing to do...)
Following is a list of the availabled commands (the vimsh: prefix is only included as a namespace, so that it won't clash with other parts in the wiki, not sure if that's a smart thing to do...)
Line 45: Line 50:
  [[vimsh: pls]]
  [[vimsh: pls]]
  [[vimsh: source]]
  [[vimsh: source]]
==== Background info ====
This command has its origin as a support shell only.
It is rumored about that it will be supported in one of the upcoming versions of ESX
==== External links ====
[http://knowledge.xtravirt.com/white-papers/scripting.html Xtravirt scripting papers about vimsh among others]