syscall.sh / alpha / getrusage

getrusage

get resource usage

sys_getrusage(int who, struct rusage *ru)
number364 (0x16c)
abicommon
entry pointsys_getrusage
sinceLinux 5.0
man pagegetrusage(2)
sourceelixir.bootlin.com

Registers

registervalue
v0364, the syscall number
a0int who
a1struct rusage *ru
v0the return value

Then run callsys to enter the kernel.

Same syscall on other architectures

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