Lines Matching refs:pid
46 # ionice -c<class> -n<level> -p<pid>
48 If pid isn't given, the current process is assumed. IO priority settings
55 For a running process, you can give the pid instead::
59 will change pid 100 to run at the realtime scheduling class, at priority 2.
120 int c, pid = 0;
133 pid = strtol(optarg, NULL, 10);
154 if (!pid && argv[optind])
155 pid = strtol(argv[optind], NULL, 10);
157 ioprio = ioprio_get(IOPRIO_WHO_PROCESS, pid);
159 printf("pid=%d, %d\n", pid, ioprio);
169 if (ioprio_set(IOPRIO_WHO_PROCESS, pid, ioprio | ioprio_class << IOPRIO_CLASS_SHIFT) == -1) {