Grid Community Toolkit  6.2.1705709074 (tag: v6.2.20240202)
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
globus_l_lsf_logfile_state_t Struct Reference

Data Fields

char * log_dir
 
struct stat event_idx_stat
 
char * event_idx_path
 
unsigned int event_idx
 
time_t start_timestamp
 
time_t end_of_file_timestamp
 
char * path
 
globus_bool_t is_current_file
 
FILE * fp
 
char * buffer
 
size_t buffer_length
 
size_t buffer_point
 
size_t buffer_valid
 

Detailed Description

State of the LSF log file parser.

Field Documentation

char* globus_l_lsf_logfile_state_t::buffer

Buffer of log file data

size_t globus_l_lsf_logfile_state_t::buffer_length

Length of the buffer

size_t globus_l_lsf_logfile_state_t::buffer_point

Starting offset of valid data in the buffer.

size_t globus_l_lsf_logfile_state_t::buffer_valid

Amount of valid data in the buffer

time_t globus_l_lsf_logfile_state_t::end_of_file_timestamp

If non-zero the newest event in the current log file we are reading if it is an historical one. This may be larger than the final timestamp in the file for some reason.

unsigned int globus_l_lsf_logfile_state_t::event_idx

Current historical log file we are looking at if we are replaying older events.

char* globus_l_lsf_logfile_state_t::event_idx_path

Path to lsb.events.1 file

struct stat globus_l_lsf_logfile_state_t::event_idx_stat

Last known status for the lsb.events.1 file. This will only change when a log file is being rotated. When this happens, we may need to be very careful about what is going on with our latest read.

FILE* globus_l_lsf_logfile_state_t::fp

Stdio file handle of the log file we are currently reading

globus_bool_t globus_l_lsf_logfile_state_t::is_current_file

True if the current log file is the lsb.events file and not one of the rotated files.

char* globus_l_lsf_logfile_state_t::log_dir

Path to the LSF logdir

char* globus_l_lsf_logfile_state_t::path

Path of the currently opened log file.

time_t globus_l_lsf_logfile_state_t::start_timestamp

If non-zero, the earliest event timestamp we are interested in reading about from the currently opened logfile


The documentation for this struct was generated from the following file: