<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Blogotec, VMWare, Hyper-v, NetApp &#187; vmware-cmd</title>
	<atom:link href="http://www.blogotec.fr/tag/vmware-cmd/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.blogotec.fr</link>
	<description>VMware vSphere, Microsoft Hyper-v, NetApp, SCOM, Virtualisation</description>
	<lastBuildDate>Tue, 07 Feb 2012 13:36:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>VMware : Commandes permettant de d&#8217;effectuer des actions en ssh sur des machines virtuelles</title>
		<link>http://www.blogotec.fr/vmware/vmware-cmd-esx-getstate/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=vmware-cmd-esx-getstate</link>
		<comments>http://www.blogotec.fr/vmware/vmware-cmd-esx-getstate/#comments</comments>
		<pubDate>Mon, 23 Feb 2009 14:56:34 +0000</pubDate>
		<dc:creator>Rémy</dc:creator>
				<category><![CDATA[VMWare]]></category>
		<category><![CDATA[center]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[Esx]]></category>
		<category><![CDATA[machine]]></category>
		<category><![CDATA[virtual]]></category>
		<category><![CDATA[vm]]></category>
		<category><![CDATA[vmware-cmd]]></category>

		<guid isPermaLink="false">http://www.blogotec.fr/?p=149</guid>
		<description><![CDATA[Une fois connecté en SSH sur l&#8217;esx hebergeant vos VM il est possible d&#8217;y executer un certain nombre de commandes utiles<a href="http://www.blogotec.fr/vmware/vmware-cmd-esx-getstate/" class="searchmore">Lire la suite...</a><div class="clr"></div>]]></description>
			<content:encoded><![CDATA[<p>Une fois connecté en SSH sur l&#8217;esx hebergeant vos VM il est possible d&#8217;y executer un certain nombre de commandes utiles  notamment lorsqu&#8217;il est impossible d&#8217;arreter une VM </p>
<p>la commande : <code>vmware-cmd -l</code>  , Récupère la liste des machines virtuelles qui tournent sur le serveur.</p>
<p><a href="http://www.blogotec.fr/wp-content/uploads/2009/02/vmware-cmd-l.jpg"><img class="aligncenter size-full wp-image-150" title="vmware-cmd-l" src="http://www.blogotec.fr/wp-content/uploads/2009/02/vmware-cmd-l.jpg" alt="vmware-cmd-l" width="631" height="103" /></a></p>
<p>La commande : <code>vmware-cmd &lt;vm-cfg-path&gt; getstate </code>permet de recuperer l&#8217;etat d&#8217;une machine virtuelle  :</p>
<p><code>&lt;vm-cfg-path&gt;</code> est le chemin du fichier .vmx</p>
<p><a href="http://www.blogotec.fr/wp-content/uploads/2009/02/vmware-cmd-getstate1.jpg"><img class="aligncenter size-full wp-image-152" title="vmware-cmd-getstate1" src="http://www.blogotec.fr/wp-content/uploads/2009/02/vmware-cmd-getstate1.jpg" alt="vmware-cmd-getstate1" width="644" height="101" /></a></p>
<p>La commande : <code>vmware-cmd &lt;vm-cfg-path&gt; start </code>permet de demarrer une machine virtuelle arrêté.</p>
<p>La commande : <code>vmware-cmd &lt;vm-cfg-path&gt; stop </code>permet d&#8217;arreter une machine virtuelle.</p>
<p>La commande : <code>vmware-cmd &lt;vm-cfg-path&gt; reset </code>permet d&#8217;arreter et de redemarrer une machine virtuelle.</p>
<p>La commande : <code>vmware-cmd &lt;vm-cfg-path&gt; suspend </code>permet de suspendre une machine virtuelle.</p>
<p>La commande : <code>ps auxfww | grep NomVM </code>permet de recuperer le PID du processus executant la VM</p>
<p>La commande : <code>Kill -9 PID </code>permet de tuer le  processus executant la VM</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-facebook">
			<a href="http://www.shareaholic.com/api/share/?title=VMware+%3A+Commandes+permettant+de+d%27effectuer+des+actions+en+ssh+sur+des+machines+virtuelles&amp;link=http://www.blogotec.fr/vmware/vmware-cmd-esx-getstate/&amp;notes=Une%20fois%C2%A0connect%C3%A9%20en%20SSH%20sur%20l%27esx%20hebergeant%20vos%20VM%20il%20est%20possible%20d%27y%20executer%20un%20certain%20nombre%20de%20commandes%20utiles%20%C2%A0notamment%20lorsqu%27il%20est%20impossible%20d%27arreter%20une%20VM%C2%A0%0D%0A%0D%0Ala%20commande%20%3A%20vmware-cmd%20-l%C2%A0%20%2C%20R%C3%A9cup%C3%A8re%20la%20liste%20des%20machines%20virtuelles%20qui%20tournent%20sur%20le%20serveur.%0D%0A%0D%0A%0D%0A%0D%0ALa%20comm&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-mail">
			<a href="http://www.shareaholic.com/api/share/?title=VMware%20%3A%20Commandes%20permettant%20de%20d%27effectuer%20des%20actions%20en%20ssh%20sur%20des%20machines%20virtuelles&amp;link=http://www.blogotec.fr/vmware/vmware-cmd-esx-getstate/&amp;notes=Une%20fois%C2%A0connect%C3%A9%20en%20SSH%20sur%20l%27esx%20hebergeant%20vos%20VM%20il%20est%20possible%20d%27y%20executer%20un%20certain%20nombre%20de%20commandes%20utiles%20%C2%A0notamment%20lorsqu%27il%20est%20impossible%20d%27arreter%20une%20VM%C2%A0%0D%0A%0D%0Ala%20commande%20%3A%20vmware-cmd%20-l%C2%A0%20%2C%20R%C3%A9cup%C3%A8re%20la%20liste%20des%20machines%20virtuelles%20qui%20tournent%20sur%20le%20serveur.%0D%0A%0D%0A%0D%0A%0D%0ALa%20comm&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=201&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a>
		</li>
		<li class="shr-printfriendly">
			<a href="http://www.shareaholic.com/api/share/?title=VMware+%3A+Commandes+permettant+de+d%27effectuer+des+actions+en+ssh+sur+des+machines+virtuelles&amp;link=http://www.blogotec.fr/vmware/vmware-cmd-esx-getstate/&amp;notes=Une%20fois%C2%A0connect%C3%A9%20en%20SSH%20sur%20l%27esx%20hebergeant%20vos%20VM%20il%20est%20possible%20d%27y%20executer%20un%20certain%20nombre%20de%20commandes%20utiles%20%C2%A0notamment%20lorsqu%27il%20est%20impossible%20d%27arreter%20une%20VM%C2%A0%0D%0A%0D%0Ala%20commande%20%3A%20vmware-cmd%20-l%C2%A0%20%2C%20R%C3%A9cup%C3%A8re%20la%20liste%20des%20machines%20virtuelles%20qui%20tournent%20sur%20le%20serveur.%0D%0A%0D%0A%0D%0A%0D%0ALa%20comm&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=236&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Send this page to Print Friendly">Send this page to Print Friendly</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.shareaholic.com/api/share/?title=VMware+%3A+Commandes+permettant+de+d%27effectuer+des+actions+en+ssh+sur+des+machines+virtuelles&amp;link=http://www.blogotec.fr/vmware/vmware-cmd-esx-getstate/&amp;notes=Une%20fois%C2%A0connect%C3%A9%20en%20SSH%20sur%20l%27esx%20hebergeant%20vos%20VM%20il%20est%20possible%20d%27y%20executer%20un%20certain%20nombre%20de%20commandes%20utiles%20%C2%A0notamment%20lorsqu%27il%20est%20impossible%20d%27arreter%20une%20VM%C2%A0%0D%0A%0D%0Ala%20commande%20%3A%20vmware-cmd%20-l%C2%A0%20%2C%20R%C3%A9cup%C3%A8re%20la%20liste%20des%20machines%20virtuelles%20qui%20tournent%20sur%20le%20serveur.%0D%0A%0D%0A%0D%0A%0D%0ALa%20comm&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=88&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-viadeo">
			<a href="http://www.shareaholic.com/api/share/?title=VMware+%3A+Commandes+permettant+de+d%27effectuer+des+actions+en+ssh+sur+des+machines+virtuelles&amp;link=http://www.blogotec.fr/vmware/vmware-cmd-esx-getstate/&amp;notes=Une%20fois%C2%A0connect%C3%A9%20en%20SSH%20sur%20l%27esx%20hebergeant%20vos%20VM%20il%20est%20possible%20d%27y%20executer%20un%20certain%20nombre%20de%20commandes%20utiles%20%C2%A0notamment%20lorsqu%27il%20est%20impossible%20d%27arreter%20une%20VM%C2%A0%0D%0A%0D%0Ala%20commande%20%3A%20vmware-cmd%20-l%C2%A0%20%2C%20R%C3%A9cup%C3%A8re%20la%20liste%20des%20machines%20virtuelles%20qui%20tournent%20sur%20le%20serveur.%0D%0A%0D%0A%0D%0A%0D%0ALa%20comm&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=92&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Viadeo">Share this on Viadeo</a>
		</li>
		<li class="shr-twitter">
			<a href="http://www.shareaholic.com/api/share/?title=VMware+%3A+Commandes+permettant+de+d%27effectuer+des+actions+en+ssh+sur+des+machines+virtuelles&amp;link=http://www.blogotec.fr/vmware/vmware-cmd-esx-getstate/&amp;notes=Une%20fois%C2%A0connect%C3%A9%20en%20SSH%20sur%20l%27esx%20hebergeant%20vos%20VM%20il%20est%20possible%20d%27y%20executer%20un%20certain%20nombre%20de%20commandes%20utiles%20%C2%A0notamment%20lorsqu%27il%20est%20impossible%20d%27arreter%20une%20VM%C2%A0%0D%0A%0D%0Ala%20commande%20%3A%20vmware-cmd%20-l%C2%A0%20%2C%20R%C3%A9cup%C3%A8re%20la%20liste%20des%20machines%20virtuelles%20qui%20tournent%20sur%20le%20serveur.%0D%0A%0D%0A%0D%0A%0D%0ALa%20comm&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%2524%257Btitle%257D%2B-%2B%2524%257Bshort_link%257D%2Bvia%2B%2540Shareaholic&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul><div style="clear: both;"></div><div class="shr-getshr" style="visibility:hidden;font-size:10px !important"><a target="_blank" href="http://www.shareaholic.com/?src=pub">Get Shareaholic</a></div><div style="clear: both;"></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.blogotec.fr/vmware/vmware-cmd-esx-getstate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

