01-26-2007
What is your goal basically?Why you want to capture?
7 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi I have a command in a script .
/usr/bin/iostat -E
I would like to place an entry in /var/adm/messages (via syslog) as a daemon.notice using the logger command but i just cant work out the syntax for this , do I pipe the output of iostat into logger? or is it redirected...can somebody give me... (1 Reply)
Discussion started by: hcclnoodles
1 Replies
2. UNIX for Dummies Questions & Answers
Hi,
Whenever i press the backspace key, a new line appears, i.e. it works like a enter key. :confused:
Thanks (2 Replies)
Discussion started by: vibhor_agarwali
2 Replies
3. Solaris
Hi,
I have an application log file and I am redirecting it to syslog
...| logger -p user.err
Howver, the size redirected is too arge and I am seeking a way to filter what to redirect to syslog.
any mean to do this, knowing that I do not want to decrease the log level of the app?
... (1 Reply)
Discussion started by: melanie_pfefer
1 Replies
4. Cybersecurity
Hi all,
Does anyone know if there is a tool in the market that could do the following when System Admin log to the server as root and perform activities according to his change request:
- trap or log his keystroke for the entire duration
- provide a report on the changes SA has made to the... (3 Replies)
Discussion started by: mohzub
3 Replies
5. Solaris
Hi, I've used the following way to set ssh public key authentication and it is working fine on Solaris 10, RedHat Linux and SuSE Linux servers without any problem. But I got error 'Server refused our key' on Solaris 8 system. Solaris 8 uses SSH2 too. Why? Please help. Thanks.
... (1 Reply)
Discussion started by: aixlover
1 Replies
6. Red Hat
When inserting a temperature logger into a Centos 7.0 machine, the relevant dmesg lines read:
usb 2-1.4: new full-speed USB device number 4 using ehci-pci
usb 2-1.4: New USB device found, idVendor=10c4, idProduct=82cd
usb 2-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb... (5 Replies)
Discussion started by: figaro
5 Replies
7. Shell Programming and Scripting
Hi,
On RHEL 7.2, I created below script in cronjob for every minute. If this process is found to be not running, it should record message in /var/adm/xymessages, start it and send email.
#!/bin/bash
source /export/home/prodadm/.bash_profile
if ;
then
... (8 Replies)
Discussion started by: ron323232
8 Replies
LEARN ABOUT MOJAVE
loggerappender
logger::appender(n) Object Oriented logging facility logger::appender(n)
__________________________________________________________________________________________________________________________________________________
NAME
logger::appender - Collection of predefined appenders for logger
SYNOPSIS
package require Tcl 8.2
package require logger::appender ?1.2?
::logger::appender::console -level level -service service ?options...?
::logger::appender::colorConsole -level level -service service ?options...?
_________________________________________________________________
DESCRIPTION
This package provides a predefined set of logger templates.
::logger::appender::console -level level -service service ?options...?
-level level
Name of the level to fill in as "priority" in the log procedure.
-service service
Name of the service to fill in as "category" in the log procedure.
-appenderArgs appenderArgs
Any additional arguments for the log procedure in list form
-conversionPattern conversionPattern
The log pattern to use (see logger::utils::createLogProc for the allowed substitutions).
-procName procName
Explicitly set the name of the created procedure.
-procNameVar procNameVar
Name of the variable to set in the calling context. This variable will contain the name of the procedure.
::logger::appender::colorConsole -level level -service service ?options...?
See ::logger::appender::colorConsole for a description of the applicable options.
BUGS, IDEAS, FEEDBACK
This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category logger
of the Tcllib SF Trackers [http://sourceforge.net/tracker/?group_id=12883]. Please also report any ideas for enhancements you may have for
either package and/or documentation.
KEYWORDS
appender, logger
CATEGORY
Programming tools
COPYRIGHT
Copyright (c) 2005 Aamer Akhter <aakhter@cisco.com>
log 1.2 logger::appender(n)