<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: model command on Linux in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/model-command-on-linux/m-p/5015515#M47941</link>
    <description>Hi,&lt;BR /&gt;checking :&lt;BR /&gt;&lt;A href="http://www.unixguide.net/unixguide.shtml" target="_blank"&gt;http://www.unixguide.net/unixguide.shtml&lt;/A&gt;&lt;BR /&gt;and&lt;BR /&gt;&lt;A href="http://bhami.com/rosetta.html" target="_blank"&gt;http://bhami.com/rosetta.html&lt;/A&gt;&lt;BR /&gt;confirms uname -m as the closest match.&lt;BR /&gt;&lt;BR /&gt;What do you want to see as an output ?&lt;BR /&gt;&lt;BR /&gt;Something like:&lt;BR /&gt;DELL Computer WINXP Optiplex GX270/SFF 2.4 GHz &lt;BR /&gt;&lt;BR /&gt;Probably not available without serious scripting etc.&lt;BR /&gt;Sorry</description>
    <pubDate>Thu, 23 Nov 2006 05:56:18 GMT</pubDate>
    <dc:creator>Peter Godron</dc:creator>
    <dc:date>2006-11-23T05:56:18Z</dc:date>
    <item>
      <title>model command on Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/model-command-on-linux/m-p/5015513#M47939</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Is there a way to get model of a host from linux ?&lt;BR /&gt;&lt;BR /&gt;on HP-UX I have &lt;BR /&gt;hpux&amp;gt; uname -m&lt;BR /&gt;9000/800&lt;BR /&gt;hpux&amp;gt; model&lt;BR /&gt;9000/800/rp3440&lt;BR /&gt;hpux&amp;gt;&lt;BR /&gt;&lt;BR /&gt;unfortunatly, model didn't exist for Linux:&lt;BR /&gt;&lt;BR /&gt;[linux]$ model&lt;BR /&gt;-bash: model: command not found&lt;BR /&gt;[linux]$ uname -m&lt;BR /&gt;i686&lt;BR /&gt;[linux]$&lt;BR /&gt;&lt;BR /&gt;is there a way (a file in /proc, a command, perl crypt- I mean perl EASY command ) to have same information ?&lt;BR /&gt;&lt;BR /&gt;(If answer is no, can a Linux Guru explain why ?)&lt;BR /&gt;&lt;BR /&gt;Jean-Yves Picard&lt;BR /&gt;</description>
      <pubDate>Thu, 23 Nov 2006 04:28:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/model-command-on-linux/m-p/5015513#M47939</guid>
      <dc:creator>Jean-Yves Picard</dc:creator>
      <dc:date>2006-11-23T04:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: model command on Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/model-command-on-linux/m-p/5015514#M47940</link>
      <description>Hello!&lt;BR /&gt;&lt;BR /&gt;Have you try with "uname -a"?&lt;BR /&gt;&lt;BR /&gt;Bye</description>
      <pubDate>Thu, 23 Nov 2006 05:07:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/model-command-on-linux/m-p/5015514#M47940</guid>
      <dc:creator>Alpha977</dc:creator>
      <dc:date>2006-11-23T05:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: model command on Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/model-command-on-linux/m-p/5015515#M47941</link>
      <description>Hi,&lt;BR /&gt;checking :&lt;BR /&gt;&lt;A href="http://www.unixguide.net/unixguide.shtml" target="_blank"&gt;http://www.unixguide.net/unixguide.shtml&lt;/A&gt;&lt;BR /&gt;and&lt;BR /&gt;&lt;A href="http://bhami.com/rosetta.html" target="_blank"&gt;http://bhami.com/rosetta.html&lt;/A&gt;&lt;BR /&gt;confirms uname -m as the closest match.&lt;BR /&gt;&lt;BR /&gt;What do you want to see as an output ?&lt;BR /&gt;&lt;BR /&gt;Something like:&lt;BR /&gt;DELL Computer WINXP Optiplex GX270/SFF 2.4 GHz &lt;BR /&gt;&lt;BR /&gt;Probably not available without serious scripting etc.&lt;BR /&gt;Sorry</description>
      <pubDate>Thu, 23 Nov 2006 05:56:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/model-command-on-linux/m-p/5015515#M47941</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-11-23T05:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: model command on Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/model-command-on-linux/m-p/5015516#M47942</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I use ouput from hpdiag (work only on HP :-\ )&lt;BR /&gt;&lt;BR /&gt;[linux]# /opt/hp/hpdiags/hpdiags -t &amp;gt; me.xml&lt;BR /&gt;HP Insight Diagnostics Version 7.6.0.1977A&lt;BR /&gt;Copyright (c) 2002, 2005 Hewlett-Packard Development Company, L.P.&lt;BR /&gt;System configuration capture completed (100%)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;then process which sxltproc&lt;BR /&gt;&lt;BR /&gt;[linux]$  xsltproc s4.xsl me.xml | awk 'NF &amp;gt; 1'&lt;BR /&gt;      ProLiant DL380 G4&lt;BR /&gt;      ProLiant DL380 G4&lt;BR /&gt;        ProLiant DL380 G4&lt;BR /&gt;      ProLiant DL380 G4&lt;BR /&gt;where s4.xsl is&lt;BR /&gt;&lt;STYLESHEET version="1.0" xsl="http://www.w3.org/1999/XSL/Transform"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;OUTPUT method="text"&gt;&lt;/OUTPUT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TEMPLATE match="property"&gt;&lt;BR /&gt; &lt;IF test="@name='productName'"&gt;&lt;BR /&gt; &lt;VALUE-OF select="@value"&gt;&lt;/VALUE-OF&gt;&lt;BR /&gt; &lt;/IF&gt;&lt;BR /&gt;&lt;/TEMPLATE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/STYLESHEET&gt;&lt;BR /&gt;&lt;BR /&gt;the reason for awk 'NF&amp;gt;1' is huge amount on newline and white in result.&lt;BR /&gt;&lt;BR /&gt;hope this help (you have to have hpdiag first, which I believe are in Proliant support pack and should be lurking somewhere on hp.com )&lt;BR /&gt;&lt;BR /&gt;Jean-Yves Picard</description>
      <pubDate>Thu, 23 Nov 2006 06:09:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/model-command-on-linux/m-p/5015516#M47942</guid>
      <dc:creator>Jean-Yves Picard</dc:creator>
      <dc:date>2006-11-23T06:09:17Z</dc:date>
    </item>
  </channel>
</rss>

