{"id":796,"date":"2010-02-26T05:00:36","date_gmt":"2010-02-26T10:00:36","guid":{"rendered":"http:\/\/www.gamescheat.ca\/?p=796"},"modified":"2019-09-04T19:57:39","modified_gmt":"2019-09-05T00:57:39","slug":"how-to-list-the-status-of-swap-in-solaris","status":"publish","type":"post","link":"http:\/\/www.gamescheat.ca\/?p=796","title":{"rendered":"How to list the status of swap in Solaris"},"content":{"rendered":"<p>List the status of all swap areas.<\/p>\n<blockquote><p># swap -l<br \/>\nswapfile             dev  swaplo blocks   free<br \/>\ndev\/dsk\/c0t0d0s1   32,9      16 8425712 8425712<\/p><\/blockquote>\n<p>The  output  has five columns:<br \/>\npath<br \/>\nThe path name for the swap area.<\/p>\n<p>dev<br \/>\nThe major\/minor device number in decimal if it is a block special device; zeroes otherwise.<\/p>\n<p>swaplo<br \/>\nThe swaplow value for the area in 512-byte blocks.<\/p>\n<p>blocks<br \/>\nThe swaplen value for the area in 512-byte blocks.<\/p>\n<p>free<br \/>\nThe number of 512-byte blocks in this area that are not currently allocated.<\/p>\n<p>To find the status of total swap usage use the -s option.<\/p>\n<blockquote><div style=\"float: right;\"><div style=\"margin: 15px 15px 15px 15px\";><script type=\"text\/javascript\"><!--\ngoogle_ad_client = \"pub-3319935785736004\";\ngoogle_alternate_color = \"FFFFFF\";\ngoogle_ad_width = 250;\ngoogle_ad_height = 250;\ngoogle_ad_format = \"250x250_as\";\ngoogle_ad_type = \"text_image\";\ngoogle_ad_channel =\"\";\ngoogle_color_border = \"cccccc\";\ngoogle_color_link = \"cc0000\";\ngoogle_color_bg = \"ffffff\";\ngoogle_color_text = \"000000\";\ngoogle_color_url = \"008000\";\n\/\/--><\/script>\n<script type=\"text\/javascript\"\n  src=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\">\n<\/script><\/div><\/div><p># swap -s<br \/>\ntotal: 180928k bytes allocated + 28456k reserved = 209384k used, 10691424k available     <\/p><\/blockquote>\n<p>List the status of all the swap areas. The output has five columns:<\/p>\n<p>path<br \/>\nThe path name for the swap area.<\/p>\n<p>dev<br \/>\nThe major\/minor device number in decimal if it is a block special device; zeroes otherwise.<\/p>\n<p>swaplo<br \/>\nThe swaplow value for the area in 512-byte blocks.<\/p>\n<p>blocks<br \/>\nThe swaplen value for the area in 512-byte blocks.<\/p>\n<p>free<br \/>\nThe number of 512-byte blocks in this area that are not currently allocated.<\/p>\n<p>The total amount of swap space in bytes currently allocated for use as backing store.<\/p>\n<p>reserved<br \/>\nThe total amount of swap space in bytes not currently allocated, but claimed by memory mappings for possible future use.<\/p>\n<p>used<br \/>\nThe total amount of swap space in bytes that is either allocated or reserved.<\/p>\n<p>available<br \/>\nThe total swap space in bytes that is currently available for future reservation and allocation.<\/p>\n<p>These   numbers include swap space from all configured swap areas as listed by the -l option, as well swap space in the form of physical memory.                                                                                                                                  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>List the status of all swap areas. # swap -l swapfile dev swaplo blocks free dev\/dsk\/c0t0d0s1 32,9 16 8425712 8425712 The output has five columns: path The path name for the swap area. dev The major\/minor device number in decimal&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"http:\/\/www.gamescheat.ca\/?p=796\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[19],"tags":[21,55,64,35],"_links":{"self":[{"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=\/wp\/v2\/posts\/796"}],"collection":[{"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=796"}],"version-history":[{"count":2,"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=\/wp\/v2\/posts\/796\/revisions"}],"predecessor-version":[{"id":798,"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=\/wp\/v2\/posts\/796\/revisions\/798"}],"wp:attachment":[{"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=796"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=796"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=796"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}