syscall.sh / s390x / getrusage

getrusage

get resource usage

sys_getrusage(int who, struct rusage *ru)
number77 (0x4d)
abicommon
entry pointsys_getrusage
sinceLinux 4.16
man pagegetrusage(2)
sourceelixir.bootlin.com

Registers

registervalue
r177, the syscall number
r2int who
r3struct rusage *ru
r2the return value

Then run svc 0 to enter the kernel.

Same syscall on other architectures

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