numasched(8) System Manager's Manual numasched(8)

# [NAME](#NAME)

numasched - Tracing task switch NUMA. Uses bcc/eBPF.

# [SYNOPSIS](#SYNOPSIS)

**numasched**

# [DESCRIPTION](#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](#REQUIREMENTS)

CONFIG\_BPF and bcc.

# [OPTIONS](#OPTIONS)

[-p, --pid PID](#p,)

Trace this PID only.

[-t, --tid TID](#t,)

Trace this TID only.

[-c, --comm COMM](#c,)

Trace this COMM only.

# [EXAMPLES](#EXAMPLES)

[Tracing task switch NUMA:](#Tracing)

\# **numasched**

[Trace PID 181 only:](#Trace)

\# **numasched -p 181**

# [FIELDS](#FIELDS)

[TIME](#TIME)

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

[PID](#PID)

The process ID.

[TID](#TID)

The thread ID.

[SRC\_NID](#SRC_NID)

Source NUMA ID.

[DST\_NID](#DST_NID)

Target NUMA ID.

[COMM](#COMM)

The process COMM.

# [SOURCE](#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](#OS)

Linux

# [STABILITY](#STABILITY)

Unstable - in development.

# [AUTHOR](#AUTHOR)

Rong Tao &lt;rongtao@cestc.cn&gt;

# [SEE ALSO](#SEE_ALSO)

[opensnoop(8)](/man/enterprise-packages/bcc/opensnoop.8)

2022-12-14 USER COMMANDS

---

Document: numasched(8) from bcc 0.37.0-r2 (Chainguard OS)
Source: https://github.com/iovisor/bcc
