All pastes #342129 Raw Edit

Untitled

public text v1 · immutable
·published 2007-02-06 03:02 UTC
rendered paste body
#include <linux/unistd.h>
#include <sys/resource.h>

_syscall2(int, getrusagepid, int, pid, struct rusage, usage);

#include <iostream>
int main(int argc, char **argv) {
  if (argc != 1) {
    cout << "Usage: " << argv[0] << " PID\n";
  }

}