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

123

/freebsd-13-stable/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-13-stable/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-13-stable/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-13-stable/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-13-stable/crypto/openssh/
H A Dopensshd.init.in43 PID=`${CAT} ${PIDFILE}`
45 if [ ${PID:=0} -gt 1 -a ! "X$PID" = "X " ]; then
46 ${KILL} ${PID}
48 echo "Unable to read PID file"
/freebsd-13-stable/crypto/openssh/regress/
H A Dreconfigure.sh26 PID=`$SUDO cat $PIDFILE`
28 $SUDO kill -HUP $PID
/freebsd-13-stable/tests/sys/cddl/zfs/tests/link_count/
H A Dlink_count_001.ksh82 PID=$!
83 log_note "$RM_LNKCNT_ZERO_FILE ${TESTDIR}/tmp/test${TESTCASE_ID} pid: $PID"
96 log_must $KILL -9 $PID
/freebsd-13-stable/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-13-stable/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.exp28 .MAKE.PID = <details omitted>
H A Dopt-debug-graph2.exp62 .MAKE.PID = <details omitted>
H A Dopt-debug-graph3.exp62 .MAKE.PID = <details omitted>
H A Dsuff-transform-debug.exp19 .MAKE.PID = <details omitted>
/freebsd-13-stable/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-13-stable/contrib/llvm-project/llvm/lib/IR/
H A DIRPrintingPasses.cpp134 const char *PID = (const char*)P->getPassID(); local
136 return (PID == &PrintModulePassWrapper::ID) ||
137 (PID == &PrintFunctionPassWrapper::ID);
/freebsd-13-stable/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-13-stable/contrib/llvm-project/llvm/lib/Support/
H A DLockFileManager.cpp57 // Read the owning host and PID out of the lock file. If it appears that the
71 int PID; local
72 if (!PIDStr.getAsInteger(10, PID)) {
73 auto Owner = std::make_pair(std::string(Hostname), PID);
114 bool LockFileManager::processStillExecuting(StringRef HostID, int PID) { argument
121 if (StoredHostID == HostID && getsid(PID) == -1 && errno == ESRCH)
203 // We failed to write out PID, so report the error, remove the
/freebsd-13-stable/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-13-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DLockFileManager.h67 static bool processStillExecuting(StringRef Hostname, int PID);
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/XRay/
H A DFDRTraceExpander.h26 int32_t PID = 0; member in class:llvm::xray::TraceExpander
/freebsd-13-stable/usr.bin/ipcs/
H A Dipcs.c107 #define PID 8 macro
124 option |= BIGGEST | CREATOR | OUTSTANDING | PID | TIME;
148 option |= PID;
331 if (option & PID)
367 if (option & PID)
411 if (option & PID)
447 if (option & PID)
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DDeclPrinter.cpp1357 void DeclPrinter::VisitObjCProtocolDecl(ObjCProtocolDecl *PID) { argument
1358 if (!PID->isThisDeclarationADefinition()) {
1359 Out << "@protocol " << *PID << ";\n"; local
1363 const ObjCList<ObjCProtocolDecl> &Protocols = PID->getReferencedProtocols();
1365 Out << "@protocol " << *PID; local
1371 Out << "@protocol " << *PID << '\n'; local
1372 VisitDeclContext(PID, false);
1376 void DeclPrinter::VisitObjCCategoryImplDecl(ObjCCategoryImplDecl *PID) { argument
1378 if (const auto *CID = PID->getClassInterface())
1382 Out << '(' << *PID << ")\ local
1389 VisitObjCCategoryDecl(ObjCCategoryDecl *PID) argument
1398 Out << "(" << *PID << ")\\n"; local
1537 VisitObjCPropertyImplDecl(ObjCPropertyImplDecl *PID) argument
[all...]
/freebsd-13-stable/cddl/usr.sbin/dtrace/tests/
H A Ddtrace.test.mk45 # Test programs shouldn't be stripped; else we generally can't use the PID
/freebsd-13-stable/cddl/usr.sbin/dwatch/
H A Ddwatch91 PID= # -p pid
565 [ "$PID" ] && ARGV="$ARGV -p $PID"
764 p) PID="$OPTARG" ;;
1074 if [ $COUNT -eq 0 -a ! "$EXECREGEX$FILTER$GROUP$OUTPUT_CMD$PID$USER" ]
1101 [ "$PID" ] && msg="$msg pid: $PID"
1130 -v pid="$PID" \

Completed in 172 milliseconds

123