- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 151 for Pid (0.02 sec)
-
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) -
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) -
subprojects/core/src/main/java/org/gradle/cache/internal/DefaultProcessMetaDataProvider.java
this.environment = environment; } @Override public String getProcessIdentifier() { Long pid = environment.maybeGetPid(); return pid == null ? "gradle" : String.valueOf(pid); } @Override public String getProcessDisplayName() { return "gradle"; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:52 UTC 2024 - 1.2K bytes - Viewed (0) -
src/internal/syscall/unix/pidfd_linux.go
_, _, errno := syscall.Syscall(pidfdSendSignalTrap, pidfd, uintptr(s), 0) if errno != 0 { return errno } return nil } func PidFDOpen(pid, flags int) (uintptr, error) { pidfd, _, errno := syscall.Syscall(pidfdOpenTrap, uintptr(pid), uintptr(flags), 0) if errno != 0 { return ^uintptr(0), errno } return uintptr(pidfd), nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 01:23:00 UTC 2024 - 591 bytes - Viewed (0) -
src/syscall/syscall_darwin.go
} func direntNamlen(buf []byte) (uint64, bool) { return readInt(buf, unsafe.Offsetof(Dirent{}.Namlen), unsafe.Sizeof(Dirent{}.Namlen)) } func PtraceAttach(pid int) (err error) { return ptrace(PT_ATTACH, pid, 0, 0) } func PtraceDetach(pid int) (err error) { return ptrace(PT_DETACH, pid, 0, 0) } //sysnb pipe(p *[2]int32) (err error) func Pipe(p []int) (err error) { if len(p) != 2 { return EINVAL } var q [2]int32
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:50 UTC 2024 - 11K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/client/DefaultDaemonConnectorTest.groovy
expect: def connection = connector.maybeConnect({it.pid < 12} as ExplainingSpec) connection && connection.connection.num < 12 } def "maybeConnect() returns null when no daemon matches spec"() { given: startIdleDaemon() startIdleDaemon() expect: connector.maybeConnect({it.pid == 12} as DummyExplainingSpec) == null }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 10:50:51 UTC 2024 - 6.4K bytes - Viewed (0) -
docs/zh/docs/deployment/server-workers.md
[19499] [INFO] Listening at: http://0.0.0.0:80 (19499) [19499] [INFO] Using worker: uvicorn.workers.UvicornWorker [19511] [INFO] Booting worker with pid: 19511 [19513] [INFO] Booting worker with pid: 19513 [19514] [INFO] Booting worker with pid: 19514 [19515] [INFO] Booting worker with pid: 19515 [19511] [INFO] Started server process [19511] [19511] [INFO] Waiting for application startup. [19511] [INFO] Application startup complete.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 8.7K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/AbstractDaemonFixture.groovy
throw new IllegalStateException("unable to parse DefaultDaemonContext from source: [${daemonLog.file.absolutePath}].") } if (this.context?.pid == null) { println "PID in daemon log ($daemonLog.file.absolutePath) is null." println "daemon.log exists: ${daemonLog.file.exists()}" def logText = daemonLog.text
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 15:22:16 UTC 2024 - 3.8K bytes - Viewed (0) -
cmd/metrics-v3-system-process.go
processIOReadBytesMD = NewCounterMD(processIOReadBytes, "Total bytes read by the process from the underlying storage system, /proc/[pid]/io read_bytes") processIOWCharBytesMD = NewCounterMD(processIOWCharBytes, "Total bytes written by the process to the underlying storage system including page cache, /proc/[pid]/io wchar")
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Apr 26 16:07:23 UTC 2024 - 6.4K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/cache/internal/DefaultProcessMetaDataProviderTest.groovy
def "uses process PID as process identifier"() { given: processEnvironment.maybeGetPid() >> 1234 expect: provider.processIdentifier == '1234' } def "uses 'gradle' when PID is not available"() { given: processEnvironment.maybeGetPid() >> null expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:52 UTC 2024 - 1.3K bytes - Viewed (0)