EnglishFrenchSpanish

OnWorks favicon

perf-timechart - Online in the Cloud

Run perf-timechart in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command perf-timechart that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


perf-timechart - Tool to visualize total system behavior during a workload

SYNOPSIS


DESCRIPTION


There are two variants of perf timechart:

'perf timechart record <command>' to record the system level events
of an arbitrary workload. By default timechart records only scheduler
and CPU events (task switches, running times, CPU power states, etc),
but it's possible to record IO (disk, network) activity using -I argument.

'perf timechart' to turn a trace into a Scalable Vector Graphics file,
that can be viewed with popular SVG viewers such as 'Inkscape'. Depending
on the events in the perf.data file, timechart will contain scheduler/cpu
events or IO events.

In IO mode, every bar has two charts: upper and lower.
Upper bar shows incoming events (disk reads, ingress network packets).
Lower bar shows outgoing events (disk writes, egress network packets).
There are also poll bars which show how much time application spent
in poll/epoll/select syscalls.

TIMECHART OPTIONS


-o, --output=
Select the output file (default: output.svg)

-i, --input=
Select the input file (default: perf.data unless stdin is a fifo)

-w, --width=
Select the width of the SVG file (default: 1000)

-P, --power-only
Only output the CPU power section of the diagram

-T, --tasks-only
Don’t output processor state transitions

-p, --process
Select the processes to display, by name or PID

--symfs=<directory>
Look for files with symbols relative to this directory.

-n, --proc-num
Print task info for at least given number of tasks.

-t, --topology
Sort CPUs according to topology.

--highlight=<duration_nsecs|task_name>
Highlight tasks (using different color) that run more than given duration or tasks
with given name. If number is given it’s interpreted as number of nanoseconds. If
non-numeric string is given it’s interpreted as task name.

--io-skip-eagain
Don’t draw EAGAIN IO events.

--io-min-time=<nsecs>
Draw small events as if they lasted min-time. Useful when you need to see very small
and fast IO. It’s possible to specify ms or us suffix to specify time in milliseconds
or microseconds. Default value is 1ms.

--io-merge-dist=<nsecs>
Merge events that are merge-dist nanoseconds apart. Reduces number of figures on the
SVG and makes it more render-friendly. It’s possible to specify ms or us suffix to
specify time in milliseconds or microseconds. Default value is 1us.

RECORD OPTIONS


-P, --power-only
Record only power-related events

-T, --tasks-only
Record only tasks-related events

-I, --io-only
Record only io-related events

-g, --callchain
Do call-graph (stack chain/backtrace) recording

EXAMPLES


$ perf timechart record git pull

[ perf record: Woken up 13 times to write data ]
[ perf record: Captured and wrote 4.253 MB perf.data (~185801 samples) ]

$ perf timechart

Written 10.2 seconds of trace to output.svg.

Record system-wide timechart:

$ perf timechart record

then generate timechart and highlight 'gcc' tasks:

$ perf timechart --highlight gcc

Record system-wide IO events:

$ perf timechart record -I

then generate timechart:

$ perf timechart

Use perf-timechart online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Alt-F
    Alt-F
    Alt-F provides a free and open source
    alternative firmware for the DLINK
    DNS-320/320L/321/323/325/327L and
    DNR-322L. Alt-F has Samba and NFS;
    supports ext2/3/4...
    Download Alt-F
  • 2
    usm
    usm
    Usm is a unified slackware package
    manager that handles automatic
    dependency resolution. It unifies
    various package repositories including
    slackware, slacky, p...
    Download usm
  • 3
    Chart.js
    Chart.js
    Chart.js is a Javascript library that
    allows designers and developers to draw
    all kinds of charts using the HTML5
    canvas element. Chart js offers a great
    array ...
    Download Chart.js
  • 4
    iReport-Designer for JasperReports
    iReport-Designer for JasperReports
    NOTE: iReport/Jaspersoft Studio Support
    Announcement: As of version 5.5.0,
    Jaspersoft Studio will be the official
    design client for JasperReports. iReport
    will...
    Download iReport-Designer for JasperReports
  • 5
    PostInstallerF
    PostInstallerF
    PostInstallerF will install all the
    software that Fedora Linux and others
    doesn't include by default, after
    running Fedora for the first time. Its
    easy for...
    Download PostInstallerF
  • 6
    strace
    strace
    The strace project has been moved to
    https://strace.io. strace is a
    diagnostic, debugging and instructional
    userspace tracer for Linux. It is used
    to monitor a...
    Download strace
  • More »

Linux commands

Ad