Please note that my code is following and not the previously posted -
Methyl,
answers to your queries -
# AIX OS -> 5.3.12.1 .
# Log file size varies from 30 KB to 0.13 GB daily.
# The number of times , we would try to start the component manager and stop it ,
we get the entry "component manager stopped" string in log file.
Please let me know any queries , looking fwd to your reply .
Hi
I am looking for the script which can move 1month old data from a TXT file.actully in this file data is appended on daily basis.pleasehalp me out.
Here is the file content :
$head abc.txt.
20070301130052,xxz.
20070307132111,cvasjchgjhcg
gacg
chjbgasjkchjk.... (3 Replies)
Hi
I have a script executing fine in Unix but in linux I am getting different result.
I have three files under /local/home/temp/Gen
test.sh
list.txt
shst.txt
Contents of test.sh
--------------------------
#!/bin/ksh
K=0;
SCRIPT_DIR=/local/home/temp/Gen
cat... (2 Replies)
Hi,
I am new to shell scripting and my below script is not giving result for 2 or more arguments. Can anyone help pls.
#!/bin/sh
sname=$(basename $(readlink -nf $0))
echo "This is $sname, running at $(date)"
echo "It is running on $(hostname)"
echo "Script being run by"
echo " User... (3 Replies)
I have five classes. 2 composition classes,1 aggregation class and 1 dependency class.I have coded all the classes but one of my test program is not giving me the expected result.I have the following classes:
TimeStamp
Interval (composition of 2 TimeStamps)
TimeSheet ( aggregation of many... (3 Replies)
my system get rebooted by its self after its came up i try to check the error log
P690/>errpt | more
Cannot open error message catalog /usr/lib/nls/msg/en_US/codepoint.cat.
The error report will still run, but it will not have explanatory messages
P690/>ls -lrt... (1 Reply)
Hi All,
OS: Linux 86x64 bits Red Hat Linux
I get the email alert for the following when Alert condition is set for 30:
/dev/sda1 99M 21M 74M 22% /boot
-> Below 30%(Should not get the email alert)
Expected output as per E-Mail alert:
/dev/sda3 20G ... (2 Replies)
Hi,
I hope someone can share there scripting fu on my problem,
I would like to delete the 3rd character from a random length of string starting from the end
Example
Output
Hope you can help me..
Thanks in advance.. (3 Replies)
I am seeing a scenario where in if the TIMEZONE environment variable value is set to nothing i.e. putenv "TIMEZONE=" the hardware clock is +1 to software clock.Pasted below the results displayed:
-> envShow
(global environment)
0: TSC_TIME_FROM_RESET=420150.971529 seconds
1:... (0 Replies)
Hello,
I am running below command as root user
#nodetool cfstats tests | grep "Memtable switch count"
Memtable switch count: 12
Where as when I try to run same command as another user it gives different result.
#su -l zabbix -s /bin/bash -c "nodetool cfstats tests | grep "Memtable switch... (10 Replies)
Hi,
i have a source file and have 3 columns and separated by "|" .i want to split this 3 columns in different variable.When i am executing this values indivisually giving correct result but when the same execute inside a for loop,it's giving issues.
Src file(jjj.txt)
-------... (8 Replies)
Discussion started by: raju2016
8 Replies
LEARN ABOUT DEBIAN
poe::component::irc::plugin::nickreclaim
POE::Component::IRC::Plugin::NickReclaim(3pm) User Contributed Perl Documentation POE::Component::IRC::Plugin::NickReclaim(3pm)NAME
POE::Component::IRC::Plugin::NickReclaim - A PoCo-IRC plugin for reclaiming your nickname
SYNOPSIS
use strict;
use warnings;
use POE qw(Component::IRC Component::IRC::Plugin::NickReclaim);
my $nickname = 'Flibble' . $$;
my $ircname = 'Flibble the Sailor Bot';
my $ircserver = 'irc.blahblahblah.irc';
my $port = 6667;
my $irc = POE::Component::IRC->spawn(
nick => $nickname,
server => $ircserver,
port => $port,
ircname => $ircname,
) or die "Oh noooo! $!";
POE::Session->create(
package_states => [
main => [ qw(_start) ],
],
);
$poe_kernel->run();
sub _start {
$irc->yield( register => 'all' );
# Create and load our NickReclaim plugin, before we connect
$irc->plugin_add( 'NickReclaim' =>
POE::Component::IRC::Plugin::NickReclaim->new( poll => 30 ) );
$irc->yield( connect => { } );
return;
}
DESCRIPTION
POE::Component::IRC::Plugin::NickReclaim - A POE::Component::IRC plugin automagically deals with your bot's nickname being in use and
reclaims it when it becomes available again.
It registers and handles 'irc_433' events. On receiving a 433 event it will reset the nickname to the 'nick' specified with "spawn" or
"connect", appendedwith an underscore, and then poll to try and change it to the original nickname. If someone in your channel who has the
nickname you're after quits or changes nickname, the plugin will try to reclaim it immediately.
METHODS
"new"
Takes one optional argument:
'poll', the number of seconds between nick change attempts, default is 30;
Returns a plugin object suitable for feeding to POE::Component::IRC's "plugin_add" method.
AUTHOR
Chris 'BinGOs' Williams
With amendments applied by Zoffix Znet
SEE ALSO
POE::Component::IRC
perl v5.14.2 2011-12-07 POE::Component::IRC::Plugin::NickReclaim(3pm)