Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

perf-mem(1) [centos man page]

PERF-MEM(1)							    perf Manual 						       PERF-MEM(1)

NAME
perf-mem - Profile memory accesses SYNOPSIS
perf mem [<options>] (record [<command>] | report) DESCRIPTION
"perf mem -t <TYPE> record" runs a command and gathers memory operation data from it, into perf.data. Perf record options are accepted and are passed through. "perf mem -t <TYPE> report" displays the result. It invokes perf report with the right set of options to display a memory access profile. OPTIONS
<command>... Any command you can specify in a shell. -t, --type= Select the memory operation type: load or store (default: load) -D, --dump-raw-samples= Dump the raw decoded samples on the screen in a format that is easy to parse with one sample per line. -x, --field-separator Specify the field separator used when dump raw samples (-D option). By default, The separator is the space character. -C, --cpu-list Restrict dump of raw samples to those provided via this option. Note that the same option can be passed in record mode. It will be interpreted the same way as perf record. SEE ALSO
perf-record(1), perf-report(1) perf 06/30/2014 PERF-MEM(1)

Check Out this Related Man Page

TAPSET::PERF(3stap)													       TAPSET::PERF(3stap)

NAME
tapset::perf - systemtap perf probe points DESCRIPTION
This family of probe points is used to probe "perf events" on suitably configured kernels (2.6.33+). It contains a number of aliases for the ABI-specified event type/config tuples. The default sampling interval of the translator(1000000) is not overridden, so some of these probe points may fire very infrequently. Use the lower level perf.type(AA).config(BB).sample(CC) probe point if this is a problem. perf.hw.* A variety of hardware events, as generalized by the kernel. These generally require running on bare hardware with selected proces- sors. probe perf.hw.cpu_cycles probe perf.hw.instructions probe perf.hw.cache_references probe perf.hw.cache_misses probe perf.hw.branch_instructions probe perf.hw.branch_misses probe perf.hw.bus_cycles perf.sw.* Special "software" events provided by the kernel. These sometimes work in virtualized environments and with more processor archi- tectures. probe perf.sw.cpu_clock probe perf.sw.task_clock probe perf.sw.page_faults probe perf.sw.context_switches probe perf.sw.cpu_migrations probe perf.sw.page_faults_min probe perf.sw.page_faults_maj probe perf.sw.alignment_faults probe perf.sw.emulation_faults perf.hw_cache.TYPE.ACCESS.RESULT Hardware cache events, where available. A subset of the following cartesian product may be available: probe perf.hw_cache.l1d.*.* probe perf.hw_cache.l1i.*.* probe perf.hw_cache.ll.*.* probe perf.hw_cache.dtlb.*.* probe perf.hw_cache.itlb.*.* probe perf.hw_cache.bpu.*.* probe perf.hw_cache.*.read.* probe perf.hw_cache.*.write.* probe perf.hw_cache.*.prefetch.* probe perf.hw_cache.*.*.access probe perf.hw_cache.*.*.miss SEE ALSO
stap(1), stapprobes(3stap) IBM
TAPSET::PERF(3stap)
Man Page

15 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

record separator

can anyone tell me any way to change record separator (default is new line). RS in nawk as not working. Thanks in advance. Regards Rochit (7 Replies)
Discussion started by: rochitsharma
7 Replies

2. Shell Programming and Scripting

Remove & insertion of data in a same file

I am iterating record by record through a file as below, A,B A,C A,D B,E B,F E,G E,H The same file should look like in the final output as below, A,B B,E E,G E,H B,F A,C A,D (10 Replies)
Discussion started by: videsh77
10 Replies

3. Shell Programming and Scripting

Append (cat) to beginning of file ?

Hi, Fairly new to unix scripting, hoping to get some help. using AIX v5 Basically I have 3 files 1). Header record 2). many detail record 3). Trailer record My desired result is 1 file which contains Heaeder, Detail, Trailer Currenty I am using a series of: ... (8 Replies)
Discussion started by: CBZ
8 Replies

4. Shell Programming and Scripting

How to remove a particular record from a file?

Please tell me the command(s) to remove a particular record from the file and placing the rest of the record in a seperate file. (9 Replies)
Discussion started by: kanu_pathak
9 Replies

5. Shell Programming and Scripting

How to add record separator after certain lines

