syscall.sh / x32 / getrusage

getrusage

get resource usage

sys_getrusage(int who, struct rusage *ru)
number1073741922 (0x40000062)
abicommon
entry pointsys_getrusage
sinceLinux 3.4
man pagegetrusage(2)
sourceelixir.bootlin.com

Registers

registervalue
rax1073741922, the syscall number
rdiint who
rsistruct rusage *ru
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/x32/getrusage