/freebsd-10-stable/contrib/gdb/gdb/config/i386/ |
H A D | nm-i386v42mp.h | 45 /* Return the process id stored in composite PID. */ 46 #define PIDGET(PID) (((PID) & ((1 << PIDBITS) - 1))) 48 /* Return the thread or lwp id stored in composite PID. */ 49 #define TIDGET(PID) (((PID) & 0x3fffffff) >> PIDBITS) 50 #define LIDGET(PID) TIDGET(PID) 53 composite PID. */ 54 #define MERGEPID(PID, LI [all...] |
/freebsd-10-stable/contrib/bsnmp/snmpd/ |
H A D | snmpd.sh | 35 PID=/var/run/snmpd.pid 41 if [ -r ${PID} ] ; then 42 if kill -0 `cat ${PID}` ; then 43 echo "snmpd already running -- pid `cat ${PID}`" >/dev/stderr 46 rm -f ${PID} 48 if ${SNMPD} -c ${CONF} -p ${PID} ; then 54 if [ -r ${PID} ] ; then 55 if kill -0 `cat ${PID}` ; then 56 if kill -15 `cat ${PID}` ; then 64 rm -f ${PID} [all...] |
/freebsd-10-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/i386/pid/ |
H A D | tst.retlist.ksh | 32 PID=$! 41 match=`$dtrace -l -n pid$PID:a.out:simple: -n pid$PID:a.out:complex: | wc -l` 43 kill $PID
|
/freebsd-10-stable/contrib/gdb/gdb/config/rs6000/ |
H A D | nm-rs6000.h | 38 #define SOLIB_CREATE_INFERIOR_HOOK(PID) \ 40 xcoff_relocate_symtab (PID); \
|
/freebsd-10-stable/cddl/contrib/dtracetoolkit/Bin/ |
H A D | pfilestat | 70 PID=$1 73 if [ -z "$PID" ] 94 inline int PID = '$PID'; 122 /pid == PID && OPT_read/ 142 /pid == PID && OPT_read/ 159 /pid == PID && OPT_write/ 171 /pid == PID && OPT_write/ 185 /pid == PID/ 194 /pid == PID/ [all...] |
H A D | dvmstat | 3 # dvmstat - vmstat by PID/name/command. 6 # This program provides vmstat like data for one particular PID, a 12 # USAGE: dvmstat { -p PID | -n name | command } 14 # dvmstat -p 1871 # examine PID 1871 75 USAGE: dvmstat [-h] { -p PID | -n name | command } 76 -p PID # examine this PID 79 dvmstat -p 1871 # examine PID 1871 112 inline int PID = '$pid'; 151 /(OPT_pid && pid == PID) || [all...] |
H A D | shellsnoop | 17 # USAGE: shellsnoop [-hqsv] [-p PID] [-u UID] 22 # -p PID # process ID to snoop 27 # shellsnoop -p 1892 # snoop this PID only 28 # shellsnoop -qp 1892 # watch this PID data only 32 # PID process ID 84 USAGE: shellsnoop [-hqsv] [-p PID] [-u UID] 89 -p PID # process ID to snoop 118 inline int PID = '$pid'; 137 printf("%5s %5s %8s %3s %s\n", "PID", "PPID", "CMD", "DIR", "TEXT"); 141 * Remember this PID i [all...] |
H A D | dappprof | 11 # USAGE: dappprof [-acehoTU] [-u lib] { -p PID | command } 13 # -p PID # examine this PID 24 # dappprof -p 1871 # examine PID 1871 81 USAGE: dappprof [-cehoTU] [-u lib] { -p PID | command } 83 -p PID # examine this PID 94 dappprof -p 1871 # examine PID 1871 146 inline int PID = '$pid';
|
H A D | dapptrace | 11 # USAGE: dapptrace [-acdeFlhoU] [-u lib] { -p PID | command } 13 # -p PID # examine this PID 26 # dapptrace -p 1871 # examine PID 1871 88 USAGE: dapptrace [-acdeholFLU] [-u lib] { -p PID | command } 90 -p PID # examine this PID 103 dapptrace -p 1871 # examine PID 1871 154 inline int PID = '$pid'; 160 OPT_printid ? printf("%-8s ","PID/LW [all...] |
H A D | opensnoop | 8 # USAGE: opensnoop [-a|-A|-ceghsvxZ] [-f pathname] [-n name] [-p PID] 23 # -p PID # process ID to snoop 32 # PID Process ID 101 [-n name] [-p PID] 114 -p PID # process ID to snoop 152 inline int PID = '$pid'; 176 "TIME", "UID", "PID", "PPID", "COMM", "FD", "ERR", "CWD", 177 "PATH", "ARGS") : printf("%5s %6s ","UID","PID"); 202 (OPT_pid == 1 && PID == pid) ? self->ok = 1 : 1;
|
H A D | procsystime | 8 # USAGE: procsystime [-acehoT] [ -p PID | -n name | command ] 10 # -p PID # examine this PID 18 # procsystime -p 1871 # examine PID 1871 78 USAGE: procsystime [-aceho] [ -p PID | -n name | command ] 79 -p PID # examine this PID 87 procsystime -p 1871 # examine PID 1871 125 inline int PID = '$pid'; 145 (OPT_pid && pid == PID) || [all...] |
/freebsd-10-stable/cddl/contrib/dtracetoolkit/Proc/ |
H A D | pfilestat | 70 PID=$1 73 if [ -z "$PID" ] 94 inline int PID = '$PID'; 122 /pid == PID && OPT_read/ 142 /pid == PID && OPT_read/ 159 /pid == PID && OPT_write/ 171 /pid == PID && OPT_write/ 185 /pid == PID/ 194 /pid == PID/ [all...] |
/freebsd-10-stable/contrib/ntp/scripts/rc/ |
H A D | ntpd | 45 PID=`cat $PIDFILE` 47 if kill -TERM $PID 2> /dev/null;then 50 if [ -n "`ps -p $PID|grep -v PID`" ]; then
|
/freebsd-10-stable/contrib/gdb/gdb/ |
H A D | coff-solib.h | 45 #define SOLIB_CREATE_INFERIOR_HOOK(PID) coff_solib_create_inferior_hook() 56 #define SOLIB_REMOVE_INFERIOR_HOOK(PID) (0)
|
H A D | solib.h | 47 #define SOLIB_CREATE_INFERIOR_HOOK(PID) solib_create_inferior_hook() 56 #define SOLIB_REMOVE_INFERIOR_HOOK(PID) (0)
|
H A D | pa64solib.h | 40 #define SOLIB_CREATE_INFERIOR_HOOK(PID) pa64_solib_create_inferior_hook() 48 #define SOLIB_REMOVE_INFERIOR_HOOK(PID) pa64_solib_remove_inferior_hook(PID)
|
H A D | somsolib.h | 51 #define SOLIB_CREATE_INFERIOR_HOOK(PID) som_solib_create_inferior_hook() 60 #define SOLIB_REMOVE_INFERIOR_HOOK(PID) som_solib_remove_inferior_hook(PID)
|
/freebsd-10-stable/crypto/openssh/regress/ |
H A D | reconfigure.sh | 28 PID=`$SUDO cat $PIDFILE` 30 $SUDO kill -HUP $PID
|
/freebsd-10-stable/crypto/openssh/ |
H A D | opensshd.init.in | 47 PID=`${CAT} ${PIDFILE}` 49 if [ ${PID:=0} -gt 1 -a ! "X$PID" = "X " ]; then 50 ${KILL} ${PID} 52 echo "Unable to read PID file"
|
/freebsd-10-stable/cddl/contrib/dtracetoolkit/Apps/ |
H A D | shellsnoop | 17 # USAGE: shellsnoop [-hqsv] [-p PID] [-u UID] 22 # -p PID # process ID to snoop 27 # shellsnoop -p 1892 # snoop this PID only 28 # shellsnoop -qp 1892 # watch this PID data only 32 # PID process ID 84 USAGE: shellsnoop [-hqsv] [-p PID] [-u UID] 89 -p PID # process ID to snoop 118 inline int PID = '$pid'; 137 printf("%5s %5s %8s %3s %s\n", "PID", "PPID", "CMD", "DIR", "TEXT"); 141 * Remember this PID i [all...] |
/freebsd-10-stable/cddl/contrib/dtracetoolkit/ |
H A D | dvmstat | 3 # dvmstat - vmstat by PID/name/command. 6 # This program provides vmstat like data for one particular PID, a 12 # USAGE: dvmstat { -p PID | -n name | command } 14 # dvmstat -p 1871 # examine PID 1871 75 USAGE: dvmstat [-h] { -p PID | -n name | command } 76 -p PID # examine this PID 79 dvmstat -p 1871 # examine PID 1871 112 inline int PID = '$pid'; 151 /(OPT_pid && pid == PID) || [all...] |
/freebsd-10-stable/contrib/wpa/wpa_supplicant/examples/ |
H A D | p2p-action-udhcp.sh | 14 PID=`cat $PF` 15 if [ $PID -gt 0 ]; then 16 if ps $PID | grep -q $NAME; then 17 kill $PID
|
H A D | p2p-action.sh | 14 PID=`cat $PF` 15 if [ $PID -gt 0 ]; then 16 if ps $PID | grep -q $NAME; then 17 kill $PID
|
/freebsd-10-stable/contrib/bmake/unit-tests/ |
H A D | export.mk | 14 .export .MAKE.PID
|
/freebsd-10-stable/contrib/llvm/lib/Support/ |
H A D | LockFileManager.cpp | 38 // Read the owning host and PID out of the lock file. If it appears that the 48 int PID; local 49 if (!PIDStr.getAsInteger(10, PID)) 50 return std::make_pair(std::string(Hostname), PID); 57 bool LockFileManager::processStillExecuting(StringRef Hostname, int PID) { argument 64 if (MyHostname == Hostname && getsid(PID) == -1 && errno == ESRCH) 111 // We failed to write out PID, so make up an excuse, remove the
|