Sponsored Content
Top Forums UNIX for Dummies Questions & Answers How does Unix write events into event log? Post 302333629 by Corona688 on Monday 13th of July 2009 04:24:57 PM
Old 07-13-2009
You use the system logging daemon to write events to log files, see man 3 syslog for details.
 

2 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to write code for a Logging Event?

How do I know what parts of the application to monitor and what means do I use to get this data? Can I use proc? What interactions are important and how do I view them?I would be more descriptive but I have not a clue. Thanks in... (18 Replies)
Discussion started by: theKbStockpiler
18 Replies

2. Post Here to Contact Site Administrators and Moderators

Event Prediction - New Sports Events

Hi, Some sports predictions suggestions. Although the Celtics are still playing the Heat. Just being optimistic that they will win. Otherwise, please change to Heat. (9 Replies)
Discussion started by: ni2
9 Replies
hpiel(1)							      OpenHPI								  hpiel(1)

NAME
hpiel - An openhpi sample application that displays HPI event log entries. SYNOPSIS
hpiel [ -d -e -c -p -r -x -v -h ] DESCRIPTION
hpiel searches the RPT (Resource Present Table) for resources with SAHPI_CAPABILITY_EVENT_LOG and displays event log entries for resources found. OPTIONS
--del, -d display domain event log entries --entitypath="<arg>", -e "<arg>" display resource event log entries (e.g. -e "{SYSTEM_CHASSIS,2}{SBC_BLADE,5}") --clear, -c clear log before reading event log entries --resource, -p pull resource info along with log entry --rdr, -r pull RDR info along with log entry --xml, -x print output in xml format (not implemented) --verbose, -v print debug messages --help, -h print this usage message If neither -d or -e "<arg>" are specified, event log entries will be shown for all supporting resources by default. HPI APIs uniquely used in this application SaErrorT SAHPI_API saHpiEventLogInfoGet ( SAHPI_IN SaHpiSessionIdT SessionId, SAHPI_IN SaHpiResourceIdT ResourceId, SAHPI_OUT SaHpiEventLogInfoT *Info ); SaErrorT SAHPI_API saHpiEventLogEntryGet ( SAHPI_IN SaHpiSessionIdT SessionId, SAHPI_IN SaHpiResourceIdT ResourceId, SAHPI_IN SaHpiEventLogEntryIdT EntryId, SAHPI_OUT SaHpiEventLogEntryIdT *PrevEntryId, SAHPI_OUT SaHpiEventLogEntryIdT *NextEntryId, SAHPI_OUT SaHpiEventLogEntryT *EventLogEntry, SAHPI_INOUT SaHpiRdrT *Rdr, SAHPI_INOUT SaHpiRptEntryT *RptEntry ); SaErrorT SAHPI_API saHpiEventLogClear ( SAHPI_IN SaHpiSessionIdT SessionId, SAHPI_IN SaHpiResourceIdT ResourceId ); SEE ALSO
AUTHORS
Authors of this man page: Peter D Phan (pdphan@users.sourceforge.net) 2.14.1 2009-11-23 hpiel(1)
All times are GMT -4. The time now is 09:50 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy