05-25-2007
Mahesh,
Please eloborate your request. I am not getting you exactly .
-Thambi
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have an Solaris 8 machine running a managment application. One of the features of this application is to configure alarm forwarding to an email undress.
When i configured the application to do that, it asked me only about the recipient email address.
Quesiton: how to configure my Solaris 8... (7 Replies)
Discussion started by: bcheaib
7 Replies
2. Shell Programming and Scripting
Hi Everyone,
I'm using the uuencode command with the mail command to send out emails through a UNIX script. The problems is that i have a number of gif files that i need to attach to a single email but the number and name of the gif files is not static. Example today the folder home/Desktop may... (4 Replies)
Discussion started by: nbvcxzdz
4 Replies
3. UNIX for Dummies Questions & Answers
hi,
is there any possiblity to send email from the command prompt,
for eg
i want to send alert to any mail id
like /data/logs is 80% to my hotmail account , xxx@hotmail.com
is this really possible,,
if not, then what are the prerequistes need to do this (1 Reply)
Discussion started by: vasikaran
1 Replies
4. Shell Programming and Scripting
Hi All,
I am currently using the following script to send the single file to one/more email addresses. I need to send mutilple files at same time, are there anyway I could modify the script or write new one to accomplish the same.
Script
***************
#!/bin/ksh
# Author: Manish... (4 Replies)
Discussion started by: lapisguy
4 Replies
5. UNIX and Linux Applications
Hi friends
I have syslog-ng installed in RHEL5 server, I make it as CEntral log for all servers in my network, Filtered by IP
Now What I want to do is make it send to me an email for a specific log for one of my server, In other word when any log sent from this IP (192.168.1.1 ) For... (4 Replies)
Discussion started by: reaky
4 Replies
6. HP-UX
Hi,
I am executing the following command in order to send a file as an attachment:
mailx -s "Subject" emailID@xyz.com < Testfile.txt
Instead of attaching the file Testfile.txt, it is writing the contents of the file in the email message body. Please advise on how I can send the file as an... (7 Replies)
Discussion started by: sangharsh
7 Replies
7. Linux
I have used an already-built ActiveX control to send email from my asp web pages. One of the parameters I fill is FromName which defines the tittle the recipient will see in the From entrance in his Inbox.
Now Iīm trying to use mail to send an email from a Shell but I havenīt found the... (1 Reply)
Discussion started by: RandomAccess
1 Replies
8. Shell Programming and Scripting
Hello,,
I am loading data into the 4 tables from 4 different input files.
The data gets loaded, and the e-mail is also sent to the user, but the log files for all the 4 files is not been sent..
I am trying to send e-mail to users with the log file as attachment.
The script is as follows:... (30 Replies)
Discussion started by: msrahman
30 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I need to zip 4 files and send an email attaching the zipped files...
Pls help..
Win
---------- Post updated at 10:49 AM ---------- Previous update was at 10:36 AM ----------
Hi,
I need to convert 4 text files into xls,zip these 4 files and send an email attaching the... (2 Replies)
Discussion started by: win4luv
2 Replies
10. Shell Programming and Scripting
This is my first time writing a script and Im having some trouble,
Im trying to use the top command to monitor processes and the amount of CPU usage they require, my aim is to get an email if a process takes over a certain percentage of CPU usage
I tried grep
Obviosly that hasnt worked,
Any... (8 Replies)
Discussion started by: jay02
8 Replies
LEARN ABOUT CENTOS
tevent_queue_tutorial
tevent_queue_tutorial(3) tevent tevent_queue_tutorial(3)
NAME
tevent_queue_tutorial - The tevent_queue tutorial
Introduction
A tevent_queue is used to queue up async requests that must be serialized. For example writing buffers into a socket must be serialized.
Writing a large lump of data into a socket can require multiple write(2) or send(2) system calls. If more than one async request is
outstanding to write large buffers into a socket, every request must individually be completed before the next one begins, even if multiple
syscalls are required.
To do this, every socket gets assigned a tevent_queue struct.
Creating a serialized async request follows the usual convention to return a tevent_req structure with an embedded state structure. To
serialize the work the requests is about to so, instead of directly starting or doing that work, tevent_queue_add must be called. When it
is time for the serialized async request to do its work, the trigger callback function tevent_queue_add was given is called. In the example
of writing to a socket, the trigger is called when the write request can begin accessing the socket.
How does this engine work behind the scenes? When the queue is empty, tevent_queue_add schedules an immediate call to the trigger callback.
The trigger callback starts its work, likely by starting other async subrequests. While these async subrequests are working, more requests
can accumulate in the queue by tevent_queue_add. While there is no function to explicitly trigger the next waiter in line, it still works:
When the active request in the queue is done, it will be destroyed by talloc_free. Talloc_free of an serialized async request that had been
added to a queue will trigger the next request in the queue via a talloc destructor attached to a child of the serialized request. This way
the queue will be kept busy when an async request finishes.
Example
* Metze: Please add a code example here.
*
Version 0.9.8 Tue Jun 17 2014 tevent_queue_tutorial(3)