Sponsored Content
Operating Systems HP-UX Generate message in syslog.log Post 302917352 by vbe on Tuesday 16th of September 2014 08:16:20 AM
Old 09-16-2014
look at the man pages of the logger (1) command
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Modify script to generate a log file

I've seen several examples of scripts in thise forum about having a script generate a log file. I have a script that is run from cron and that monitors a file system for a specfic filename(s) and then performs some actions on them. Normally I call this script from another script (which the one... (2 Replies)
Discussion started by: heprox
2 Replies

2. Shell Programming and Scripting

Help generate report from log files

Hi Expert, I have some confusing to generate report from the log file as shown below: filename :test1.log start_time date end_time number code P 000029.621 20070823 000029 12134567890 111111111111 00 0 000 003... (4 Replies)
Discussion started by: bucci
4 Replies

3. Solaris

syslog message..!

I got my system sun fire 6800 hung later reboot after generating these message can any one help me on this to review these message..!! nfssrv: WARNING: nfsauth upcall failed: RPC: Operation in progress mountd: cannot accept connection: 19: error unknown (current state -1) KAVE00166-W The... (13 Replies)
Discussion started by: nicknihal
13 Replies

4. Programming

why I can't get syslog message?

I read Unix network programming by richard,in chap12.3,it say if call syslog() by using parameter LOG_USER,it should write a message in /var/adm/messages in Solaris,such as "connected from 10.1.1.2",example file inet/daytimetcpsrv2.c.I want to know which syslog file in FreeBSD7.0?I look for... (1 Reply)
Discussion started by: konvalo
1 Replies

5. AIX

Syslog - Message forwarded from

I am not a Unix / AIX admin, but am working with one that doesn't seem to know how to set up syslog to forward messages to me the way I need them. Every message they send me has "Message forwarded from <insert host name here>:" but I need it to only have the host name. In the examples below,... (2 Replies)
Discussion started by: mlbillow
2 Replies

6. UNIX for Dummies Questions & Answers

Syslog Message Columns

Hi all, I need your help with syslog columns. Currently I have a script as follows: (extract) for messages in `cat syslog_message_list.txt`; \ do \ grep $messages syslog.`date +%d%m%y`.log | \ tr -s " " | \ cut -d" " -f4,9- | \ sort -k3.2,3 -k2,2 -k1nr,1 | \ uniq -c | \ sort -k3.2,3... (6 Replies)
Discussion started by: wthomas
6 Replies

7. UNIX for Dummies Questions & Answers

Not able to generate boot.log.

Hi I m not able to find anything under boot.log file. Here is the output of boot.log files. As you can see nothing is getting written inside the boot.log files . How can i make all the events to be logged under boot.log file? # ls -ltr /var/log | grep boot -rw------- 1 root root 0... (6 Replies)
Discussion started by: pinga123
6 Replies

8. Shell Programming and Scripting

How can view log messages between two time frame from /var/log/message or any type of log files

How can view log messages between two time frame from /var/log/message or any type of log files. when logfiles are very big and especially many messages with in few minutes, I would like to display log messages between 5 minute interval. Could you pls give me the command? (1 Reply)
Discussion started by: johnveslin
1 Replies

9. Red Hat

Syslog Message

All thanks for the help in advance. I'm current have my syslog server built on RHEL5.7. I'm wondering how to I have the syslog messages categorized by hostname? Is that an option I can add to the syslog.conf? (1 Reply)
Discussion started by: aojmoj
1 Replies

10. Shell Programming and Scripting

How to tail -f logfile. if log file is generate every 1 HR.?

Hello, How to tail -f logfile. if log file is gennerate every 1 HR. I want it works automatically all the time. never changes it by manual. Thank ls -trl CybertonTransaction.* -rw-r--r-- 1 autobot robot 617071 Jul 9 00:02 CybertonTransaction.20130709-00.log -rw-r--r-- 1 autobot ... (12 Replies)
Discussion started by: ooilinlove
12 Replies
FusionInventory::Agent::Tools::Linux(3pm)		User Contributed Perl Documentation		 FusionInventory::Agent::Tools::Linux(3pm)

NAME
FusionInventory::Agent::Tools::Linux - Linux generic functions DESCRIPTION
This module provides some generic functions for Linux. FUNCTIONS
getDevicesFromUdev(%params) Returns a list of devices, by parsing udev database. Availables parameters: logger a logger object getDevicesFromHal(%params) Returns a list of devices, by parsing lshal output. Availables parameters: logger a logger object command the exact command to use (default: /usr/sbin/lshal) file the file to use, as an alternative to the command getDevicesFromProc(%params) Returns a list of devices, by parsing /proc filesystem. Availables parameters: logger a logger object getCPUsFromProc(%params) Returns a list of cpus, by parsing /proc/cpuinfo file Availables parameters: logger a logger object file the file to use (default: /proc/cpuinfo) getInfoFromSmartctl(%params) Returns some information about a drive, using smartctl. Availables parameters: logger a logger object device the device to use file the file to use getInterfacesFromIfconfig(%params) Returns the list of interfaces, by parsing ifconfig command output. Availables parameters: logger a logger object command the command to use (default: /sbin/ifconfig -a) file the file to use getInterfacesFromIp(%params) Returns the list of interfaces, by parsing ip command output. Availables parameters: logger a logger object command the command to use (default: /sbin/ip addr show) file the file to use perl v5.14.2 2012-06-25 FusionInventory::Agent::Tools::Linux(3pm)
All times are GMT -4. The time now is 06:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy