Hi,
I have a program that runs two threads in stead of two processes. I want to use pipe to redirect the output of the first thread to the input of the second thread.
One thread is continuously writing to a pipe, and the other thread will read from the pipe.
How do I do that?
Is there... (2 Replies)
Hi All,
Please explain me when i have to use multiple process and when I have to use Multiple threads? Please give me an example.It will be very helpful for me.
Thanks in advance. (0 Replies)
I want to spawn n child processes but have two different classes..with the foremost one forking/spawning the child process and the latter performing a function w/ the spawned processes.
I can do this in one class with an if statement and the simple
if((pid=fork())==0) //child process
{
... (1 Reply)
Hi - I need help. My user crontab is spawning multiple at processes (and multiple mencoder program starts, that exit, then restart, repeatedly), locking up my system.
For example I have this entry in my crontab:
$ sudo crontab -u victoria -e
* * * * * ~/recordings/pvr1
* * * * *... (10 Replies)
Hi All,
I need some assistance, if possible...
Our IMAP server has recently (as of 10:30 GMT today) started spawning multiple processes for no reason! This is causing the mail server's load average to increase continually until the whole machine grinds to a halt.
Here is a typical... (0 Replies)
Hi,
I have a list of URLs in a csv file which I'm checking for page status. It just prints the URL and the status as output. This works perfectly fine.
I'm looking to run this in multiple threads to make this process faster.
I'm pretty new to Perl and I managed to complete this. It would be... (9 Replies)
Good night everyone, I've been trying to make AD authentication work with RBAC and I think I messed my test LPAR up.
I've manually modified the /etc/security/user.roles file, adding a role to one of my AD users (who is not defined locally) and then runned setkst. It worked fine, but now I found... (3 Replies)
Hello,
In a unix Solaris environment, (for simulation) how to start multiple threads (as Light Weight Process, not background process)?
thanks,
J. (7 Replies)
Hi , i need to run multiple scripts parallely ,on my server....i have 8 cpus . planning to run minimum of 6 scripts paralley ....could you please suggest someone .
thanks in advance , (3 Replies)
Discussion started by: Huvan
3 Replies
LEARN ABOUT HPUX
lvsync
lvsync(1M)lvsync(1M)NAME
lvsync - synchronize stale mirrors in LVM logical volumes
SYNOPSIS
lv_path ...
Remarks
This command requires the installation of the optional HP MirrorDisk/UX software (not included in the standard HP-UX operating system)
before it can be used.
If the logical volume input arguments belong to a combination of volume groups version 1.0 and 2.0 or higher, the arguments may not be pro-
cessed in the order they are listed on the command line.
DESCRIPTION
The command synchronizes the physical extents of each logical volume specified by lv_path. Synchronization occurs only on physical extents
that are stale mirrors of the original logical extent. The synchronization process can be time consuming, depending on the hardware char-
acteristics and the amount of data.
Arguments
recognizes the following argument:
lv_path The block device path name of a mirrored logical volume.
Options
recognizes the following option:
Perform mirror synchronization of logical volumes within a volume group
using multiple parallel threads. Logical volumes belonging to different volume groups will be synchronized serially. It
is possible that logical volumes start and/or complete their synchronization in a different order than specified on the
command line.
The maximum number of threads used can be controlled using the system tunable.
NOTE: This option has no effect if the volume group is activated in shared mode.
EXTERNAL INFLUENCES
Environment Variables
determines the language in which messages are displayed.
If is not specified or is null, it defaults to "C" (see lang(5)).
If any internationalization variable contains an invalid setting, all internationalization variables default to "C" (see environ(5)).
EXAMPLES
Synchronize the mirrors on a logical volume:
Synchronize the mirrors on three logical volumes using multiple parallel threads:
Add mirror copies using with the option for three logical volumes, and then synchronize mirrors on these three logical volumes using multi-
ple parallel threads.
First, add mirror copies to each logical volume using with the option:
Now synchronize the mirrors on these three logical volumes using multiple parallel threads:
SEE ALSO lvdisplay(1M), lvextend(1M), vgsync(1M).
Requires Optional HP MirrorDisk/UX Software lvsync(1M)