- Sort Score
- Result 10 results
- Languages All
Results 11 - 14 of 14 for findProcess (0.22 sec)
-
pilot/cmd/pilot-agent/status/server.go
return } _, err = w.Write(b) if err != nil { w.WriteHeader(http.StatusInternalServerError) } } // notifyExit sends SIGTERM to itself func notifyExit() { p, err := os.FindProcess(os.Getpid()) if err != nil { log.Error(err) } if err := p.Signal(syscall.SIGTERM); err != nil { log.Errorf("failed to send SIGTERM to self: %v", err) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 15:07:03 UTC 2024 - 31.1K bytes - Viewed (1) -
src/os/os_test.go
t.Fatalf("Child process reports parent process id '%v', expected '%v'", childPpid, ourPid) } } func TestKillFindProcess(t *testing.T) { testKillProcess(t, func(p *Process) { p2, err := FindProcess(p.Pid) if err != nil { t.Fatalf("Failed to find test process: %v", err) } err = p2.Kill() if err != nil { t.Fatalf("Failed to kill test process: %v", err) } }) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 83.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"Executable", Func, 8}, {"Exit", Func, 0}, {"Expand", Func, 0}, {"ExpandEnv", Func, 0}, {"File", Type, 0}, {"FileInfo", Type, 0}, {"FileMode", Type, 0}, {"FindProcess", Func, 0}, {"Getegid", Func, 0}, {"Getenv", Func, 0}, {"Geteuid", Func, 0}, {"Getgid", Func, 0}, {"Getgroups", Func, 0}, {"Getpagesize", Func, 0}, {"Getpid", Func, 0},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0) -
src/internal/trace/traceviewer/static/trace_viewer_full.html
return undefined;}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 20:45:06 UTC 2023 - 2.5M bytes - Viewed (0)