Hi guys, looking for a little bit of help. I have been given a task to sift through this massive config of events. I need to find out which event is set up for which ID and each entry looks a little like;
What I need to do is be able to search by "EVENT COUNTRIES" and bring up all the users who use that code.
I'm sure these is possible as I currently have an AWK line doing a similar process for a different config file, but I cant seem to get it working on this one!
What do you guys think would be the easiest way to do this?
I have a while read loop cycling through a fixed-length csv file and I'd like to use an if statement to check two fields in each line. I'm basically asking for your suggestions on the best and easiest way to check two fields in each line. I'm sure many of you may be thinking just use awk, but if... (1 Reply)
Hey all,
Can I put sed command inside the awk action ?? If not then can i do grep in the awk action ??
For ex:
awk '$1=="174" { ppid=($2) ; sed -n '/$ppid/p' tempfind.txt ; }' tempfind.txt
Assume: 174 is string.
Assume: tempfind.txt is used for awk and sed both.
tempfind.txt... (11 Replies)
Hallo Guys,
I have an sql script which gives me the output below:
LOGIN_ID ACTION_CODE DATE CASE_REFERENCE FRAUD_TYPE_ID ESTIMATE_LOSS
james_j Assign 17/03/2008 0833003470 High Frequency 77513.92
james_j Assign 17/03/2008 0838117486 High Aggregate Cost of Calls 149830.5... (14 Replies)
I am trying to grab some text from an HTML file.
I have something similar to this:
<tr>
<td><a href="somepath.html">Some Text<HR></HR></a></td>
</tr>
<tr>
<td><a href="somepath.html" >Some More Text<HR></HR></a></td>
</tr>
And just want the bolded text. Any suggestions? (15 Replies)
hi
I have a file called trom.txt whose contents are:
Malaria|\\nAIX\abcd\newone\files\Malarias.dat|1|20090224|0|Taxi Complete|2009-02-23 04:26:00
Product|\\nAIX\abcd\newone\files\slint.dat|1|20090224|0|Taxi Complete|2009-02-23 04:26:00... (2 Replies)
Hi All,
I am a bit confused,Can anyone help;
My problem is that i have a flat file in this format
8.10 USAccountSummaryClone1
3.10 USAccountSummaryClone2
2.80 GlobalUserManagementClone1
2.10 BasicServicesClone2
1.60 MYCAServicesClone2
1.30 INTLEStatementClone1
0.90... (6 Replies)
OK I have a simple awk script:
$ awk '/03\/11\/10/' foofile|awk -f finderrors.awk
I want to use in the ksh script to so that I can do something like this:
#!/bin/ksh
TODAY=`date +"%D"`
awk /$TODAY/ foofile|awk -f finderrors.awk
The problem I am having is (I believe) is with the special... (3 Replies)
Hi ,
i have records like
select '##col1:'||col1||'##col2:' from ( select col1 , col2 Rank () rank_na over ( PARTITION BY col1 , col2 ORDER BY col1 DESC ) from table1 where rank_na > 1
i want to extract col1 and col2 in 1 variable and table1 in script variable
Thanks in Advance... (3 Replies)
Hi,
I am running a script sample.sh in bash environment .In the script i am using sed and awk commands which when executed individually from terminal they are getting executed normally but when i give these sed and awk commands in the script it is giving the below errors :-
./sample.sh: line... (12 Replies)
Discussion started by: satishmallidi
12 Replies
LEARN ABOUT CENTOS
papi_native_avail
papi_native_avail(1) PAPI papi_native_avail(1)NAME
papi_native_avail - papi_native_avail utility.
file native_avail.c
NAME
papi_native_avail - provides detailed information for PAPI native events.
SynopsisDescription
papi_native_avail is a PAPI utility program that reports information about the native events available on the current platform. A native
event is an event specific to a specific hardware platform. On many platforms, a specific native event may have a number of optional
settings. In such cases, the native event and the valid settings are presented, rather than every possible combination of those settings.
For each native event, a name, a description, and specific bit patterns are provided.
Options
o --help, -h print this help message
o -d display detailed information about native events
o -e EVENTNAME display detailed information about named native event
o -i EVENTSTR include only event names that contain EVENTSTR
o -x EVENTSTR exclude any event names that contain EVENTSTR
o --noumasks suppress display of Unit Mask information
Processor-specific options
o --darr display events supporting Data Address Range Restriction
o --dear display Data Event Address Register events only
o --iarr display events supporting Instruction Address Range Restriction
o --iear display Instruction Event Address Register events only
o --opcm display events supporting OpCode Matching
o --nogroups suppress display of Event grouping information
Bugs
There are no known bugs in this utility. If you find a bug, it should be reported to the PAPI Mailing List at ptools-perfapi@ptools.org.
Version 5.2.0.0 Tue Jun 17 2014 papi_native_avail(1)