Hi All,
I like to read the log file from specific time to end of the file.
eg:
message
date and time
message 1
date and time1
message 2
EOF
I want to read all the text (Messages) after date and time to end of the file.
Please let me know the UNIX command to perform this?.
Thanks,... (9 Replies)
Witam wszystkich ,
Jest to moj pierwszy post i już prośba ale gdybym potrafił zaradzić problemowi to nie zawracałbym nikomu głowy .
mianowicie :
Mam jakis 'plik' w ktorym są osadzone pojedyncze i zmienne słowa po jednym w lini czyli :
test1
tekttw
resst
.... itd.
Moje... (6 Replies)
hi all,
I have this file with some user data.
example:
$cat myfile.txt
FName|LName|Gender|Company|Branch|Bday|Salary|Age
aaaa|bbbb|male|cccc|dddd|19900814|15000|20|
eeee|asdg|male|gggg|ksgu|19911216|||
aara|bdbm|male|kkkk|acke|19931018||23|
asad|kfjg|male|kkkc|gkgg|19921213|14000|24|... (4 Replies)
hello,
I go text file like this
E:/DDD/Dyndede/wwww
E:/DDD/sss.com/ffffg/fff
E:/DDD/vvvvvv/dd
E:/DDD/sss.com/bbbbbb
E:/DDD/sss.com/nnnn/xxI want to print
/alpha.jpg at the end of every lines like that
E:/DDD/Dyndede/wwww/alpha.jpg
E:/DDD/sss.com/ffffg/fff/alpha.jpg... (8 Replies)
I have several very large file that are extracts from Oracle tables. These files are formatted in XML type syntax with multiple entries like:
<ROW>
some information
more information
</ROW>
I want to grep for some words, then print all lines between <ROW> AND </ROW>. Can this be done with AWK?... (7 Replies)
I'm attempting to write a script to identify users who have sudo access on a server. I only want to extract the ID's of the sudo users after a unique line of text. The list of sudo users goes to the EOF so I only need the script to start after the unique line of text. I already have a script to... (1 Reply)
I need help on how I can accomplish my task. I hope someone can help me since I've researching and trying to accomplish this for hours now. Basically, I need to comment-out (or insert a # sign in the beginning of the line) a line when the line has the specific word I am searching. Example I have... (3 Replies)
Hi All,
I want to read all lines after a perticular string {SET UP VALUES}apprears in the file.
SET UP values contains direcory, number of days and file type.
Step1: Read all lines below SET UP VALUES string.
Step2: If set up values are not present in each record then read from default... (4 Replies)
I dont even have a sample script cause I dont know where to start from. My data lookes like this
> sat#16 #data: 15 site:UNZA baseline: 205.9151
0.008 -165.2465 35.8109 40.6685 21.9148 121.1446 26.4629 -18.4976 33.8722
0.017 -165.2243 48.2201 40.6908 ... (8 Replies)
Hi,
I have a file(input.txt) and trying to format as output.txt. See the attached file format.
Note: This is a windows file (DOS format) and the commands are also going to execute on windows.
Basically I am trying to capture all the data in between Local Group Memberships and Global Group... (10 Replies)
Discussion started by: Monoj2014
10 Replies
LEARN ABOUT CENTOS
papi_get_executable_info
PAPI_get_executable_info(3) PAPI PAPI_get_executable_info(3)NAME
PAPI_get_executable_info -
Get the executable's address space info.
SYNOPSIS Detailed Description
@par C Interface:
const PAPI_exe_info_t *PAPI_get_executable_info( void );
This function returns a pointer to a structure containing information
about the current program.
@param fullname
Fully qualified path + filename of the executable.
@param name
Filename of the executable with no path information.
@param text_start, text_end
Start and End addresses of program text segment.
@param data_start, data_end
Start and End addresses of program data segment.
@param bss_start, bss_end
Start and End addresses of program bss segment.
@retval PAPI_EINVAL
One or more of the arguments is invalid.
@par Examples:
* const PAPI_exe_info_t *prginfo = NULL;
* if ( ( prginfo = PAPI_get_executable_info( ) ) == NULL )
* exit( 1 );
* printf( "Path+Program: %s0, exeinfo->fullname );
* printf( "Program: %s0, exeinfo->address_info.name );
* printf( "Text start: %p, Text end: %p0, exeinfo->address_info.text_start, exeinfo->address_info.text_end) ;
* printf( "Data start: %p, Data end: %p0, exeinfo->address_info.data_start, exeinfo->address_info.data_end );
* printf( "Bss start: %p, Bss end: %p0, exeinfo->address_info.bss_start, exeinfo->address_info.bss_end );
*
See Also:
PAPI_get_opt
PAPI_get_hardware_info
PAPI_exe_info_t
Author
Generated automatically by Doxygen for PAPI from the source code.
Version 5.2.0.0 Tue Jun 17 2014 PAPI_get_executable_info(3)