08-20-2013
Hello,
You can set up a script for same, lets say script will send you an email when directory is 80% filled. then you can login to server and make the file empty or in script it self you can make the file empty, again it is up to your need.
Please let me know if you need any further suggestions.
Thanks,
R. Singh
9 More Discussions You Might Find Interesting
1. Programming
#include <stdio.h>
void main()
{
int Index=1;
char *Type=NULL;
Type = (char *)Index;
printf("%s",Type);
}
Getting coredump (5 Replies)
Discussion started by: vijaysabari
5 Replies
2. Programming
Is there any way to know the filename from an available file pointer. (2 Replies)
Discussion started by: bankpro
2 Replies
3. AIX
Hi All,
I have Network color laser printer which is to be configured in AIX5L.
The Model of the printer is OKI C3200.
Will it is supported with AIX 5..? I could not find any drivers for this.
Will any compatible drivers are available for this printer... I tried with the default drivers hplj-4... (2 Replies)
Discussion started by: helloajith
2 Replies
4. Programming
From reading my C book, Im aware that the integers have a maximum value which depends on what type of processor you are using (since they use 16-bit or 32-bit instructions).
Now I know pointers are very flexible, since they can reference anything, but in the case of integer pointers, can they... (4 Replies)
Discussion started by: JamesGoh
4 Replies
5. UNIX for Dummies Questions & Answers
awk -F^ '{ if ((($1 != "M") && ($5 != "2")) || (($1 != "S") && ($5 != "7"))) print $0}' welcome > welcome1
The "&&" and "||" in the above command is not working with awk.
When I run the above command, the same content of welcome is copied to welcome1 without any difference.
Your reply is... (12 Replies)
Discussion started by: karthickrn
12 Replies
6. Shell Programming and Scripting
Hi,
I have one file with the following details,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Account_Id Date Id Balance
44 9 1000.00 30 15-10-2173 10 1000.00 42 15-10-2173 10 1200.00 53 01-01-2008 10 1200.00
I need to split up the values in to the respective fields as follows,
... (7 Replies)
Discussion started by: Kattoor
7 Replies
7. Shell Programming and Scripting
am running the small script below.
count_a=48
count_b=48
if ; then
echo "Count matched"
else
echo "count not matched"
fi
I got the below output.
/bin/ksh: [48: not found
count not matched
It was giving the same error when I ran in another box. But I inculded /bin/ksh in the... (10 Replies)
Discussion started by: sathik
10 Replies
8. Shell Programming and Scripting
Hi
Need urgent help (2 Replies)
Discussion started by: premp26
2 Replies
9. Red Hat
Hi,
I have recently built a new DNS server and created a new zone.
I use an ESMTP server to handle mail and the new domain has been added to this.
I can send mail to gmail and other domain addresses but unable to send it to one particular domain. (DSN:Service Unavailable)
DNS... (2 Replies)
Discussion started by: Duffs22
2 Replies
LEARN ABOUT CENTOS
mail::spf::mech::ptr
Mail::SPF::Mech::PTR(3) User Contributed Perl Documentation Mail::SPF::Mech::PTR(3)
NAME
Mail::SPF::Mech::PTR - SPF record "ptr" mechanism class
DESCRIPTION
An object of class Mail::SPF::Mech::PTR represents an SPF record mechanism of type "ptr".
Constructors
The following constructors are provided:
new(%options): returns Mail::SPF::Mech::PTR
Creates a new SPF record "ptr" mechanism object.
%options is a list of key/value pairs representing any of the following options:
qualifier
domain_spec
See "new" in Mail::SPF::Mech.
new_from_string($text, %options): returns Mail::SPF::Mech::PTR; throws Mail::SPF::ENothingToParse, Mail::SPF::EInvalidMech
Creates a new SPF record "ptr" mechanism object by parsing the string and any options given.
Class methods
The following class methods are provided:
default_qualifier
qualifier_pattern
See "Class methods" in Mail::SPF::Mech.
name: returns string
Returns 'ptr'.
name_pattern: returns Regexp
Returns a regular expression that matches a mechanism name of 'ptr'.
Instance methods
The following instance methods are provided:
text
qualifier
params
stringify
See "Instance methods" in Mail::SPF::Mech.
domain_spec: returns Mail::SPF::MacroString
Returns the "domain-spec" parameter of the mechanism.
match($server, $request): returns boolean
Checks whether the mechanism's target domain name, or a sub-domain thereof, is a "valid" domain name for the given request's IP address
(see "ip_address" in Mail::SPF::Request), and returns true if it does, or false otherwise. See "valid_domain_for_ip_address" in
Mail::SPF::Util for how domains are validated. See RFC 4408, 5.5, for the description of an equivalent algorithm.
SEE ALSO
Mail::SPF, Mail::SPF::Record, Mail::SPF::Term, Mail::SPF::Mech
<http://tools.ietf.org/html/rfc4408>
For availability, support, and license information, see the README file included with Mail::SPF.
AUTHORS
Julian Mehnle <julian@mehnle.net>, Shevek <cpan@anarres.org>
perl v5.16.3 2014-06-10 Mail::SPF::Mech::PTR(3)