How to add record separator after certain lines? I am faicing issue where some lines have result as successive line & some are not having. how can I add record separator after every record here is example of data I have (line numbers are not present in data): 1. <enabled="true" name="dSuite1"... (7 Replies)
Discussion started by: sach253
7 Replies

6. Shell Programming and Scripting

Cut rowcount from one file to another

Hi guys! I need to cut first row from a file (using awk) without the record separator character (in my case its MS-DOS 0D0A) and field separator character (in my case ; 3B) and put it in another file. Can you help with that? Regards, PsmakR (18 Replies)
Discussion started by: PsmakR
18 Replies

7. Shell Programming and Scripting

Script to copy specific data.

Hi, I have written a shell script which monitors my application and generates a report. The out put of the same looks like this. PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 30700 xmp 15 0 2986m 2.9g 1488 S 0.0 18.3 66:00.93 cee This report is generated... (8 Replies)
Discussion started by: Siddheshk
8 Replies

8. Shell Programming and Scripting

delimiter contents

Hi All, I have a file with contents : cat >file1.sh qw^A34^Aer the command i am using is: cut -f1,2,3 -d"^A" file1.sh which gave output as: qw^A34^Aer and the command cut -f2 -d"^A" file1.sh gave an output : A34 i need the output as : (15 Replies)
Discussion started by: gsandhya31
15 Replies

9. Shell Programming and Scripting

Sorting within a record using AWK

Hello, I have a file which has the following format: I have to do is sort individual records in the file based on the 4th field. Each record starts with "Module". Is there an easy way to do this using awk. I have tried piping output from awk to sort and also using "sort" inside awk but... (8 Replies)
Discussion started by: fifteate
8 Replies

10. Shell Programming and Scripting

AWK for multiple line records RS="^" FS="#"

I have to pull multiple line records with ^ as the record separator(RS)... # should be my field separator (FS)... Sample record is: ^-60#ORA-00060: deadlock detected while waiting for resource ORA-00001: unique constraint (SARADM.TCKNUM_PK) violated#PROC:AVAILABLE_FOR_GETNXTTIC#02/27/2012... (7 Replies)
Discussion started by: Vidhyaprakash
7 Replies

11. Shell Programming and Scripting

Retrieve data from one file comparing the ID in the second file

Hi all, I have one file with IDs Q8NDM7 P0C1S8 Q8TF30 Q9BRP8 O00258 Q6AWC2 Q9ULE0 Q702N8 A4UGR9 Q13426 Q6P2D8 Q9ULM3 A8MXQ7 I want to compare ID file with another file which has complete information about these IDs and also about other IDs which are not in the above ID file. As... (10 Replies)
Discussion started by: kaav06
10 Replies

12. Shell Programming and Scripting

Compare two files

Hi all, I need help on the following. I have two files: File1.txt < 2233122266196246529, NOT_USED, NOT_USED, NOT_USED, 2, NOT_USED, Y, N, 0, (VPN) 284016910526692, -1, 0, -1, NOT_USED, 2013-04-12T01:48:43.645+02:00 / KCC script, C1C, (VPNPRO) mtel-MVPN_(VPN ACC) 193708_A359887654295,... (10 Replies)
Discussion started by: vasil
10 Replies

13. Shell Programming and Scripting

Numbering by field

I'm not really sure how to explain this but I will try. In the attached file if $4=$4 and $5="-" then the last record is 1 and the one above that is 2, etc... However, $4=$4 and $5="-" then the first record is 1 and the one below that is 2, etc... "-" example: chr10 90694830 90695123... (7 Replies)
Discussion started by: cmccabe
7 Replies

14. Shell Programming and Scripting

Field separator

Hello All, I have a file, but I want to separate the file at a particular record with comma"," in the line Input file APPLE6SSAMSUNGS5PRICEPERPIECEDOLLAR600EACH010020340URX581949695US to Output file APPLE6S,SAMSUNGS5,PRICEPERPIECE,DOLLAR600EACH,010020340URX581949695,US This is for... (11 Replies)
Discussion started by: m6248m
11 Replies

15. Shell Programming and Scripting

How to replace value in each field until a certain character in each record?

Each record coming with column names. I have to replace them in each record as shown below TIME=20181219110000261|CHAN=FMBKHJBAAAADPCFNAAAAAABA|EVNT=SWIclst|VALU=Session FMBKHJBAAAADPCFNAAAAAABA started|SRC=NSS|UCPU=0|SCPU=0 Output should look like: ... (9 Replies)
Discussion started by: sudhakar1987
9 Replies