bcc-numasched - Man Page

Tracing task switch NUMA. Uses bcc/eBPF.

Synopsis

numasched

Description

numasched tracked task switch of NUMA.

This program is also a basic example of bcc and tracepoint.

Since this uses BPF, only the root user can use this tool.

Requirements

CONFIG_BPF and bcc.

Options

-p,  --pid PID

Trace this PID only.

-t,  --tid TID

Trace this TID only.

-c,  --comm COMM

Trace this COMM only.

Examples

Tracing task switch NUMA:

# numasched

Trace PID 181 only:

# numasched -p 181

Fields

TIME

A timestamp on the output, in "HH:MM:SS" format.

PID

The process ID.

TID

The thread ID.

SRC_NID

Source NUMA ID.

DST_NID

Target NUMA ID.

COMM

The process COMM.

Source

This is from bcc.

https://github.com/iovisor/bcc

Also look in the bcc distribution for a companion _examples.txt file containing example usage, output, and commentary for this tool.

OS

Linux

Stability

Unstable - in development.

Author

Rong Tao <rongtao@cestc.cn>

See Also

opensnoop(8)

Info

2022-12-14 USER COMMANDS