Searched refs:ki_comm (Results 1 - 25 of 28) sorted by relevance

12

/freebsd-10.0-release/usr.bin/procstat/
H A Dprocstat_threads.c62 printf("%-16s ", strlen(kipp->ki_comm) ?
63 kipp->ki_comm : "-");
65 (strcmp(kipp->ki_comm, kipp->ki_tdname) != 0)) ?
H A Dprocstat_bin.c59 printf("%-16s ", kipp->ki_comm);
H A Dprocstat_args.c57 printf("%5d %-16s", kipp->ki_pid, kipp->ki_comm);
H A Dprocstat_basic.c64 printf("%-12s\n", kipp->ki_comm);
H A Dprocstat_sigs.c78 printf("%-16s ", kipp->ki_comm);
111 printf("%-16s ", kipp->ki_comm);
H A Dprocstat_kstack.c174 printf("%-16s ", kipp->ki_comm);
176 (strcmp(kipp->ki_comm, kipp->ki_tdname) != 0)) ?
H A Dprocstat_cred.c56 printf("%-16s ", kipp->ki_comm);
H A Dprocstat_rlimit.c101 printf("%5d %-16s %-16s ", kipp->ki_pid, kipp->ki_comm,
H A Dprocstat_auxv.c64 kipp->ki_comm);
H A Dprocstat_files.c334 printf("%-16s ", kipp->ki_comm);
/freebsd-10.0-release/release/picobsd/tinyware/sps/
H A Dsps.c77 sprintf(buf, "(%s)", ki->ki_comm);
/freebsd-10.0-release/usr.bin/top/
H A Dmachine.c820 len = strlen(pp->ki_comm);
821 if (len > sizeof(pp->ki_comm) - 3)
822 len = sizeof(pp->ki_comm) - 3;
823 memmove(pp->ki_comm + 1, pp->ki_comm, len);
824 pp->ki_comm[0] = '<';
825 pp->ki_comm[len + 1] = '>';
826 pp->ki_comm[len + 2] = '\0';
878 snprintf(cmdbuf, cmdlen, "%s{%s}", pp->ki_comm,
881 snprintf(cmdbuf, cmdlen, "%s", pp->ki_comm);
[all...]
/freebsd-10.0-release/usr.bin/netstat/
H A Dbpf.c73 return (strdup(newkp.ki_comm));
/freebsd-10.0-release/usr.bin/systat/
H A Dpigs.c101 pname = pt[k].pt_kp->ki_comm;
/freebsd-10.0-release/bin/ps/
H A Dprint.c124 k->ki_p->ki_comm,
128 str = strdup(k->ki_p->ki_comm);
176 k->ki_p->ki_comm,
181 asprintf(&str, "%s/%s", k->ki_p->ki_comm, k->ki_p->ki_tdname);
183 str = strdup(k->ki_p->ki_comm);
H A Dps.c1199 ki->ki_p->ki_comm, ki->ki_p->ki_tdname, MAXCOMLEN));
1201 asprintf(&ki->ki_args, "(%s)", ki->ki_p->ki_comm);
/freebsd-10.0-release/bin/pkill/
H A Dpkill.c352 kp->ki_pid, kp->ki_uid, kp->ki_comm);
368 mstr = kp->ki_comm;
610 printf("%d %s", (int)kp->ki_pid, kp->ki_comm);
/freebsd-10.0-release/usr.bin/w/
H A Dw.c323 ep->kp->ki_comm, NULL, MAXCOMLEN);
407 dkp->ki_comm, NULL, MAXCOMLEN);
/freebsd-10.0-release/usr.sbin/bsnmpd/modules/snmp_hostres/
H A Dhostres_swrun_tbl.c211 pname_len = strlen(kp->ki_comm) + 1;
214 strlcpy(entry->name, kp->ki_comm, pname_len);
/freebsd-10.0-release/sys/compat/freebsd32/
H A Dfreebsd32.h341 char ki_comm[COMMLEN+1]; member in struct:kinfo_proc32
/freebsd-10.0-release/sys/sys/
H A Duser.h100 #define COMMLEN 19 /* size of returned ki_comm name */
180 char ki_comm[COMMLEN+1]; /* command name */ member in struct:kinfo_proc
/freebsd-10.0-release/usr.bin/killall/
H A Dkillall.c329 strlcpy(thiscmd, procs[i].ki_comm, sizeof(thiscmd));
/freebsd-10.0-release/usr.bin/fstat/
H A Dfstat.c216 cmd = kp->ki_comm;
/freebsd-10.0-release/lib/libkvm/
H A Dkvm_proc.c371 strlcpy(kp->ki_comm, proc.p_comm, MAXCOMLEN);
/freebsd-10.0-release/sys/kern/
H A Dkern_proc.c910 strlcpy(kp->ki_comm, p->p_comm, sizeof(kp->ki_comm));
1162 bcopy(ki->ki_comm, ki32->ki_comm, COMMLEN + 1);

Completed in 134 milliseconds

12