Hi,
Since last week our server become too slow when we try to run application on it. When we run top command, it show as below:
So it's nothing to do with heavy utilization, right? Can you give some opinion on what actually had happended?
Thank you very much... :b: (4 Replies)
I have data file with customer.dat, and this contains the customer names
>cat customer.dat
FirstName1 LastName1
FistName2 LastName1
FistName3 MiddleName3 LastName3
This file can contain areoun 100 customer names.
Regards, (1 Reply)
Hi,
I have an excel file that have a random count of columns/fields and what im trying to do is to only retrieve all the rows under 2 specific field headers.
I can use the usually command for awk which is awk 'print{ $1 $2}' > output.txt, but the location of the 2 specific field headers is... (9 Replies)
Hello,
I am using Redhat redhat 4 update 4 kernal 2.6. My server is some time suddenly running slow.
The averge cpu load goes up to 50 to 60. (There is only two CPU and usually, the averge load
is between 1 to 2.5) That time, i see, there are several sessions connected.
Normally, we have... (5 Replies)
I need to find all the files that have group Read or Write permission or files that have user write permission.
This is what I have so far:
find . -exec ls -l {} \; | awk '/-...rw..w./ {print $1 " " $3 " " $4 " " $9}'
It shows me all files where group read = true, group write = true... (5 Replies)
Hi,
We have smb client running on two of the linux boxes and smb server on another linux system. During a backup operation which uses smb, read of a file was allowed while write to the same file was going on.Also simultaneous writes to the same file were allowed.Following are the settings in the... (1 Reply)
Dear All,
I have a hard disk in solaris on which the write performanc is too slow.
The CPU , RAM memory are absolutely fine.
What might be reason.
Kindly explain.
Rj (9 Replies)
There is a big problem with the server (VPS based on OpenVZ, CentOS 5, 3GB RAM). The problem is the following. The first 15-20 minutes after starting the server is operating normally, the load average is less than or about 1.0, but then begins to increase sharply% wa, then hovers around 95-99%.... (2 Replies)
Discussion started by: draiphod
2 Replies
LEARN ABOUT DEBIAN
io::async::mergepoint
IO::Async::MergePoint(3pm) User Contributed Perl Documentation IO::Async::MergePoint(3pm)NAME
"IO::Async::MergePoint" - resynchronise diverged control flow
SYNOPSIS
This module as now been moved to its own dist of Async::MergePoint.
It is kept here as a trivial subclass for backward compatibility. Eventually this subclass may be removed. Any code using
"IO::Async::MergePoint" should instead use Async::MergePoint.
use Async::MergePoint;
my $merge = Async::MergePoint->new(
needs => [ "leaves", "water" ],
on_finished => sub {
my %items = @_;
# Make tea using $items{leaves} and $items{water}
}
);
Kettle->boil(
on_boiled => sub { $merge->done( "water", $_[0] ) }
);
Cupboard->get_tea_leaves(
on_fetched => sub { $merge->done( "leaves", $_[0] ) }
);
DESCRIPTION
Often in program logic, multiple different steps need to be taken that are independent of each other, but their total result is needed
before the next step can be taken. In synchonous code, the usual approach is to do them sequentially.
An "IO::Async"-based program could do this, but if each step involves some IO idle time, better overall performance can often be gained by
running the steps in parallel. A Async::MergePoint object can then be used to wait for all of the steps to complete, before passing the
combined result of each step on to the next stage.
A merge point maintains a set of outstanding operations it is waiting on; these are arbitrary string values provided at the object's
construction. Each time the "done" method is called, the named item is marked as being complete. When all of the required items are so
marked, the "on_finished" continuation is invoked.
When an item is marked as complete, a value can also be provided, which would contain the results of that step. The "on_finished" callback
is passed a hash (in list form, rather than by reference) of the collected item values.
AUTHOR
Paul Evans <leonerd@leonerd.org.uk>
perl v5.14.2 2012-10-24 IO::Async::MergePoint(3pm)