get_robust_list - Linux


Overview

get_robust_list prints the current list of robust futexes for a process, as a list of their addresses.

Syntax

get_robust_list [<pid>]

Options/Flags

-h, --help

Prints help message.

-v, --verbose

Prints additional messages.

Examples

Simple Usage

get_robust_list

Complex Usage

Get robust list for a specific process:

get_robust_list 1234

Get robust list and print additional messages:

get_robust_list -v

Common Issues

If a process does not have any robust futexes, get_robust_list will print "No robust futexes found".

Integration

get_robust_list can be used with other tools to analyze a process’s memory. For example, it can be used with the gdb debugger to print the robust futex list for a specific process.

Related Commands

  • futex(2)
  • futex(7)