6 More Discussions You Might Find Interesting
1. Solaris
Hi,
When I sum the RSS number in the ps command for a specific user and compare it with the RSS values of the prstat command of the same user - there is a big difference.
Server details: Solaris 10 5/09 s10s_u7wos_08 SPARC
prstat output:
NPROC USERNAME SWAP RSS MEMORY TIME ... (2 Replies)
Discussion started by: amitlib
2 Replies
2. News, Links, Events and Announcements
If you want to submit your favorite UNIX.COM forum to RSS news feeds registries or directories, here is how:
The top level RSS link to the UNIX forums is:
https://www.unix.com/external.php
This is the default for the RSS type, which is:
https://www.unix.com/external.php?type=RSS
... (11 Replies)
Discussion started by: Neo
11 Replies
3. Post Here to Contact Site Administrators and Moderators
Hi Guys,
With the RSS feeds of new threads added to the forums, would it be possible to include the text of the post in the RSS body?
This means that i wouldn't have to keep clicking "view site" to see what the thread's about from my rss aggregator.
I've included 2 x screenshots below that... (11 Replies)
Discussion started by: craigp84
11 Replies
4. Shell Programming and Scripting
Hi all,
I know this is **awfully** general but.....
I have a script which does, basically...
for file in `find command`; do
some stuff
more stuff
echo '.\c'
done
I want to output the '.' char just to give an idea of progress. However, it works fine for a while and then I... (2 Replies)
Discussion started by: ajcannon
2 Replies
5. Shell Programming and Scripting
:confused: hi all,
i have csv file with three comma separated columns
i/p file
First_Name, Address, Last_Name
XXX, "456 New albany \n newyork, Unitedstates \n 45322-33", YYY\n
ZZZ, "654 rifle park \n toronto, canada \n 43L-w3b", RRR\n
is there any way i can remove \n (newline) from... (10 Replies)
Discussion started by: gowrish
10 Replies
6. Shell Programming and Scripting
Hi,
I have a fixed width flat file which has 1 as the first char and E as the last character. Some of the records have a carriage return /line feeds .
how do I remove them?
Let me know.
Thanks
VSK (8 Replies)
Discussion started by: vsk
8 Replies
Log::Dispatch::Email(3) User Contributed Perl Documentation Log::Dispatch::Email(3)
NAME
Log::Dispatch::Email - Base class for objects that send log messages via email
SYNOPSIS
package Log::Dispatch::Email::MySender
use Log::Dispatch::Email;
use base qw( Log::Dispatch::Email );
sub send_email
{
my $self = shift;
my %p = @_;
# Send email somehow. Message is in $p{message}
}
DESCRIPTION
This module should be used as a base class to implement Log::Dispatch::* objects that send their log messages via email. Implementing a
subclass simply requires the code shown in the SYNOPSIS with a real implementation of the "send_email()" method.
CONSTRUCTOR
The constructor takes the following parameters in addition to the standard parameters documented in Log::Dispatch::Output:
o subject ($)
The subject of the email messages which are sent. Defaults to "$0: log email"
o to ($ or @)
Either a string or a list reference of strings containing email addresses. Required.
o from ($)
A string containing an email address. This is optional and may not work with all mail sending methods.
o buffered (0 or 1)
This determines whether the object sends one email per message it is given or whether it stores them up and sends them all at once.
The default is to buffer messages.
METHODS
o send_email(%p)
This is the method that must be subclassed. For now the only parameter in the hash is 'message'.
o flush
If the object is buffered, then this method will call the "send_email()" method to send the contents of the buffer and then clear the
buffer.
o DESTROY
On destruction, the object will call "flush()" to send any pending email.
AUTHOR
Dave Rolsky, <autarch@urth.org>
perl v5.12.1 2009-09-22 Log::Dispatch::Email(3)