10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I have a db server with two instances...trying to create an expect script that will scan both the listener and the alert log files and retrieve their sizes.
Issue we have is that the .profile is hard coded with one of the databases name and script is always pulling from the same instance (testdb1)... (1 Reply)
Discussion started by: donpasscal
Suppose I declare
pthread_create(&clear_thread, &detach, clear_message, this);
the thread is supposed to go away, perform the service it is intended to procide, and then kill itself.
A little while later, I require this service again, so I say
... (2 Replies)
Discussion started by: clerew
Hello. This shouldn't be an unusual problem, but I cannot find anything about it at google or at other search machine.
So, I've made an application using C++ and QtCreator. I 've made a new mime type for application's project files.
My system (ubuntu 10.10), when I right click a file and I... (3 Replies)
Discussion started by: hakermania
4. Shell Programming and Scripting
This is my text file I'm trying to Grep.
Apple Location Greenland Rdsds dsds fdfd ddsads http Received Return Immediately Received End
My Grep command:
grep only--matching 'Location.*Received'
Because the keyword Received appears twice, the Grep command will stop at the last... (3 Replies)
Discussion started by: spywarebox
5. Shell Programming and Scripting
Could you please let me know how to create/make a multiple instances of a job/process in ksh(shell scripting).
i.e., at present the parent script is calling another child/dependent script for only once.
What we want is, the parent script itself has to execute multiple times, and in each one it... (1 Reply)
Discussion started by: Gangegowda
i am new to AIX and to this forum as well. Can you please help me out with following issue/requirement
1) I have one physical volume (pv1) (a scsi disk). (pv1) on 1st AIX machine. I have a single volume group on it(vg1).
2)I removed it from the 1st AIX machine and exported to the 2nd... (1 Reply)
Discussion started by: navadeep
7. Shell Programming and Scripting
I have a requirement like this. i use solaris OS..
if there are 2 instances of the same ksh file running in the directory, i need to kill the ksh file that started to run latest.
suppose ragha.ksh starts running thru cron in abc/xyz directory
now ragha.ksh started running by any... (3 Replies)
Discussion started by: ragha81
8. UNIX for Advanced & Expert Users
I have a box running SUSE SLES 8 and in the past few months the box will randomly spawn thousands of instances of /USR/SBIN/CRON to the point where the box will lock up entirely. Upwards of 14000 instances! I imagine it's using up all of the available files that can be opened at one... (10 Replies)
Discussion started by: sysera
9. UNIX for Dummies Questions & Answers
I am capturing text based reports with a specific program, which works no problem. However, since I send report warehouse output as they are migrated from the database software, on occasion when two capture process' initiate simultaneously, the capture file locks up. Is there a way to setup (in... (1 Reply)
Discussion started by: gozer13
10. UNIX for Advanced & Expert Users
I would like to start up multiple instances of syslog daemon. I am having a little difficulty. Is this at all possible?
I have separate syslog.conf1.... syslog.conf5 files.
I have linked the daemon to separate files syslogd1 ... syslogd5
I have arranged the rcd.2 start/stop scripts for... (9 Replies)
Discussion started by: Gary Dunn
ypset(8) System Manager's Manual ypset(8)
ypset - point ypbind at a particular server
/usr/sbin/ypset [-V1 | -V2] [-d domain] [-h host] server
Bind server for the (old) v.1 NIS protocol. Bind server for the (current) v.2 NIS protocol.
If no version is supplied, ypset, first attempts to set the domain for the (current) v.2 protocol. If this attempt fails, ypset,
then attempts to set the domain for the (old) v.1 protocol. Set ypbind's binding on host, instead of locally. The host can be spec-
ified as a name or as an address. Use domain, instead of the default domain.
The ypset command tells ypbind to get Network Information Service (NIS) map information for the specified domain from the ypserv process
running on server. If server is down, or isn't running ypserv, this is not discovered until an NIS client process tries to get a binding
for the domain. At this point, the binding set by ypset will be tested by ypbind. If the binding is invalid, ypbind will attempt to
rebind for the same domain.
The ypbind process will refuse ypset requests unless -ypset or -ypsetme are specified when ypbind is started.
The ypset command is useful for binding a client node which is not on a broadcast net, or is on a broadcast net which isn't running an NIS
server host. It also is useful for debugging NIS client applications, for instance where an NIS map only exists at a single NIS server
In cases where several hosts on the local net are supplying NIS services, it is possible for ypbind to rebind to another host even while
you attempt to find out if the ypset operation succeeded. For example, you can type: % ypset host1 % ypwhich host2
which can be confusing. This is a function of the NIS subsystem's attempt to load-balance among the available NIS servers, and occurs when
host1 does not respond to ypbind because it is not running ypserv (or is overloaded), and host2, running ypserv, gets the binding.
The server indicates the NIS server to bind to, and can be specified as a name or an address. If specified as a name, ypset will attempt
to use NIS services to resolve the name to an address. This will work only if the node has a current valid binding for the domain in ques-
tion. In most cases, server should be specified as an address.
Refer to ypfiles(4) and ypserv(8) for an overview of NIS.
Commands: ypwhich(1), ypserv(8)