<?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: Starting PerfView from Command Line in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/starting-perfview-from-command-line/m-p/2460501#M480435</link>
    <description>I just installed perfview on our new server:&lt;BR /&gt;swlist indicates: Trial HP PerfView for s800 11.00.  &lt;BR /&gt;I wanted to run this product from the command line. My connection to the server is via reflection session.  The guide asks to export the workstationid.  I found that on the PS command and made the following entry: ttyp2.&lt;BR /&gt;With this variable set I tried the pv command and received the following error:&lt;BR /&gt;&lt;BR /&gt;Error: Can't open display: ttyp2&lt;BR /&gt;Error: Couldn't find per display information&lt;BR /&gt;&lt;BR /&gt;Where do I find the correct display entry information?&lt;BR /&gt;I'm running this as root, any ideas?&lt;BR /&gt;</description>
    <pubDate>Wed, 01 Nov 2000 19:48:16 GMT</pubDate>
    <dc:creator>David Fosgate_1</dc:creator>
    <dc:date>2000-11-01T19:48:16Z</dc:date>
    <item>
      <title>Starting PerfView from Command Line</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/starting-perfview-from-command-line/m-p/2460500#M480434</link>
      <description />
      <pubDate>Wed, 01 Nov 2000 19:34:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/starting-perfview-from-command-line/m-p/2460500#M480434</guid>
      <dc:creator>David Fosgate_1</dc:creator>
      <dc:date>2000-11-01T19:34:36Z</dc:date>
    </item>
    <item>
      <title>Re: Starting PerfView from Command Line</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/starting-perfview-from-command-line/m-p/2460501#M480435</link>
      <description>I just installed perfview on our new server:&lt;BR /&gt;swlist indicates: Trial HP PerfView for s800 11.00.  &lt;BR /&gt;I wanted to run this product from the command line. My connection to the server is via reflection session.  The guide asks to export the workstationid.  I found that on the PS command and made the following entry: ttyp2.&lt;BR /&gt;With this variable set I tried the pv command and received the following error:&lt;BR /&gt;&lt;BR /&gt;Error: Can't open display: ttyp2&lt;BR /&gt;Error: Couldn't find per display information&lt;BR /&gt;&lt;BR /&gt;Where do I find the correct display entry information?&lt;BR /&gt;I'm running this as root, any ideas?&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Nov 2000 19:48:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/starting-perfview-from-command-line/m-p/2460501#M480435</guid>
      <dc:creator>David Fosgate_1</dc:creator>
      <dc:date>2000-11-01T19:48:16Z</dc:date>
    </item>
    <item>
      <title>Re: Starting PerfView from Command Line</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/starting-perfview-from-command-line/m-p/2460502#M480436</link>
      <description>You need to set your DISPLAY variable back to where you are. What is the IP address you are at?&lt;BR /&gt;&lt;BR /&gt;export DISPLAY=&lt;YOU ip="" address="" where="" you="" are=""&gt;&lt;BR /&gt;&lt;BR /&gt;Also, you may need to issue the 'xhosts' command on the server. This will allow clients (the PC) to do an X-connect to the server. There are options with the xhosts command and security concerns.&lt;/YOU&gt;</description>
      <pubDate>Wed, 01 Nov 2000 19:50:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/starting-perfview-from-command-line/m-p/2460502#M480436</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2000-11-01T19:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: Starting PerfView from Command Line</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/starting-perfview-from-command-line/m-p/2460503#M480437</link>
      <description>Generally, the DISPLAY variable will require a :0 after the IP.  For instance:&lt;BR /&gt;&lt;BR /&gt;export DISPLAY=10.92.250.23:0&lt;BR /&gt;&lt;BR /&gt;If you are on a workstation or Xserver you will need to open your xhosts to allow communication, but when using an emulator like exceed/reflections that is not necessary.</description>
      <pubDate>Wed, 01 Nov 2000 20:25:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/starting-perfview-from-command-line/m-p/2460503#M480437</guid>
      <dc:creator>Alan Riggs</dc:creator>
      <dc:date>2000-11-01T20:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: Starting PerfView from Command Line</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/starting-perfview-from-command-line/m-p/2460504#M480438</link>
      <description>David:&lt;BR /&gt;&lt;BR /&gt;Adding to Rick &amp;amp; Alan's solution, here is a generalized way to get your IPAddress and set the DISPLAY variable:&lt;BR /&gt;&lt;BR /&gt;# DISPLAY=`who -Rmu|awk '{print $NF}'|nslookup|awk '$1~/Address/ {print $2}'`:0&lt;BR /&gt;&lt;BR /&gt;#export DISPLAY&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 01 Nov 2000 20:58:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/starting-perfview-from-command-line/m-p/2460504#M480438</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2000-11-01T20:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: Starting PerfView from Command Line</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/starting-perfview-from-command-line/m-p/2460505#M480439</link>
      <description>The previous comments answer the key issues, but thought you might find this helpful:&lt;BR /&gt;We have a big Reflections userbase, and I added the following to our /etc/profile ages ago to set the DISPLAY variable when a user logs in:&lt;BR /&gt;        if [ ! "$DISPLAY" ]&lt;BR /&gt;        then&lt;BR /&gt;                DISPLAY=`who -Rm | awk -F '[()]' '{print $2}'`:0&lt;BR /&gt;                export DISPLAY&lt;BR /&gt;        fi&lt;BR /&gt;The only problem we've found is when you rlogin or telnet from server to server, the DISPLAY variable gets set to the originating server. One possible solution for rlogin would be to alias it to remsh with the DISPLAY variable set... Probably more ways around it, too.</description>
      <pubDate>Wed, 01 Nov 2000 21:08:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/starting-perfview-from-command-line/m-p/2460505#M480439</guid>
      <dc:creator>John Eaton</dc:creator>
      <dc:date>2000-11-01T21:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: Starting PerfView from Command Line</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/starting-perfview-from-command-line/m-p/2460506#M480440</link>
      <description>John's comment illustrates why I prefer not to access `who` to set my DISPLAY.  I move between boxes frequently, so the `who` information does not always reflect the display I am working on.  Therefore, I set it in my .profile (which I keep consistent between machines).  Actually, I prefer to work without the DISPLAY set for most things -- nothing slower or more annoying that GUI displays across slow pipe from Europe.  But I have an alias defined in my .profile to set the DISPLAY when I need it.</description>
      <pubDate>Wed, 01 Nov 2000 21:15:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/starting-perfview-from-command-line/m-p/2460506#M480440</guid>
      <dc:creator>Alan Riggs</dc:creator>
      <dc:date>2000-11-01T21:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: Starting PerfView from Command Line</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/starting-perfview-from-command-line/m-p/2460507#M480441</link>
      <description>Thanks everyone for your assistance, I have the product running and no doubt will have additional questions.&lt;BR /&gt;&lt;BR /&gt;Best Regards, &lt;BR /&gt;&lt;BR /&gt;Dave</description>
      <pubDate>Thu, 02 Nov 2000 13:42:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/starting-perfview-from-command-line/m-p/2460507#M480441</guid>
      <dc:creator>David Fosgate_1</dc:creator>
      <dc:date>2000-11-02T13:42:17Z</dc:date>
    </item>
  </channel>
</rss>

