04-18-2011
Am trying to understand the points you have stated.
How is the notification mechanism handled? Is it email based or is it based on pub-sub model whether the notification and notification processing can be automated and be more real time.
Is this processing being extended a lot of hosts? Or is it just a single host for processing?
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
How do you capture the return code from a background process?
I am dumping data to a fifo and then processing it in a c program.
I need to know that the sql finished successfully to ensure no missing data. Thanks.
ex.
sqlplus user/password < get_data.sql > data_fifo.txt &
bin/process_data... (2 Replies)
Discussion started by: korndog
2 Replies
2. Shell Programming and Scripting
Hello Friends,
sorry, i am not very familiar with Unix programming. Could you please help me on this?
We have to start different components from a startup script.
each components are started as below in the background in a startprocess function
$nohup $file $args >>$logFile 2>&1 &
... (0 Replies)
Discussion started by: alvinbush
0 Replies
3. Solaris
Hello Friends,
sorry, i am not very familiar with Unix programming. Could you please help me on this?
We have to start different components from a startup script.
each components are started as below in the background in a startprocess function
$nohup $file $args >>$logFile 2>&1 &
... (1 Reply)
Discussion started by: alvinbush
1 Replies
4. Linux
I have script 3 scripts
1 parent
2 children
child1
child2
In the code below the 2 child processes fire almost Instantaneously in the background, Is that possible to know the status of pass/fail of each process "as it happens" ?
In the present scenario although Child2... (5 Replies)
Discussion started by: jville
5 Replies
5. Shell Programming and Scripting
I have script 3 scripts 1 parent (p1) and 2 children child1 and child2
I have script 3 scripts
1 parent
2 children
child1
child2
In the code below the 2 child processes fire almost Instantaneously in
the background, Is that possible to know the status of pass/fail of each
process... (12 Replies)
Discussion started by: jville
12 Replies
6. Shell Programming and Scripting
Ok guys so I have my first dummy shell almost done except for one tiny part: I do not know how to run a process in the background, from the code!
I already know how to do that in a normal shell:
$ program &
However, no clue when it comes to how to program that thing. :eek:
A very... (2 Replies)
Discussion started by: Across
2 Replies
7. Shell Programming and Scripting
Hi,
I have a schell script parent.ksh from which I am calling three background processes a.ksh,b.ksh and c.ksh. Once these three processes completes the next step in parent.ksh should execute. How to achieve this?
Please help me....
Thanks... (1 Reply)
Discussion started by: ravinunna
1 Replies
8. UNIX for Advanced & Expert Users
Hi All,
Iam trying to get a file processed and some lines have spaces...the below is not working
Want to remove empty line
Want to remove lines that start with #
Avoid line with substring WHOA
When trying to get the substring from the var also Iam having trouble
file is like VAR=VALUE,... (13 Replies)
Discussion started by: baanprog
13 Replies
9. Shell Programming and Scripting
Hello
I have a file which has around 120 lines of commands.
I am trying to write a shell script like which reads the 'command' file and executes line by line with some additional (common argument) with maximum 6 commands active at a time. Each of these commands when executed takes time... (5 Replies)
Discussion started by: JackyShane_36
5 Replies
LEARN ABOUT REDHAT
xml::grove::perlsax
XML::Grove::PerlSAX(3) User Contributed Perl Documentation XML::Grove::PerlSAX(3)
NAME
XML::Grove::PerlSAX - an PerlSAX event interface for XML objects
SYNOPSIS
use XML::Grove::PerlSAX;
$parser = XML::Grove::PerlSAX->new( [OPTIONS] );
$result = $parser->parse( [OPTIONS] );
# or
$result = $xml_object->parse( [OPTIONS] );
DESCRIPTION
"XML::Grove::PerlSAX" is a PerlSAX parser that generates PerlSAX events from XML::Grove objects. This man page summarizes the specific
options, handlers, and properties supported by "XML::Grove::PerlSAX"; please refer to the PerlSAX standard in `"PerlSAX.pod"' for general
usage information.
METHODS
new Creates a new parser object. Default options for parsing, described below, are passed as key-value pairs or as a single hash. Options
may be changed directly in the parser object unless stated otherwise. Options passed to `"parse()"' override the default options in
the parser object for the duration of the parse.
parse
Parses a document. Options, described below, are passed as key-value pairs or as a single hash. Options passed to `"parse()"' over-
ride default options in the parser object.
OPTIONS
The following options are supported by "XML::Grove::PerlSAX":
Handler default handler to receive events
DocumentHandler handler to receive document events
Source hash containing the input source for parsing
If no handlers are provided then all events will be silently ignored.
If a single grove argument is passed to the `"parse()"' method, it is treated as if a `"Source"' option was given with a `"Grove"' parame-
ter.
The `"Source"' hash may contain the following parameters:
Grove The grove object used to generate parse events..
HANDLERS
The following events are generated by "XML::Grove::PerlSAX". XML::Grove::PerlSAX passes the corresponding grove object as it's parameter
so the properties passed to the handler are those that were used to create or were assigned to the grove. Please see the docs for the
parser used to create the grove for a list of properties that were provided.
DocumentHandler methods
start_document
Receive notification of the beginning of a document. This is called from the XML::Grove::Document object before processing any docu-
ment content.
end_document
Receive notification of the end of a document. This is called from the XML::Grove::Document object after processing all document con-
tent.
start_element
Receive notification of the beginning of an element. This is called from the XML::Grove::Element object before processing any element
content.
end_element
Receive notification of the end of an element. This is called from the XML::Grove::Element object after processing all element con-
tent.
characters
Receive notification of character data. This is called from the XML::Grove::Characters object.
processing_instruction
Receive notification of a processing instruction. This is called from the XML::Grove::PI object.
comment
Receive notification of a comment. This is called from the XML::Grove::Comment object.
AUTHOR
Ken MacLeod, ken@bitsko.slc.ut.us
SEE ALSO
perl(1), XML::Grove(3)
Extensible Markup Language (XML) <http://www.w3c.org/XML>
perl v5.8.0 1999-08-17 XML::Grove::PerlSAX(3)