10-01-2015
All,
Thanks for your suggestions. I did a test with the DISPLAY variable, I have set it in my session and I get to see it when i use env, however when I look for it with pargs -e it's not there.
I'm looking to find the PID of the session that uses a certain value for the DISPLAY variable, so I need to search after the value of the variable also.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
How does the PATH and MANPATH environment variable get set?
I want to add "/opt/SUNWspro/bin" to the search path for all the users. Where can I access this variable.
I know in my home directory, depend on which shell I use, there are files such as .profile and .cshrc which I can edit to... (3 Replies)
Discussion started by: vtran4270
3 Replies
2. UNIX for Advanced & Expert Users
Installed a program, need to set the system up so that when the executable is entered, it finds the path to the executable. In Windows, set under system properties, advanced, environmental variables. How do I do this with Unix? Specifically using Solaris 9. I have tried:
env... (3 Replies)
Discussion started by: kohoutek
3 Replies
3. UNIX for Advanced & Expert Users
hi,
I have one environment variable like path in my system.But in my program i need to change that path .suppose it has a value "config" now i need to chage it as "config1" or something else.i need to use that variable for complete project.It means at first it will use the old path but after... (4 Replies)
Discussion started by: sada@123
4 Replies
4. Shell Programming and Scripting
hi all
i have joined new to the group.
i have set an variable in my bashrc file.
.bashrc
PROGHOME=/home/braf/braf/prog
export PROGHOME
but while using it in my shell script its path is not taken and i had to explicitly give the export command to set the path.
in my script... (8 Replies)
Discussion started by: krithika
8 Replies
5. Linux
Hi,
I am quite new to Linux. And I have doubt how to set new environment variable with value to a C executable.
Let say I have a environment variable $Hack ;
I would like to load a value for this variable; so that when the C executable is executed, the $Hack would set the variable value.
... (4 Replies)
Discussion started by: ahjiefreak
4 Replies
6. Solaris
I am working with solaris 9 sunBlade150 Box.
I Installed a program, need to set the environment variable so that when the executable is entered,it finds the path to the executable.
The documentation for the software says: Set the appropriate environment variable:
Connect to server failed;... (8 Replies)
Discussion started by: smartgupta
8 Replies
7. UNIX for Dummies Questions & Answers
hi,
i am new to perl:
os : Linux
i wrote simple perl script to select from table i am getting this error and how to set ORACLE_HOME environment variable :
script:
#!usr/bin/perl
use DBI;
use Mail::Sendmail;
#use Date::Calc;
use MIME::QuotedPrint;
use HTML::Entities;
use POSIX... (2 Replies)
Discussion started by: prakash.gr
2 Replies
8. Shell Programming and Scripting
Hi,
i have the following env variable. currently i am exporting variable in the same script file. but i need this is in a text file and the scripts need to export this variable from the text file.
can you please suggest me. is it possible.
export... (6 Replies)
Discussion started by: rsivasan
6 Replies
9. Shell Programming and Scripting
Hi,
I am looking for a shell script which serves the below purpose.
Please find below the algorithm for the same and any help on this would be highly appreciated.
1)set of strings need to be replaced among set of files(directory may contain different types of files)
2)It should search for... (10 Replies)
Discussion started by: Amulya
10 Replies
10. UNIX for Beginners Questions & Answers
Hello,
What will be the effect of environment variable, when mulitple sessions are opened by same login?
Following code snippet is part of a shell script.
Environment : HP-UX B.11.31 U ia64
For Example
EXECUTION_DIR=`pwd`/
EXECUTION_DIR_RT=${EXECUTION_DIR}RT/
export... (4 Replies)
Discussion started by: Siva SQL
4 Replies
pdweb(1M) pdweb(1M)
NAME
pdweb - start the HP-UX Peripheral Device tool, part of the System Management Homepage Web interface.
SYNOPSIS
Path:
DESCRIPTION
The HP-UX Peripheral Device tool (pdweb) can be used to easily and quickly view I/O devices and OLRAD cards. It helps manage hot pluggable
PCI slots on systems that support adding and replacing cards without rebooting. On all HP-UX systems, will display the I/O devices and can
be used to (re)create device files for a selected device.
The HP-UX Peripheral Device tool user interface uses a Web browser. Executing the command, with DISPLAY variable set and without any
options performs the following tasks:
o start the System Management Homepage Web server and
o start a Web client (browser)
An attempt will be made to connect to the browser specified with the BROWSER environment variable, or Mozilla, or Netscape. The Web
browser will be displayed on the X server defined by the DISPLAY environment variable. If a running browser is found, it will be used,
otherwise a new session will be initiated. This will only happen if the browser process is running on the same system used to exectue the
pdweb command (defined by the DISPLAY variable), unless the option is used.
Options
The recognizes the following options:
Opens the terminal interface for Cards and Devices regardless of the
current setting of the DISPLAY environment variable.
Forces a client browser to be used in less secure ways.
Two security features are overridden by the option.
The option forces the client browser to be used or started, even if the X-traffic between the X-server and the Mozilla
browser is not secure.
When is invoked by the option is used.
Only a priviledged user (root) can execute When used with the option, a temporary login bypass key will be generated. The
bypass key allows the user to access the Web interface without having to provide login information again.
Only use this option if you are sure the network traffic is secure between the host where Mozilla is running, and the host
in the DISPLAY variable.
The browser uses URL http://hostname:2301/ and you may paste this into any browser if a browser does open with the pdweb
command.
Online Help
Once the HP-UX Peripheral Device tool is started, the online help provides details on how to use the tool.
RETURN VALUES
Upon completion, returns one of the following values:
Successful.
An error occurred.
AUTHORS
pdweb was developed by Hewlett-Packard
SEE ALSO
hpsmh(1M), smhstartconfig(1M), olrad(1M), ioscan(1M), insf(1M)
pdweb(1M)