代码搜索结果

找到约 12,494 项符合 PID 的代码

tracewrite.d

#!/usr/sbin/dtrace -s syscall::write:entry /pid == $1/ { }

syscall.d

syscall:::entry /pid == $target/ { @[probefunc] = count(); }

kstat.d

pid$1:libkstat:kstat_data_lookup:entry { self->ksname = arg1; } pid$1:libkstat:kstat_data_lookup:return /self->ksname != NULL && arg1 != NULL/ { this->ksp = (kstat_named_t *) copyin(arg1, sizeof (k

prof.d

#pragma D option quiet profile-97 /pid != 0/ { @proc[pid, execname] = count(); } END { printf("%-8s %-40s %s\n", "PID", "CMD", "COUNT"); printa("%-8d %-40s %@d\n", @proc); }

profpri.d

profile-1001 /pid == $1/ { @proc[execname] = lquantize(curlwpsinfo->pr_pri, 0, 100, 10); }

signocsw.c

/* * Signal without context switch benchmark. */ #include int pid; int nsigs; int sigsub(); main(argc, argv) char *argv[]; { if (argc < 2) { printf("usage: %s nsignals\n", argv[0])

signocsw.c

/* * Signal without context switch benchmark. */ #include int pid; int nsigs; void sigsub(); main(argc, argv) char *argv[]; { register int i; if (argc < 2) { printf("usage: %s nsi

named.restart.sh

#!/bin/sh - # # from named.restart 5.4 (Berkeley) 6/27/89 # $Id: named.restart.sh,v 4.9.1.4 1993/12/06 00:43:02 vixie Exp $ # PATH=/bin:/sbin:/usr/sbin:/usr/bin:/etc:/usr/etc:%DESTSBIN% pid=`cat %PI

makefile.datadir

# $Header: Makefile,v 1.15 93/01/14 01:02:38 root Exp $ HOSTS= /usr/local/adm/hosts/localhosts PID= /etc/named.pid NAMED= /etc/named ARCH= mips vax ZONES= 16.1.zone 16.10.zone 16.2.zone 16.3.zon

hup-named.c

/* hup-named -- cause the name server to reload its data files * vix 16sep91 [written] */ #include #include #include #define PIDFILE "/etc/named.pid" #define NAMED "