{"id":279,"date":"2012-09-09T22:17:47","date_gmt":"2012-09-09T22:17:47","guid":{"rendered":"http:\/\/faq.graven-ict.nl\/wordpress\/?p=279"},"modified":"2018-03-01T19:56:18","modified_gmt":"2018-03-01T19:56:18","slug":"online-memory-toevoegen-virtual-machines","status":"publish","type":"post","link":"https:\/\/wiki.graven-ict.nl\/wordpress\/online-memory-toevoegen-virtual-machines\/","title":{"rendered":"Online memory toevoegen virtual machines"},"content":{"rendered":"<p><i>Getest op RHEL5.x in combinatie met vmware<\/i><\/p>\n<p>Met recente versies van vmware is het mogelijk om online memory toe te voegen. soms word echter niet opgepakt door het OS. als je bv met free of top kijkt zal je nog altijd de oude waardes zien. het nieuwe memory kan met de hand online gezet worden.<\/p><div id=\"grave-143870070\" class=\"grave-content grave-entity-placement\"><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-1970734611769428\" crossorigin=\"anonymous\"><\/script><ins class=\"adsbygoogle\" style=\"display:inline-block;width:728px;height:90px;\" \ndata-ad-client=\"ca-pub-1970734611769428\" \ndata-ad-slot=\"1820224830\"><\/ins> \n<script> \n(adsbygoogle = window.adsbygoogle || []).push({}); \n<\/script>\n<\/div>\n<p>Na het dynamisch toevoegen kan je op het systeem met het volgende commando zien welke memory segmenten online dan wel offline zijn.<\/p>\n<pre>$ grep line \/sys\/devices\/system\/memory\/*\/state \r\n\u2026\u2026 \r\n\/sys\/devices\/system\/memory\/memory35\/state:online \r\n\/sys\/devices\/system\/memory\/memory36\/state:online \r\n\/sys\/devices\/system\/memory\/memory37\/state:online \r\n\/sys\/devices\/system\/memory\/memory38\/state:online \r\n\/sys\/devices\/system\/memory\/memory39\/state:online \r\n\/sys\/devices\/system\/memory\/memory3\/state:online \r\n\/sys\/devices\/system\/memory\/memory40\/state:offline \r\n\/sys\/devices\/system\/memory\/memory41\/state:offline \r\n\/sys\/devices\/system\/memory\/memory42\/state:offline \r\n\/sys\/devices\/system\/memory\/memory43\/state:offline \r\n\u2026\u2026 \r\n<\/pre>\n<p>De offline segmenten kan je 1 voor 1 met hand online zetten <b>echo online &gt; \/sys\/devices\/system\/memory\/memory[number]\/state<\/b><\/p>\n<pre>echo online &gt; \/sys\/devices\/system\/memory\/memory40\/state\r\n<\/pre>\n<p>of als het er heel veel zijn via een loopje.<\/p>\n<pre>grep offline \/sys\/devices\/system\/memory\/*\/state|awk \u2013F: \u2018{print $1}\u2019|while read line;do echo online &gt;$line;done\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Getest op RHEL5.x in combinatie met vmware Met recente versies van vmware is het mogelijk om online memory toe te voegen. soms word echter niet opgepakt door het OS. als je bv met free of top kijkt zal je nog altijd de oude waardes zien. het nieuwe memory kan met de hand online gezet worden. ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/wiki.graven-ict.nl\/wordpress\/online-memory-toevoegen-virtual-machines\/\" title=\"Meer lezen...\">Lees meer<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[17],"tags":[],"class_list":["post-279","post","type-post","status-publish","format-standard","hentry","category-diversen"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wiki.graven-ict.nl\/wordpress\/wp-json\/wp\/v2\/posts\/279","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wiki.graven-ict.nl\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wiki.graven-ict.nl\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wiki.graven-ict.nl\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wiki.graven-ict.nl\/wordpress\/wp-json\/wp\/v2\/comments?post=279"}],"version-history":[{"count":1,"href":"https:\/\/wiki.graven-ict.nl\/wordpress\/wp-json\/wp\/v2\/posts\/279\/revisions"}],"predecessor-version":[{"id":280,"href":"https:\/\/wiki.graven-ict.nl\/wordpress\/wp-json\/wp\/v2\/posts\/279\/revisions\/280"}],"wp:attachment":[{"href":"https:\/\/wiki.graven-ict.nl\/wordpress\/wp-json\/wp\/v2\/media?parent=279"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wiki.graven-ict.nl\/wordpress\/wp-json\/wp\/v2\/categories?post=279"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wiki.graven-ict.nl\/wordpress\/wp-json\/wp\/v2\/tags?post=279"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}