Lines Matching defs:procname
2390 char procname[64];2392 sprintf(procname, "%s/%d/stat",2394 if ((fp = fopen(procname, "r")) != NULL) {2395 if (fscanf(fp, "%*d (%[^)])", procname) == 1) {2396 sprintf(procname+strlen(procname), "/%d", pid);2397 printf("%-*s ", serv_width, procname);