05-12-2005
Hi,
we have corba component installed and running but pid not showing
ex: we will start the corba component using ./omniNames -start 9988&
but when i use ps -ef|grep omniNames it won't shows
what could be the problem?
thanks a lot for your quick support
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I have a shell scripting. This will take 7 digit number in each line and add 7 digit number with next subsequent lines ( normal addition ).
Eg:
0000001
0000220
0001235
0000022
0000023
...........
.........
........
Like this i am having around 1500000 records. After adding... (23 Replies)
Discussion started by: thambi
23 Replies
2. Shell Programming and Scripting
Hi all,
I am very new to shell scripting.I have the requirement like
one program is there, if it is running leave like that only and if it is stopped it has to be restart and once again keep watching and it is stopped we a have to restart once agian.I want a shell script for this.Please help me... (10 Replies)
Discussion started by: bhas85
10 Replies
3. UNIX for Dummies Questions & Answers
In LINUX(CentOS, RedHat) is there a way to have the banner statement appear before the logon instead of after the logon? In UNIX and Windows the banner appears before a person actually logs on, what I'm seeing in LINUX is that it appears after the login(ftp, telnet, SSH).
Thanks (0 Replies)
Discussion started by: ejjones
0 Replies
4. Solaris
hi ,
I have a Solaris server which is part of a domain. The IP for this Solaris box is allocated dyanamically by a DHCP. Everytime the solaris box is restarted the IP gets changed. Being an admin what should i do to find the new ip of the Solaris server sitting at my location? Till now i get... (2 Replies)
Discussion started by: BalajiUthira
2 Replies
5. Shell Programming and Scripting
I want to copy large amount of files aproximately more than 20,000 files from one file system to another file system, but it gives me error like:
#cd /opt/appserver/images
#cp * /opt/appserver02/public/images
Argument list is too long
Also above mention error appear again when i run:
... (1 Reply)
Discussion started by: telnor
1 Replies
6. Shell Programming and Scripting
Hello everyone, I'm in need of some assistance. I'm currently enrolled in an introductory UNIX shell programming course and, well halfway through the semester, we are receiving our first actual assignment. I've somewhat realized now that I've fallen behind, and I'm working to get caught up, but for... (1 Reply)
Discussion started by: MrMagoo22
1 Replies
7. Shell Programming and Scripting
Hi All,
I am using the below script which has awk command, but it is not returing the expected result. can some pls help me to correct the command.
The below script sample.ksh should give the result if the value of last 4 digits in the variable NM matches with the variable value DAT. The... (7 Replies)
Discussion started by: G.K.K
7 Replies
8. Shell Programming and Scripting
Hi,
when i am trying below script
assume that below values are taken in code
#!/bin/ksh
if
then
echo usage: aNlist.sh QMGR NAME MQREQ
fi
NL=`echo 'dis qmgr'|runmqsc $1|grep REPOSNL|sed 's/.*REPOSNL\(.*\).*/\1/' |cut -d'(' -f2|cut -d')' -f1`
echo 'define nl('$NL_$2')... (25 Replies)
Discussion started by: darling
25 Replies
9. Shell Programming and Scripting
Hi All,
I have a small queries to get the character count
i tried with wc -c and wc -m but its not returend current result
For eg:
wc -c
wc -m
echo "Name" | wc -c
result: 5 but actually it should returned 4
Help me on this to ge the correct one.
Thanks!
----------... (4 Replies)
Discussion started by: siva.pitchai
4 Replies
LEARN ABOUT SUNOS
wsreg_add_required_component
wsreg_add_required_component(3WSREG) Product Install Registry Library Functions wsreg_add_required_component(3WSREG)
NAME
wsreg_add_required_component, wsreg_remove_required_component, wsreg_get_required_components - add or remove a required component
SYNOPSIS
cc [flag ...] file ...-lwsreg [library ...]
#include <wsreg.h>
int wsreg_add_required_component(Wsreg_component *comp, const Wsreg_component *requiredComp);
int wsreg_remove_required_component(Wsreg_component *comp, const Wsreg_component *requiredComp);
Wsreg_component **wsreg_get_required_components(const Wsreg_component *comp);
DESCRIPTION
The wsreg_add_required_component() function adds the component specified by requiredComp to the list of required components contained in
the component specified by comp.
The wsreg_remove_required_component() function removes the component specified by requiredComp from the list of required components con-
tained in the component specified by comp.
The wsreg_get_required_components() function returns the list of required components contained in the component specified by comp.
RETURN VALUES
The wsreg_add_required_component() function returns a non-zero value if the specified required component was successfully added. Otherwise,
0 is returned.
The wsreg_remove_required_component() function returns a non-zero value if the specified required component was successfully removed. Oth-
erwise, 0 is returned.
The wsreg_get_required_components() function returns a null-terminated array of Wsreg_component pointers that represents the specified com-
ponent's list of required components. If the specified component has no required components, NULL is returned. The resulting array must
be released by the caller through a call to wsreg_free_component_array(). See wsreg_create_component(3WSREG).
USAGE
The relationship between two components in which one must be installed for the other to be complete is a dependent/required relationship.
The component that is required by the other component is the required component. The component that requires the other is the dependent
component.
The required component must be installed and registered before the dependent component can be. Uninstaller applications should check the
registry before uninstalling and unregistering components so a successful uninstallation of one product will not result in another product
being compromised.
Read access to the product install registry is required in order to use these functions because these relationships are held with light-
weight component references that can only be fully resolved using the registry contents.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|MT-Level |Unsafe |
+-----------------------------+-----------------------------+
SEE ALSO
wsreg_add_dependent_component(3WSREG), wsreg_can_access_registry(3WSREG), wsreg_create_component(3WSREG), wsreg_initialize(3WSREG),
wsreg_register(3WSREG), attributes(5)
SunOS 5.10 22 Sep 2000 wsreg_add_required_component(3WSREG)