10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi ,
I have file FSN.log which contains number 100. i have other Perl script when i run it , it ll increment this FSN.log value.
now my requirement is
when the count in FSN.log becomes 999, it should make the value to 100 again and Perl script to change the date or it should make the date... (2 Replies)
Discussion started by: santhoshks
2 Replies
2. Shell Programming and Scripting
Hello Folks
I am looking for logic help for below scenerio with respect to AIX n unix script
1) We need to get the date of all the saturday in yr
2) L_o left over days is weeks left over days for previous month for eg.
first sat of feb is 4th of feb in that week we have 29 - 30 - 31 from Jan... (2 Replies)
Discussion started by: joshiamit
2 Replies
3. Emergency UNIX and Linux Support
Hi,
my file has the data like below:
11,231,ABCVAV
22,AAHJHAj22,hdsjkhdls
22,dhskjhdkshd
22,gdgkdkadh
11,232,dgsjgdjh
22,ghdskahdkja
22,shdkajshs
11,233,ddjs
22,dhjkahkd
22,hsajhaah
11,231,sjkjsjj
22,ahkh
22,hsakh
From the above i need only the records which starts as 11,231... (5 Replies)
Discussion started by: pandeesh
5 Replies
4. Shell Programming and Scripting
Hi,
My input file contains
1,2
2,4
3,6
4,9
9,10
My expected output is
1,10
2,10
3,6
4,1
9,10 (6 Replies)
Discussion started by: pandeesh
6 Replies
5. Shell Programming and Scripting
Can a script that calls another script exit and end while the called script is still running? If so, how can this be made to happen? (1 Reply)
Discussion started by: Harleyrci
1 Replies
6. Shell Programming and Scripting
hi,
i am having three files which is having following data
file1:
field1 field2 field3
1 A B
2 C D
3 E F
file2:
4 G H
1 I J
5 K L
file3:
4 M N (3 Replies)
Discussion started by: angel12345
3 Replies
7. Shell Programming and Scripting
hi all,
i have to schedule an email containing the information about some orphan connections existing on the server depending upon the system date. the format of the info to be sent in email is :
Process id username servername time when connection... (0 Replies)
Discussion started by: Priyanka S
0 Replies
8. Shell Programming and Scripting
Given the scenario like this, if at all if have to use IFS on the below given example, how it should be used.
IFS=/
eg:
/xyz/123/348/file1
I want to use the last slash /file1 . So can anyone, suggest me how to pick the last "/" as a IFS. (4 Replies)
Discussion started by: raghunsi
4 Replies
9. IP Networking
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)
Discussion started by: swatidas11
1 Replies
10. Shell Programming and Scripting
#!/usr/bin/ksh
Archive_Dir='/apps/SrcFiles/MTCHG_GFTS/BRGR/Archive'
Source_Dir='/apps/SrcFiles/MTCHG_GFTS/BRGR'
cd $Source_Dir
HOST='xyz.abc.com'
USER='abcOUT'
PSW='xyzOUT'
file="Request*.pgp"
for i in 1 2 3 4 5 6
do
sftp $USER@$HOST <<END_SCRIPT
$PSW
bin
if ] ; then
... (3 Replies)
Discussion started by: alfredo123
3 Replies
Apache::XMLRPC::Lite(3pm) User Contributed Perl Documentation Apache::XMLRPC::Lite(3pm)
NAME
Apache::XMLRPC::Lite - mod_perl-based XML-RPC server with minimum configuration
SYNOPSIS
httpd.conf (Location), directory-based access
<Location /mod_xmlrpc>
SetHandler perl-script
PerlHandler Apache::XMLRPC::Lite
PerlSetVar dispatch_to "/Your/Path/To/Deployed/Modules, Module::Name, Module::method"
PerlSetVar options "compress_threshold => 10000"
</Location>
httpd.conf (Files), file-based access
<FilesMatch ".xmlrpc$">
SetHandler perl-script
PerlHandler Apache::XMLRPC::Lite
PerlSetVar dispatch_to "/Your/Path/To/Deployed/Modules, Module::Name, Module::method"
PerlSetVar options "compress_threshold => 10000"
</FilesMatch>
.htaccess, directory-based access
SetHandler perl-script
PerlHandler Apache::XMLRPC::Lite
PerlSetVar dispatch_to "/Your/Path/To/Deployed/Modules, Module::Name, Module::method"
PerlSetVar options "compress_threshold => 10000"
DESCRIPTION
This Apache Perl module provides the ability to add support for XML-RPC protocol with easy configuration (either in .conf or in .htaccess
file). This functionality should give you lightweight option for hosting SOAP services and greatly simplify configuration aspects. This
module inherites functionality from XMLRPC::Transport::HTTP::Apache component of XMLRPC::Lite module.
CONFIGURATION
The module can be placed in <Location>, <Directory>, <Files>, <FilesMatch> directives in main server configuration areas or directly in
.htaccess file.
All parameters should be quoted and can be separated with commas or spaces for lists ("a, b, c") and with 'wide arrows' and commas for hash
parameters ("key1 => value1, key2 => value2").
All options that you can find in XMLRPC::Transport::HTTP::Apache component are available for configuration. Here is the description of most
important ones.
dispatch_to (LIST)
Specifies path to directory that contains Perl modules you'd like to give access to, or just list of modules (for preloaded modules).
PerlSetVar dispatch_to "/Your/Path/To/Deployed/Modules, Module::Name, Module::method"
options (HASH)
Specifies list of options for your module, for example threshold for compression. Future versions will support more options. See
XMLRPC::Transport::HTTP documentation for other options.
PerlSetVar options "compress_threshold => 10000"
METHODS
/SUBROUTINES
server
my $server = Apache::XMLRPC::Lite->server();
Returns the server object.
Useful if you need to manipulate the server object from your code.
handle
Request handler. Called by apache.
DEPENDENCIES
XMLRPC::Lite
mod_perl
SEE ALSO
XMLRPC::Transport::HTTP::Apache for implementation details,
XMLRPC::Lite for general information, and
F<examples/server/mod_xmlrpc.htaccess> for .htaccess example
COPYRIGHT
Copyright (C) 2000-2001 Paul Kulchenko. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
AUTHOR
Paul Kulchenko (paulclinger@yahoo.com)
perl v5.12.4 2011-08-18 Apache::XMLRPC::Lite(3pm)