09-14-2009
I found the answer,
When we need some commands to run automatically through crontab, we need to execute them from the executable location,
Ex: /vs/bin/logCat -t30 >> /unused1/Monitoring/Log/log_110.txt
and
/vs/bin/tools/dfspace >> /unused1/Monitoring/Log/log_110.txt
would execute and write the logs with out any issues
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,,,
is there any possibility to install Linux in my P.C which is use Win98 without loose anything from my hard disk????
----------------------------------------------------------------------------------
Is it better for a newbie in this kind of OS to install Linux instead of... (5 Replies)
Discussion started by: spyros
5 Replies
2. UNIX for Dummies Questions & Answers
hi! how when i'm chattin inside com there was this chatter andi don't know what he did but he saw all my files inside my shell. what did he do? (4 Replies)
Discussion started by: hapiworm
4 Replies
3. Shell Programming and Scripting
may i know what
cp $1 $2
$0 $2
does? (12 Replies)
Discussion started by: C|[anti-trust]
12 Replies
4. UNIX for Dummies Questions & Answers
A red hat linux ftp server exists in which a file exists. My problem is I need to connect to this server from my windows xp terminal which is in the same network & retrieve the file then convert it to xcel for some data
Pls advs commands and procedure to connect to the machine...oh my god... (1 Reply)
Discussion started by: sauravjung
1 Replies
5. Solaris
I am confused c#t#d#s# once I learn the following :
slice 0 ...... 0 to 2520
slice 1....... 2521 to 2840
slice 6........2841 to 8891
slice 2........0 to 8891
really really confused. Please explain. (8 Replies)
Discussion started by: deltakutty
8 Replies
6. Ubuntu
Hello,
I am having a problem with Dual Booting Windows XP Pro and Linux Mint.
I have Three Hard Drives,
One Hard Drive has Linux Mint Loaded on it. When it is hooked up to the computer by itself it works great. This is an IDE Drive.
The Second Hard Drive has Window XP Pro loaded on it.... (3 Replies)
Discussion started by: Forextrading
3 Replies
7. Shell Programming and Scripting
Hi All,
I'm pretty new to this so please bear with me...
I'm trying to write a bash script to first search in a file for a string of characters; if the characters exist than skip the rest of the code until you get to the last line and run that command /sbdin/ldconfig; if the string doesn't... (2 Replies)
Discussion started by: gmdune
2 Replies
8. AIX
What happens to the shell when we include ' ' or "" in our commands ..And what happens if we use only the commands without single or double quotes.
I don't know the use of these things.
Can you please help me with simple example please ? using ls or grep
Thanks a lot (0 Replies)
Discussion started by: varun aravinth
0 Replies
9. UNIX for Beginners Questions & Answers
What happens to the shell when we include ' ' or "" in our commands ..And what happens if we use only the commands without single or double quotes.
I don't know the use of these things.
Can you please help me with simple example please ? using ls or grep
-Thanks a lot (3 Replies)
Discussion started by: varun aravinth
3 Replies
LEARN ABOUT DEBIAN
monitoring::livestatus::multi
Monitoring::Livestatus::MULTI(3pm) User Contributed Perl Documentation Monitoring::Livestatus::MULTI(3pm)
NAME
Monitoring::Livestatus::MULTI - connector with multiple peers
SYNOPSIS
use Monitoring::Livestatus;
my $nl = Monitoring::Livestatus::MULTI->new( qw{nagioshost1:9999 nagioshost2:9999 /var/spool/nagios/live.socket} );
my $hosts = $nl->selectall_arrayref("GET hosts");
CONSTRUCTOR
new ( [ARGS] )
Creates an "Monitoring::Livestatus::MULTI" object. "new" takes at least the server. Arguments are the same as in Monitoring::Livestatus.
METHODS
do
See Monitoring::Livestatus for more information.
selectall_arrayref
See Monitoring::Livestatus for more information.
selectall_hashref
See Monitoring::Livestatus for more information.
selectcol_arrayref
See Monitoring::Livestatus for more information.
selectrow_array
See Monitoring::Livestatus for more information.
selectrow_arrayref
See Monitoring::Livestatus for more information.
selectrow_hashref
See Monitoring::Livestatus for more information.
selectscalar_value
See Monitoring::Livestatus for more information.
errors_are_fatal
See Monitoring::Livestatus for more information.
warnings
See Monitoring::Livestatus for more information.
verbose
See Monitoring::Livestatus for more information.
peer_addr
See Monitoring::Livestatus for more information.
peer_name
See Monitoring::Livestatus for more information.
peer_key
See Monitoring::Livestatus for more information.
disable
$ml->disable()
disables this connection, returns the last state.
enable
$ml->enable()
enables this connection, returns the last state.
AUTHOR
Sven Nierlein, <nierlein@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2009 by Sven Nierlein
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.12.3 2010-07-04 Monitoring::Livestatus::MULTI(3pm)