Hey Guyz I have a requirement something like this..
a part of file name, date of modification of that file and a text is entered as input.
like
Date : 080206 (MMDDYY format.)
filename : hotel_rates
text : Jim
now the file hotel_rates.ZZZ.123 (creation date is Aug 02 2006) should be... (10 Replies)
Hi,
I'm trying to accomplish the following and would like some suggestions or possible bash script examples that may work
I have a directory that has a list of log files that's periodically dumped from a script that is crontab that are rotated 4 generations. There will be a time stamp that is... (4 Replies)
Hi,
How can we search for a file with current date(sysdate).
Actually i want the file name from a directory which was created today(current date).
For example i have a dir /home/arch and i have files with name aglito03axyz.datetimestamp in this directory, but all these files were created... (7 Replies)
I am viewing a file in vi editor and would like to search for a date pattern. In the log, the timestamp is enclosed in parentheses ''. I am using the '/' option in vi to search for the pattern.
log snippet:
000000f4 ServletWrappe I SRVE0242I: : Initialization successful.
000000f4... (3 Replies)
I like "ls -ltr".
I would like to search for a file in a large directory recursively and and display all the candidates in reverse order.
/usr/bin/find . -name \*.txt
This works.
How do I display the date and sort the file names by the date in reverse order for the entire directory... (1 Reply)
Hello,
I'm trying to write a ksh script which will allow me to to search for yesterday's date within a rtf file. I just need someway to know if the date is in the file, echo results to a text file, and then mail that out.
The format of the date is mm/dd/yyyy.
I had to make a variable... (2 Replies)
To delete log files content older than 30 days and append the lastest date log file date in the respective logs
I want to write a shell script that deletes all log files content older than 30 days and append the lastest log file date in the respective logs
This is my script
cd... (2 Replies)
Hi,
I have a requirement to find a file based on date stamp provided by user. In one of the shared location I get data file say “datafile<dataformat>“. And User will provide the date based on which I need to select a file which is 7 days older, if a file not present within 7 days, then I need... (3 Replies)
HI,
I want to search for a logs which are trace between specific date and time from logs file.
My logs are generated like this :-
Tue Jun 18 05:00:02 EEST 2013 | file_check.sh| Message:script has files to process.
Thu Jun 20 05:00:02 EEST 2013 | file_check.sh| Message:script has files to... (5 Replies)
Hi,
I have log file which rolls out every second which is as this.
HttpGenRequest - -<!--OXi dbPublish--> <created="2014-03-24 23:45:37" lastMsgId="" requestTime="0.0333"> <response request="getOutcomeDetails" code="114" message="Request found no matching data" debug="" provider="undefined"/>... (3 Replies)
Discussion started by: karthikprakash
3 Replies
LEARN ABOUT DEBIAN
applog.h
applog.h(3) Library Functions Manual applog.h(3)NAME
applog.h -
Application logging facilities abstraction.
SYNOPSIS
#include <cc++/slog.h>
#include <cc++/exception.h>
#include <string>
#include <sstream>
#include <iostream>
#include <map>
Classes
class ost::HEXdump
Produces a dump of a buffer in a hexdump way with its code Ascii translation and relative buffer address.
class ost::AppLog
Application logger is a class that implements a logger that can be used by applications to save log file somewhere on the system.
class ost::AppLog::Ident
Ident class that represents module name.
Namespaces
namespace ost
Functions
__EXPORT AppLog & ost::debug (AppLog &sl)
Manipulator for debug level.
__EXPORT AppLog & ost::warn (AppLog &sl)
Manipulator for warn level.
__EXPORT AppLog & ost::error (AppLog &sl)
Manipulator for error level.
__EXPORT AppLog & ost::emerg (AppLog &sl)
Manipulator for emerg level.
__EXPORT AppLog & ost::alert (AppLog &sl)
Manipulator for alert level.
__EXPORT AppLog & ost::critical (AppLog &sl)
Manipulator for critical level.
__EXPORT AppLog & ost::notice (AppLog &sl)
Manipulator for notice level.
__EXPORT AppLog & ost::info (AppLog &sl)
Manipulator for info level.
Variables
__EXPORT AppLog ost::alog
alog global log stream definition
Detailed Description
Application logging facilities abstraction.
Author
Generated automatically by Doxygen for GNU CommonC++ from the source code.
GNU CommonC++ Sat Jun 23 2012 applog.h(3)