- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 229 for Pid (0.02 sec)
-
build/build-image/rsyncd.sh
CONFDIR="/tmp/rsync.k8s" PIDFILE="${CONFDIR}/rsyncd.pid" CONFFILE="${CONFDIR}/rsyncd.conf" SECRETS="${CONFDIR}/rsyncd.secrets" mkdir -p "${CONFDIR}" if [[ -f "${PIDFILE}" ]]; then PID=$(cat "${PIDFILE}") echo "Cleaning up old PID file: ${PIDFILE}" kill "${PID}" &> /dev/null || true rm "${PIDFILE}" fi PASSWORD=$(</rsyncd.password) cat <<EOF >"${SECRETS}"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 04 15:58:52 UTC 2022 - 2.2K bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue1435.go
// specific status files match expectations. func compareStatus(filter, expect string) error { expected := filter + expect pid := syscall.Getpid() fs, err := os.ReadDir(fmt.Sprintf("/proc/%d/task", pid)) if err != nil { return fmt.Errorf("unable to find %d tasks: %v", pid, err) } expectedProc := fmt.Sprintf("Pid:\t%d", pid) foundAThread := false for _, f := range fs { tf := fmt.Sprintf("/proc/%s/status", f.Name())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jul 28 21:31:41 UTC 2023 - 7.5K bytes - Viewed (0) -
src/os/pidfd_linux.go
if !pidfdWorks() { return 0, false } return uintptr(*sysAttr.PidFD), true } func pidfdFind(pid int) (uintptr, error) { if !pidfdWorks() { return 0, syscall.ENOSYS } h, err := unix.PidFDOpen(pid, 0) if err != nil { return 0, convertESRCH(err) } return h, nil } // _P_PIDFD is used as idtype argument to waitid syscall. const _P_PIDFD = 3
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 18:08:44 UTC 2024 - 4.2K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/DaemonContextParser.java
} else { return null; } } @Nullable private static DaemonContext parseFrom87(String source) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 09:22:54 UTC 2024 - 5.8K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/bootstrap/DaemonStartupCommunication.java
OutputStream outputStream = new EncodedStream.EncodedOutput(byteArrayOutputStream); FlushableEncoder encoder = new OutputStreamBackedEncoder(outputStream); encoder.writeNullableString(pid == null ? null : pid.toString()); encoder.writeString(uid); MultiChoiceAddress multiChoiceAddress = (MultiChoiceAddress) address; new MultiChoiceAddressSerializer().write(encoder, multiChoiceAddress);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:38 UTC 2024 - 4.7K bytes - Viewed (0) -
src/os/exec_unix_test.go
} } // Lookup of a process that does not exist at time of lookup. func TestProcessAlreadyDone(t *testing.T) { // Theoretically MaxInt32 is a valid PID, but the chance of it actually // being used is extremely unlikely. pid := math.MaxInt32 if runtime.GOOS == "solaris" || runtime.GOOS == "illumos" { // Solaris/Illumos have a lower limit, above which wait returns
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 18:08:44 UTC 2024 - 2K bytes - Viewed (0) -
src/os/exec_posix.go
var ok bool h, ok = getPidfd(sysattr.Sys) if !ok { return newPIDProcess(pid), nil } } return newHandleProcess(pid, h), nil } func (p *Process) kill() error { return p.Signal(Kill) } // ProcessState stores information about a process, as reported by Wait. type ProcessState struct { pid int // The process's id. status syscall.WaitStatus // System-dependent status info.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 22:06:47 UTC 2024 - 3.7K bytes - Viewed (0) -
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/PidInstrumentation.groovy
} private static File createPidFile() { def pidFile = File.createTempFile("build-under-test", ".pid") pidFile.deleteOnExit() pidFile } private static File createPidFileInitScript(File pidFile) { def pidFileInitScript = File.createTempFile("pid-instrumentation", ".gradle") pidFileInitScript.deleteOnExit() pidFileInitScript.text = """ def e
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.9K bytes - Viewed (0) -
cni/pkg/repair/netns.go
"strconv" netns "github.com/containernetworking/plugins/pkg/ns" "github.com/prometheus/procfs" corev1 "k8s.io/api/core/v1" "istio.io/istio/pkg/log" ) func getPidNamespace(pid int) string { return "/host/proc/" + strconv.Itoa(pid) + "/ns/net" } func runInHost[T any](f func() (T, error)) (T, error) { var res T ns := getPidNamespace(1) err := netns.WithNetNSPath(ns, func(_ netns.NetNS) error { var err error
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 04:07:10 UTC 2024 - 4.3K bytes - Viewed (0) -
buildscripts/resolve-right-versions.sh
"${WORK_DIR}/mc" cp --quiet -r "buildscripts/cicd-corpus/" "${WORK_DIR}/cicd-corpus/" "${MINIO[@]}" --address ":$start_port" "${WORK_DIR}/cicd-corpus/disk{1...5}" >"${WORK_DIR}/server1.log" 2>&1 & pid=$! disown $pid sleep 5 if ! ps -p ${pid} 1>&2 >/dev/null; then echo "server1 log:" cat "${WORK_DIR}/server1.log" echo "FAILED" purge "$WORK_DIR" exit 1 fi "${WORK_DIR}/mc" stat minio/bucket/testobj
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Aug 16 14:51:33 UTC 2023 - 1.5K bytes - Viewed (0)