Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

perf-sched(1) [centos man page]

PERF-SCHED(1)							    perf Manual 						     PERF-SCHED(1)

NAME
perf-sched - Tool to trace/measure scheduler properties (latencies) SYNOPSIS
perf sched {record|latency|map|replay|script} DESCRIPTION
There are five variants of perf sched: 'perf sched record <command>' to record the scheduling events of an arbitrary workload. 'perf sched latency' to report the per task scheduling latencies and other scheduling properties of the workload. 'perf sched script' to see a detailed trace of the workload that was recorded (aliased to 'perf script' for now). 'perf sched replay' to simulate the workload that was recorded via perf sched record. (this is done by starting up mockup threads that mimic the workload based on the events in the trace. These threads can then replay the timings (CPU runtime and sleep patterns) of the workload as it occurred when it was recorded - and can repeat it a number of times, measuring its performance.) 'perf sched map' to print a textual context-switching outline of workload captured via perf sched record. Columns stand for individual CPUs, and the two-letter shortcuts stand for tasks that are running on a CPU. A '*' denotes the CPU that had the event, and a dot signals an idle CPU. OPTIONS
-i, --input=<file> Input file name. (default: perf.data unless stdin is a fifo) -v, --verbose Be more verbose. (show symbol address, etc) -D, --dump-raw-trace= Display verbose dump of the sched data. SEE ALSO
perf-record(1) perf 06/30/2014 PERF-SCHED(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

GUNZIP not working when scheduling

Hi, I am facing this problem from few days. Am using gunzip to unzip .gz file in my script. If i am running manually its unziping the file. But when i am scheduling the script using demon.cron file, its not unzipping. Can anyone please tell me what could be the problem. Its very urgent.... (1 Reply)
Discussion started by: hchekuri
1 Replies

2. UNIX for Dummies Questions & Answers

repeat each record n times

I have: aa01 aa02 aa03 aa04 ab01 ab02 ab03 ab04 I would like each record printed 5 times: aa01 aa01 aa01 aa01 aa01 aa02 aa02 (6 Replies)
Discussion started by: kenneth.mcbride
6 Replies

3. Shell Programming and Scripting

filtering one file based on results from other- AGAIN

I have asked this question here before and got the answer too. Unfortunately I used only one record as an example and the script works fine for one record but not for more than one record. Can anybody help me with writing a script for the data that I want to use from one file based on the... (13 Replies)
Discussion started by: digipak
13 Replies

4. Shell Programming and Scripting

Need Script to Use CPUs on a HPUX server to simulate Workload Manager on HPUX.

I am running HPUX and using WLM (workload manager). I want to write a script to fork CPUs to basically take CPUs from other servers to show that the communication is working and CPU licensing is working. Basically, I want to build a script that will use up CPU on a server. Any ideas? (2 Replies)
Discussion started by: cpolikowsky
2 Replies

5. AIX

AIX: PID 0 Process

Hi All, I searched other threads and could not find any relevant post about this. I searched for process 0 in SUN OS and could find the sched/swapper process listed. root 0 0 0 Apr 25 ? 0:06 sched but i couldnt not find the swapper process (PID 0) in AIX. Is that... (4 Replies)
Discussion started by: quintet
4 Replies

6. UNIX for Advanced & Expert Users

Job Sheduler/workload automation Open Source

Hello all, I'm looking for a sheduler and workload automation Open Source, to use in a wide company. I was looking threads similar but I didn't found it. Anynone knows one? Thanks (2 Replies)
Discussion started by: RuBiCK
2 Replies

7. Shell Programming and Scripting

How to fix this awk

I have a script which will mask the 9th and 15th column in a record starting with BPR. The record looks like below before my script BPR*C*160860.04*C*ACH*CTX*01*072000326*DA*1548843*3006968523**01*071000013*DA*5529085*100323*VEN The record will be masked after my script parses this... (19 Replies)
Discussion started by: Muthuraj K
19 Replies

8. Shell Programming and Scripting

Trigger functionality in Unix

Hi, I want a script , which searches the log for the term/phrase "JFSnapshotService::systemSnapshot: Starting data capture. This may take awhile depending upon system workload." and if there is some logging like this, it has to mail me that this data capture process is happening., Below is... (2 Replies)
Discussion started by: cratercrabs
2 Replies

9. AIX

Identifying a user on a AIX shared workload

Hi, We access our workloads using usrun. Login is automatic as we are either in the profile for that workload or not. So each user logs into the same account - e.g. wloadexe Each of the users logs in from a machine where they have their own account. e.g. johndoe So when they log... (3 Replies)
Discussion started by: jfxdavies
3 Replies

10. Shell Programming and Scripting

AWK print initial record and double

I have an initial record 0.018 I would like a script that would for i=0;i<200;i++ print 0.018*1 0.018*2 0.018*3 0.018*4 ... 0.018*200 using newline. (7 Replies)
Discussion started by: chrisjorg
7 Replies

11. Shell Programming and Scripting

Start program depending on processor workload

Hi community, I'm looking for a script/code which starts a shell script with a MPI process depending on: a) the processor workload, i.e. if the workload falls below a certain limit b) alternatively if the previous process finished, e.g. if a process ID disappears I need this for... (3 Replies)
Discussion started by: heunigreenfreak
3 Replies

12. Programming

Python greek letters formatting

Hello everyone, I am trying to label the X axis of a plot, using the Greek letter 'nu' within it. So I have: ax.set_xlabel('Energy ($ h \nu $) / eV') all the other Greek letters I have tried work perfectly this way, as in LaTex, but with \nu, apparently it recognizes \n as 'new line' and I end... (2 Replies)
Discussion started by: jaldo0805
2 Replies

13. UNIX for Advanced & Expert Users

Redhat - IO performance measurement

Hi Currently we have SAN setup in our Redhat Environment. I have used iostat tool and ran it couple of times, i think there is IO bottle neck. Can anyone suggest any other tools or help me how to perform multiple Reads/Writes to test its performance (1 Reply)
Discussion started by: rakeshkumar
1 Replies

14. HP-UX

Reason to keep old /var/opt/perf/datafiles/logproc files

Would there be a reason to keep old logproc files that have been tarred up for any longer than a few days? (1 Reply)
Discussion started by: jeffbusz
1 Replies

15. Linux

Not able to run perf on Linux 4.4 kernel (Ubuntu 15.10)

I'm not able to run perf on linux 4.4. I'm using ubuntu 15.10. The error I'm getting is: WARNING: perf not found for kernel 4.4.0 You may need to install the following packages for this specific kernel: linux-tools-4.4.0-4.4.0 linux-cloud-tools-4.4.0-4.4.0 You may also want to install... (4 Replies)
Discussion started by: BHASKAR JUPUDI
4 Replies