12-05-2011
I'm approaching this as more of an Administrator so I apologise for that.
I have studied some C on and off but that is it. Are Logging Events and "Events as in OOP the same? Are those what are being sent to a log file? Interactions between OOP objects?
5 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi to everyone. I'm new to this forum and also pretty new to Unix. I'm developing a cross-platform software and I need to register informational and error messages into the event log of the system. Under Windows, this is implemented so far, I need to implement it unded Unix by now.
I do know that... (7 Replies)
Discussion started by: mariano_donati
7 Replies
2. IP Networking
Hi,
We have smb client running on two of the linux boxes and smb server on another linux system. During a backup operation which uses smb, read of a file was allowed while write to the same file was going on.Also simultaneous writes to the same file were allowed.Following are the settings in the... (1 Reply)
Discussion started by: swatidas11
1 Replies
3. Shell Programming and Scripting
My intention is to log the output to a file as well as it should be displayed on the console > I have used tee ( tee -a ${filename} ) command for this purpose. This is working as expected for first few outputs, after some event loggin nothing is gettting logged in to the file but It is displaying... (3 Replies)
Discussion started by: sanoop
3 Replies
4. Shell Programming and Scripting
Hi,
I've the following code to log the errors any after the command is executed.
# Ksh 88 Version
log_path=/home/etc/fls/fls_log.log
del_path=/home/etc/fls/to_day
rm $del_path/* >> $log_path 2>&1
But I even want to log if the rm command is success without any error along with... (1 Reply)
Discussion started by: smile689
1 Replies
5. Linux
When unlocking a Linux server's console there's no event indicating successful logging
Is there a way I can fix this ?
I have the following in my rsyslog.conf
auth.info /var/log/secure
authpriv.info /var/log/secure (1 Reply)
Discussion started by: walterthered
1 Replies
LEARN ABOUT CENTOS
papi_get_overflow_event_index
PAPI_get_overflow_event_index(3) PAPI PAPI_get_overflow_event_index(3)
NAME
PAPI_get_overflow_event_index -
converts an overflow vector into an array of indexes to overflowing events
SYNOPSIS
Detailed Description
@param EventSet
an integer handle to a PAPI event set as created by PAPI_create_eventset
@param overflow_vector
a vector with bits set for each counter that overflowed.
This vector is passed by the system to the overflow handler routine.
@param *array
an array of indexes for events in EventSet.
No more than *number indexes will be stored into the array.
@param *number
On input the variable determines the size of the array.
On output the variable contains the number of indexes in the array.
@retval PAPI_EINVAL
One or more of the arguments is invalid. This could occur if the overflow_vector is empty (zero), if the array or number pointers are NULL, if the value of number is less than one, or if the EventSet is empty.
@retval PAPI_ENOEVST
The EventSet specified does not exist.
@par Examples
void handler(int EventSet, void *address, long_long overflow_vector, void *context){
int Events[4], number, i;
int total = 0, retval;
printf("Overflow #%d Handler(%d) Overflow at %p! vector=0x%llx0,
total, EventSet, address, overflow_vector);
total++;
number = 4;
retval = PAPI_get_overflow_event_index(EventSet,
overflow_vector, Events, &number);
if(retval == PAPI_OK)
for(i=0; i<number; i++) printf("Event index[%d] = %d", i, Events[i]);}
*
@see PAPI_overflow
Author
Generated automatically by Doxygen for PAPI from the source code.
Version 5.2.0.0 Tue Jun 17 2014 PAPI_get_overflow_event_index(3)