06-21-2011
Unfortunatly not.
Put that in cron for future reports avalibility
Syslog should be your first look (e.g kernel will kill processes which hit the kernel limits, and write that in syslog )
Other then that, if you are using Nagios,HP OpenView/ SIM or alike, some data should be there.
If you want to catch 'what is wrong' you need to constantly monitor your HW and use monitoring tools like Nagios/OpenView/HPSIM, create rules and such.
Example, you use sar in cron to catch in what part of day/week/etc. the problems are occurring.
Presuming the time, write script / configure monitoring tool etc. to run some command when machine is constantly 100% or alike..
Last edited by Peasant; 06-21-2011 at 01:32 PM..
10 More Discussions You Might Find Interesting
1. AIX
Hello,
I get this message : "Value too large to be stored in data type" when I try to open a 3Gb file.
Can someone helps me to resolve the problem.
Thank you very much (5 Replies)
Discussion started by: limame
5 Replies
2. Shell Programming and Scripting
hi fndz.
Can you please help me with the code if I call a stored procedure from my shell script and stored procedure returns a cursor,
cursor output should be saved to a file (3 Replies)
Discussion started by: enigma_83
3 Replies
3. Shell Programming and Scripting
I have on file abc.txt
abc.txt:
20090807
Now I want to delete empty lines which has tap/whit spaces from abc.txt .and store the date value in the file into variable.some processs will update the this file with some date . if the process updtes thiis file with empty string , write the... (3 Replies)
Discussion started by: Gopal_Engg
3 Replies
4. HP-UX
Hi,
I am trying to fetch sysname and nodename using struct utsname. I have two HP-UX servers on with 10 characters and other with 13 characters host name. For the first one I am getting truncated 8 characters as output but for the second one i am getting "Value too large to be stored in data type"... (1 Reply)
Discussion started by: shivarajbm
1 Replies
5. UNIX for Dummies Questions & Answers
#!/bin/ksh
day=1
month=1
year=2012
if then
then
prevmonth=31
elif
then
prevmonth=30
elif
then
then prevmonth=29
elif
then prevmonth=29
else
prevmonth=28
fi (4 Replies)
Discussion started by: vagar11
4 Replies
6. Post Here to Contact Site Administrators and Moderators
I have posted some data on the forum which needs to be deletd ASAP.
The post here in question are
How to do in this in shell script?
How to modify this script?
How to resolve this error?
Error in code in linux?
Please remove all the parts from post :
i-d4411185 ... (6 Replies)
Discussion started by: Palak Sharma
6 Replies
7. Shell Programming and Scripting
Gents,
Kindly help me.
I have a file with empty values in selected column, I will like to fill the empty values with the previous value.
Example
Input file
X 4959 30010 66727.00 20457.001 1 1441 66512.00 20234.00 20520.001
X 4959 30010 66727.00 20457.001 145 ... (7 Replies)
Discussion started by: jiam912
7 Replies
8. Shell Programming and Scripting
Greetings Experts,
As part of automating the sql generation, I have the source table name, target table name, join condition stored in a file join_conditions.txt which is a delimited file (I can edit the file if for any reason). The reason I needed to store is I have built SELECT list without... (5 Replies)
Discussion started by: chill3chee
5 Replies
9. AIX
root@test8:/config1>oslevel -s
5300-01-00-0000
root@test8:/config1>oslevel -r
5300-01
while moving a file sized 9GB i got this message
root@test8:/configapp>mv bkp_14JUN16_oraapp_2.tgz /oraapp
bkp_14JUN16_oraapp_2.tgz: Value too large to be stored in data type.
possibly need APAR... (2 Replies)
Discussion started by: filosophizer
2 Replies
10. Shell Programming and Scripting
Hi,
Suppose I have a command:$ cmd1 | cmd2I need to send a message from cmd2 to cmd1 when I receive some a certain message from cmd1. How to do this?
I think that I have to know cmd1's PID and then in cmd2 send a message to this PID. How? (24 Replies)
Discussion started by: JackK
24 Replies
LEARN ABOUT SUSE
razor2::syslog
Razor2::Syslog(3) User Contributed Perl Documentation Razor2::Syslog(3)
NAME
Razor2::Syslog -- Syslog support for Razor2
SYNOPSIS
use Razor2::Syslog;
my $s=new Razor2::Syslog(Facility=>'local4',Priority=>'debug');
$s->send('see this in syslog',Priority=>'info');
DESCRIPTION
This module has been derived from Net::Syslog. Some optimizations were made to Net::Syslog, in particular support for keeping a socket
open. What follows is the documentation for Net::Syslog, which completely applies to this module.
Net::Syslog implements the intra-host syslog forwarding protocol. It is not intended to replace the Sys::Syslog or Unix::Syslog modules,
but instead to provide a method of using syslog when a local syslogd is unavailable or when you don't want to write syslog messages to the
local syslog.
The new call sets up default values, any of which can be overridden in the send call. Keys (listed with default values) are:
Name <calling script name>
Facility local5
Priority err
SyslogPort 514
SyslogHost 127.0.0.1
Valid Facilities are: kern, user, mail, daemon, auth, syslog, lpr, news, uucp, cron, authpriv, ftp, local0, local1, local2,
local3, local4, local5, local6
Valid Priorities are: emerg, alert, crit, err, warning, notice, info, debug
AUTHOR
Les Howard, les@lesandchris.com
Vipul Ved Prakash, mail@vipul.net
SEE ALSO
syslog(3), Sys::Syslog(3), syslogd(8), Unix::Syslog(3), IO::Socket, perl(1)
perl v5.12.1 2005-05-09 Razor2::Syslog(3)