04-28-2012
Have you tried out Nagios with custom plug-ins?
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Lets say a user starts a process (either a shell script or a Perl script) and before that process finishes, he logs out (either intentionaly or network problems or ...), does the process continu running ?
Default shell is Korn.
This is because at my job (being trained), there are tasks to run... (2 Replies)
Discussion started by: Browser_ice
2 Replies
2. Solaris
Hi,
How to get the logs for successfully executing of a solaris command?
Where the logs will be stored?
How to know that the commands is executed successfully or not?
Thanks,
Susi. (4 Replies)
Discussion started by: susinthaa
4 Replies
3. UNIX for Dummies Questions & Answers
Is there a place were the system stores logs of command's? like does it log whatever changes I made?
I'm using a Centos 5.x box
Thank you (2 Replies)
Discussion started by: mcraul
2 Replies
4. UNIX for Advanced & Expert Users
On my application there are lots of users are doing there work or tasks? ...In my SSH or in 'Putty' i am observing logs?
Hot to observe one particular 'user' logs.. even through there are lots of users working on it?
For EX: i am log in with use rid:nikhil@in.com. another one log in with... (4 Replies)
Discussion started by: ksr.test
4 Replies
5. Shell Programming and Scripting
Hi,
I have a script, running on some outside firwall server and it's log of success or failure is maintained in a file.
I want to write a script which ftp that server and reads that file and checks the logs and if failure , I will send mail notification.
Please let meknow if I am not... (1 Reply)
Discussion started by: vandana.parwani
1 Replies
6. Shell Programming and Scripting
Hey just need one simple syntax to search for the string from the Live Running Logs. The strings are placed in a $infile & everytime the script should pull each string from $infile and should provide as an input for grepping from Live running logs on a rotational basis.
So here are the Contents... (14 Replies)
Discussion started by: raghunsi
14 Replies
7. UNIX for Advanced & Expert Users
Hello. Hopefully this is the right forum, did a search and found some similar questions here.
I'm trying to find out if there is a way to get the job id while submitting a job using qsub. I want to monitor the list of active jobs using qstat and when my jobid is no longer on the active list, I... (3 Replies)
Discussion started by: aeoleon88
3 Replies
8. Shell Programming and Scripting
Hi, please help me to collect the entire log files between two time stamp.
for example,
I am looking script to collect the entire log between "2015-03-27 15:59" to "2015-03-27 16:15" in the below sample log file.
OS : RHEL 6.3
Date/Time : 24 hours format, the time is printing each log... (12 Replies)
Discussion started by: jerryknj
12 Replies
9. UNIX for Advanced & Expert Users
Hi,
I need help on syslog-ng on RHEL 7.2. It is working as expected.
As per configuration, it is supposed to create authlog, messages and xymessages daily in respective folder of date. But I can see only messages file and that is also not updating well.
# ps -ef | grep -i syslog
root 22954... (1 Reply)
Discussion started by: solaris_1977
1 Replies
LEARN ABOUT OSF1
cfg_configure
cfg_configure(9r) cfg_configure(9r)
NAME
cfg_configure - General: Loads and configures a kernel subsystem
SYNOPSIS
#include <sys/sysconfig.h>( ); cfg_status_t cfg_configure(
char *subsys );
ARGUMENTS
Specifies the name of the subsystem to be configured.
DESCRIPTION
The cfg_configure routine is used to configure a subsystem. If the subsystem is not loaded into the kernel, this routine loads the subsys-
tem. The routine then configures the subsystem using the attribute settings from the /etc/sysconfigtab database. If no attributes are set
in the database, the default values defined in the subsystem code are used.
Each subsystem is contained in a module pointed to by subsystem-name.mod. For example, a subsystem named mysubsystem is contained in the
mysubsystem.mod module file. This module file must exist in the /subsys, /var/subsys, or /sys/BINARY directory on the system you are con-
figuring.
The mysubsystem.mod file must include two things:
The subsystem's attribute table, named mysubsystem_attributes[] The subsystem's configure routine, named mysubsystem_configure()
Refer to the /usr/examples/cfgmgr.c file for an example of a sample subsystem.
RETURN VALUES
This routine returns 32-bit values composed of subsystem status and framework status segments. The upper 16 bits is the subsystem status
(CFG_STATUS_SUBSYS) and the lower 16 bits is the frame status (CFG_STATUS_FRAME). The return values are organized as follows:[Upper subsys-
tem 16 bits][Lower framework 16 bits]
The subsystem staus is returned by the subsystem's configure routine and can be any error in errno.h. The framework status is returned by
the configuration framework; the possible values are defined in <sys/sysconfig.h> as CFG_FRAME_Exxx. A successful operation has ESUCCESS(0) returned in both status segments.
See the cfg_errno(9r) and errno(2) reference pages for more details about error numbers and status.
EXAMPLE
A subsystem may be configured using the cfg_configure kernel routine as follows:
status = cfg_configure(subsystem_name);
SEE ALSO
Routines: cfg_subsys_config(3), cfg_query(9r), cfg_reconfigure(9r), cfg_subsysop(9r), cfg_unconfigure(9r)
Other: errno(2)
cfg_configure(9r)