{"id":284,"date":"2013-11-06T16:35:48","date_gmt":"2013-11-06T21:35:48","guid":{"rendered":"http:\/\/www.hpux.ws\/?p=284"},"modified":"2013-11-06T17:17:22","modified_gmt":"2013-11-06T22:17:22","slug":"getting-emc-disk-ids","status":"publish","type":"post","link":"http:\/\/www.hpux.ws\/?p=284","title":{"rendered":"Getting EMC disk ID&#8217;s."},"content":{"rendered":"<p>We want storage to check performance on three possibly problematic LUNS.<\/p>\n<p>Need to get the 4 character LUN ID&#8217;s on three disks:<\/p>\n<p>disk82 disk83 and disk123<\/p>\n<p><strong>\/usr\/bin\/inq -nodots -sym_wwn | egrep &#8220;disk82|disk83|disk123&#8243;| awk &#8216;{print $3}&#8217; |awk &#8216;{ print substr( $0, length($0) &#8211; 3, length($0) ) }&#8217;<\/strong><\/p>\n<p>Output:<\/p>\n<p>5422<\/p>\n<p>5423<\/p>\n<p>5826<\/p>\n<p>HP-UX 11.31 September 2011 OE.<\/p>\n<p>A good day is an awkful day.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We want storage to check performance on three possibly problematic LUNS. Need to get the 4 character LUN ID&#8217;s on three disks: disk82 disk83 and disk123 \/usr\/bin\/inq -nodots -sym_wwn | egrep &#8220;disk82|disk83|disk123&#8243;| awk &#8216;{print $3}&#8217; |awk &#8216;{ print substr( $0, length($0) &#8211; 3, length($0) ) }&#8217; Output: 5422 5423 5826 HP-UX 11.31 September 2011 OE. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"_kadence_starter_templates_imported_post":false,"footnotes":""},"categories":[43,12,39],"tags":[49,50,145,77,76,3],"class_list":["post-284","post","type-post","status-publish","format-standard","hentry","category-hardware","category-perf","category-scripting","tag-awk","tag-awkful","tag-capacity-planning","tag-disk-id","tag-emc","tag-hpux"],"_links":{"self":[{"href":"http:\/\/www.hpux.ws\/index.php?rest_route=\/wp\/v2\/posts\/284"}],"collection":[{"href":"http:\/\/www.hpux.ws\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.hpux.ws\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.hpux.ws\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.hpux.ws\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=284"}],"version-history":[{"count":3,"href":"http:\/\/www.hpux.ws\/index.php?rest_route=\/wp\/v2\/posts\/284\/revisions"}],"predecessor-version":[{"id":287,"href":"http:\/\/www.hpux.ws\/index.php?rest_route=\/wp\/v2\/posts\/284\/revisions\/287"}],"wp:attachment":[{"href":"http:\/\/www.hpux.ws\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=284"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.hpux.ws\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=284"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.hpux.ws\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=284"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}