- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Starting PerfView from Command Line
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-01-2000 11:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-01-2000 11:48 AM
тАО11-01-2000 11:48 AM
Re: Starting PerfView from Command Line
swlist indicates: Trial HP PerfView for s800 11.00.
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.
With this variable set I tried the pv command and received the following error:
Error: Can't open display: ttyp2
Error: Couldn't find per display information
Where do I find the correct display entry information?
I'm running this as root, any ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-01-2000 11:50 AM
тАО11-01-2000 11:50 AM
Solutionexport DISPLAY=
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.
- Tags:
- Display
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-01-2000 12:25 PM
тАО11-01-2000 12:25 PM
Re: Starting PerfView from Command Line
export DISPLAY=10.92.250.23:0
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-01-2000 12:58 PM
тАО11-01-2000 12:58 PM
Re: Starting PerfView from Command Line
Adding to Rick & Alan's solution, here is a generalized way to get your IPAddress and set the DISPLAY variable:
# DISPLAY=`who -Rmu|awk '{print $NF}'|nslookup|awk '$1~/Address/ {print $2}'`:0
#export DISPLAY
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-01-2000 01:08 PM
тАО11-01-2000 01:08 PM
Re: Starting PerfView from Command Line
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:
if [ ! "$DISPLAY" ]
then
DISPLAY=`who -Rm | awk -F '[()]' '{print $2}'`:0
export DISPLAY
fi
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-01-2000 01:15 PM
тАО11-01-2000 01:15 PM
Re: Starting PerfView from Command Line
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2000 05:42 AM
тАО11-02-2000 05:42 AM
Re: Starting PerfView from Command Line
Best Regards,
Dave