{"id":51,"date":"2008-10-19T19:36:00","date_gmt":"2008-10-20T00:36:00","guid":{"rendered":"http:\/\/www.rajatswarup.com\/blog\/?p=51"},"modified":"2010-02-10T23:32:50","modified_gmt":"2010-02-11T04:32:50","slug":"system-information","status":"publish","type":"post","link":"https:\/\/www.rajatswarup.com\/blog\/2008\/10\/19\/system-information\/","title":{"rendered":"System Information"},"content":{"rendered":"<p>This has been a weird one, finding version information on the operating systems.<br \/>On Ubuntu, the following gets the version information<br \/><span style=\"font-family:courier new;\">&nbsp;&nbsp;cat \/etc\/issue<\/span><br \/><span style=\"font-family:courier new;\">&nbsp;&nbsp;cat \/etc\/lsb-release<\/span><\/p>\n<p>On Linux, finding the kernel version<br \/><span style=\"font-family: courier new;\">&nbsp;&nbsp;uname -a<\/span><br \/><span style=\"font-family: courier new;\">&nbsp;&nbsp;cat \/proc\/version<\/span><\/p>\n<p>On Windows, from Start-> Run -> cmd.exe<br \/><span style=\"font-family: courier new;\">&nbsp;&nbsp;winver<\/span><br \/> OR<br \/><span style=\"font-family: courier new;\">&nbsp;&nbsp;systeminfo<\/span><\/p>\n<p>This is very simple but still there are a few times when memory fails and we&#8217;re not able to do the obvious.<\/p>\n<p>To see the information about the hardware mapping :<br \/><span style=\"font-family: courier new;\">&nbsp;&nbsp;lshal<\/span><\/p>\n<p>Finding your CPU Information<br \/><span style=\"font-family: courier new;\">&nbsp;&nbsp;cat \/proc\/cpuinfo<\/span><\/p>\n<p>Finding memory information<br \/><span style=\"font-family: courier new;\">&nbsp;&nbsp;cat \/proc\/meminfo<\/span><\/p>\n<p>Maximum number of SYN requests that the host will remember which did not receive an ACK from clients:<br \/><span style=\"font-family: courier new;\">&nbsp;&nbsp;cat \/proc\/sys\/net\/ipv4\/tcp_max_syn_backlog<\/span><\/p>\n<p>Finding data bus-size or bit-size i.e., whether my CPU is 32-bit or 64-bit:<br \/><span style=\"font-family: courier new;\">&nbsp;&nbsp;sudo lshw -C cpu | grep width<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This has been a weird one, finding version information on the operating systems.On Ubuntu, the following gets the version information&nbsp;&nbsp;cat \/etc\/issue&nbsp;&nbsp;cat \/etc\/lsb-release On Linux, finding the kernel version&nbsp;&nbsp;uname -a&nbsp;&nbsp;cat \/proc\/version On Windows, from Start-> Run -> cmd.exe&nbsp;&nbsp;winver OR&nbsp;&nbsp;systeminfo This is very simple but still there are a few times when memory fails and we&#8217;re not [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[230],"tags":[272,271,273],"class_list":["post-51","post","type-post","status-publish","format-standard","hentry","category-howto","tag-linux","tag-ubuntu","tag-version"],"_links":{"self":[{"href":"https:\/\/www.rajatswarup.com\/blog\/wp-json\/wp\/v2\/posts\/51","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rajatswarup.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rajatswarup.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rajatswarup.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rajatswarup.com\/blog\/wp-json\/wp\/v2\/comments?post=51"}],"version-history":[{"count":1,"href":"https:\/\/www.rajatswarup.com\/blog\/wp-json\/wp\/v2\/posts\/51\/revisions"}],"predecessor-version":[{"id":116,"href":"https:\/\/www.rajatswarup.com\/blog\/wp-json\/wp\/v2\/posts\/51\/revisions\/116"}],"wp:attachment":[{"href":"https:\/\/www.rajatswarup.com\/blog\/wp-json\/wp\/v2\/media?parent=51"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rajatswarup.com\/blog\/wp-json\/wp\/v2\/categories?post=51"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rajatswarup.com\/blog\/wp-json\/wp\/v2\/tags?post=51"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}