Searched refs:PID (Results 1 - 25 of 53) sorted by relevance

123

/freebsd-current/contrib/bsnmp/snmpd/
H A Dsnmpd.sh35 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-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/i386/pid/
H A Dtst.retlist.ksh32 PID=$!
41 match=`$dtrace -l -n pid$PID:a.out:simple: -n pid$PID:a.out:complex: | wc -l`
43 kill $PID
/freebsd-current/crypto/openssh/
H A Dopensshd.init.in23 PID=`${CAT} ${PIDFILE}`
25 if [ ${PID:=0} -gt 1 -a ! "X$PID" = "X " ]; then
26 ${KILL} ${PID}
28 echo "Unable to read PID file"
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/link_count/
H A Dlink_count_001.ksh74 PID=$!
75 log_note "rm_lnkcnt_zero_file ${TESTDIR}/tmp/test$$ pid: $PID"
88 log_must kill -TERM $PID
92 log_must kill -TERM $PID
/freebsd-current/contrib/ntp/scripts/rc/
H A Dntpd45 PID=`cat $PIDFILE`
47 if kill -TERM $PID 2> /dev/null;then
50 if [ -n "`ps -p $PID|grep -v PID`" ]; then
/freebsd-current/crypto/openssh/regress/
H A Dreconfigure.sh26 PID=`$SUDO cat $PIDFILE`
28 $SUDO kill -HUP $PID
48 PID=`$SUDO cat $PIDFILE`
50 $SUDO kill -HUP $PID
/freebsd-current/tests/sys/cddl/zfs/tests/link_count/
H A Dlink_count_001.ksh77 PID=$!
78 log_note "$RM_LNKCNT_ZERO_FILE ${TESTDIR}/tmp/test${TESTCASE_ID} pid: $PID"
91 log_must $KILL -9 $PID
/freebsd-current/contrib/wpa/wpa_supplicant/examples/
H A Dp2p-action-udhcp.sh14 PID=`cat $PF`
15 if [ $PID -gt 0 ]; then
16 if ps $PID | grep -q $NAME; then
17 kill $PID
H A Dp2p-action.sh14 PID=`cat $PF`
15 if [ $PID -gt 0 ]; then
16 if ps $PID | grep -q $NAME; then
17 kill $PID
/freebsd-current/contrib/llvm-project/llvm/lib/XRay/
H A DFDRTraceExpander.cpp44 CurrentRecord.PId = PID;
59 CurrentRecord.PId = PID;
74 CurrentRecord.PId = PID;
91 PID = R.pid();
100 PID = R.tid();
117 CurrentRecord.PId = PID;
/freebsd-current/contrib/bmake/unit-tests/
H A Dexport.mk14 .if !defined(.MAKE.PID)
15 . error .MAKE.PID must be defined
26 .export .MAKE.PID
H A Dopt-debug-graph1.exp30 .MAKE.PID = <details omitted>
H A Dsuff-transform-debug.exp21 .MAKE.PID = <details omitted>
/freebsd-current/crypto/openssl/test/recipes/
H A D79-test_http.t23 ok($output[0] =~ /^ACCEPT (0.0.0.0|\[::\]):(\d+?) PID=(\d+)$/
/freebsd-current/contrib/llvm-project/llvm/lib/IR/
H A DIRPrintingPasses.cpp138 const char *PID = (const char *)P->getPassID(); local
140 return (PID == &PrintModulePassWrapper::ID) ||
141 (PID == &PrintFunctionPassWrapper::ID);
/freebsd-current/contrib/ncurses/ncurses/base/
H A DMKlib_gen.sh87 PID=$$
88 ED1=sed1_${PID}.sed
89 ED2=sed2_${PID}.sed
90 ED3=sed3_${PID}.sed
91 ED4=sed4_${PID}.sed
92 AW1=awk1_${PID}.awk
93 AW2=awk2_${PID}.awk
94 TMP=gen__${PID}.c
/freebsd-current/contrib/llvm-project/llvm/lib/Support/
H A DLockFileManager.cpp56 // Read the owning host and PID out of the lock file. If it appears that the
70 int PID; local
71 if (!PIDStr.getAsInteger(10, PID)) {
72 auto Owner = std::make_pair(std::string(Hostname), PID);
113 bool LockFileManager::processStillExecuting(StringRef HostID, int PID) { argument
120 if (StoredHostID == HostID && getsid(PID) == -1 && errno == ESRCH)
202 // We failed to write out PID, so report the error, remove the
/freebsd-current/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransZeroOutPropsInDealloc.cpp115 for (auto *PID : IMD->property_impls()) {
116 if (PID->getPropertyImplementation() ==
118 ObjCPropertyDecl *PD = PID->getPropertyDecl();
125 SynthesizedProperties[PD] = PID;
/freebsd-current/contrib/llvm-project/llvm/include/llvm/XRay/
H A DFDRTraceExpander.h26 int32_t PID = 0; member in class:llvm::xray::TraceExpander
/freebsd-current/contrib/llvm-project/llvm/include/llvm/Support/
H A DLockFileManager.h67 static bool processStillExecuting(StringRef Hostname, int PID);
/freebsd-current/usr.bin/ipcs/
H A Dipcs.c104 #define PID 8 macro
121 option |= BIGGEST | CREATOR | OUTSTANDING | PID | TIME;
145 option |= PID;
328 if (option & PID)
364 if (option & PID)
408 if (option & PID)
444 if (option & PID)
/freebsd-current/contrib/llvm-project/clang/lib/AST/
H A DDeclPrinter.cpp1558 void DeclPrinter::VisitObjCProtocolDecl(ObjCProtocolDecl *PID) { argument
1559 if (!PID->isThisDeclarationADefinition()) {
1560 Out << "@protocol " << *PID << ";\n"; local
1564 const ObjCList<ObjCProtocolDecl> &Protocols = PID->getReferencedProtocols();
1566 Out << "@protocol " << *PID; local
1572 Out << "@protocol " << *PID << '\n'; local
1573 VisitDeclContext(PID, false);
1577 void DeclPrinter::VisitObjCCategoryImplDecl(ObjCCategoryImplDecl *PID) { argument
1579 if (const auto *CID = PID->getClassInterface())
1583 Out << '(' << *PID << ")\ local
1590 VisitObjCCategoryDecl(ObjCCategoryDecl *PID) argument
1599 Out << "(" << *PID << ")\\n"; local
1738 VisitObjCPropertyImplDecl(ObjCPropertyImplDecl *PID) argument
[all...]
/freebsd-current/sys/contrib/openzfs/scripts/
H A Dzfs.sh74 read -r PID <"$ZED_PIDFILE"
75 kill "$PID"
/freebsd-current/cddl/usr.sbin/dwatch/
H A Ddwatch90 PID= # -p pid
564 [ "$PID" ] && ARGV="$ARGV -p $PID"
763 p) PID="$OPTARG" ;;
1073 if [ $COUNT -eq 0 -a ! "$EXECREGEX$FILTER$GROUP$OUTPUT_CMD$PID$USER" ]
1100 [ "$PID" ] && msg="$msg pid: $PID"
1129 -v pid="$PID" \
/freebsd-current/cddl/usr.sbin/dtrace/tests/
H A Ddtrace.test.mk44 # Test programs shouldn't be stripped; else we generally can't use the PID

Completed in 189 milliseconds

123