Is there any facility to filter/identify the data calls and voice calls coming throug modem?
OR
Can we get the data or voice calls information through a script(preferably C Kermit)? (0 Replies)
Does anyone know some support issues on unix? I've worked on unix for years at the lower end and the only support I've done is reset print queues, send jobs to printer, kill phantom processes. I'm looking for a new job and I'm curious as to what other problems occur so I can research them. (1 Reply)
Apart from writing debug and statements in constructors is there any way by which we can trace the function call stack at any depth?
The issue that we always face is that when program crashes (Web Server running on Linux) we have no idea where it crashes and we have to do the hard way of... (1 Reply)
I have a netstat command set up with awk to show which ports my box is listening on. The -p switch shows the PID/program name, too, which ordinarily would be very handy. However, several entries show up as just "-" for the program name which makes it hard to identify what is keeping the port open.... (2 Replies)
Hi everyone,
I am new here in www.unix.com, i found this site because I am looking for an answer to this problem of mine.
I need to know a UNIX command to display an inode's thread id and process id.
Hope someone can help me on this.
Thanks :D (8 Replies)
I'm currently studying for my exam, and is practicing with sample exam questions.
However there is a question asking "Name THREE UNIX Directory system calls" and the answer given is "opendir, closedir and readdir", however the next question ask "Why is a write directory system call not included... (1 Reply)
Hi i am very new to programming in UNIX and don't understand the difference between a system call and a normal function call. Also can I implement system calls from within a program? If so could someone please give me an example of a system call from within a program. Lastly, when creating a... (1 Reply)
Hello All,
I am using netstat on HP-UX to retrieve the established network connections on my host. Can anyone please confirm how can I retrieve the PID and program name as well for these connections? These are available from the netstat version on Windows but I don't see PID and program name to... (10 Replies)
Hi All,
I am using netstat on AIX to grep info on all open connections. However, unlike on Linux(Centos), I do not get the PID and program name using netstat on AIX.
I need this info to be clubbed along with the information retrieved using netstat version of AIX. Is there a way this can be... (1 Reply)
Discussion started by: Vipin Batra
1 Replies
LEARN ABOUT DEBIAN
gearman::server
Gearman::Server(3pm) User Contributed Perl Documentation Gearman::Server(3pm)NAME
Gearman::Server - function call "router" and load balancer
DESCRIPTION
You run a Gearman server (or more likely, many of them for both high-availability and load balancing), then have workers (using
Gearman::Worker from the Gearman module, or libraries for other languages) register their ability to do certain functions to all of them,
and then clients (using Gearman::Client, Gearman::Client::Async, etc) request work to be done from one of the Gearman servers.
The servers connect them, routing function call requests to the appropriate workers, multiplexing responses to duplicate requests as
requested, etc.
More than likely, you want to use the provided gearmand wrapper script, and not use Gearman::Server directly.
METHODS
new
$server_object = Gearman::Server->new( %options )
Creates and returns a new Gearman::Server object, which attaches itself to the Danga::Socket event loop. The server will begin operating
when the Danga::Socket runloop is started. This means you need to start up the runloop before anything will happen.
Options:
port
Specify a port which you would like the Gearman::Server to listen on for TCP connections (not necessary, but useful)
create_listening_sock
$server_object->create_listening_sock( $portnum )
Add a TCP port listener for incoming Gearman worker and client connections.
start_worker
$pid = $server_object->start_worker( $prog )
($pid, $client) = $server_object->start_worker( $prog )
Fork and start a worker process named by $prog and returns the pid (or pid and client object).
SEE ALSO
gearmand
perl v5.10.1 2010-01-18 Gearman::Server(3pm)