- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 266 for nproc (0.23 sec)
-
pkg/kubelet/cm/util/cgroups_linux.go
// process could in container and shared pid namespace with host, and // /proc/1/cgroup could point to whole other world of cgroups. initPath, err := libcontainercgroups.GetOwnCgroup("devices") if err != nil { return "", err } // This is needed for nested containers, because in /proc/self/cgroup we // see paths from host, which don't exist in container. relDir, err := filepath.Rel(root, initPath)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 12 07:50:19 UTC 2020 - 2.9K bytes - Viewed (0) -
src/os/executable_plan9.go
// license that can be found in the LICENSE file. //go:build plan9 package os import ( "internal/itoa" "syscall" ) func executable() (string, error) { fn := "/proc/" + itoa.Itoa(Getpid()) + "/text" f, err := Open(fn) if err != nil { return "", err } defer f.Close() return syscall.Fd2path(int(f.Fd()))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 427 bytes - Viewed (0) -
docs/debugging/reorder-disks/main.go
result := make(map[string]string) mountInfo, err := os.Open("/proc/self/mountinfo") if err != nil { return nil, err } defer mountInfo.Close() scanner := bufio.NewScanner(mountInfo) for scanner.Scan() { s := strings.Split(scanner.Text(), " ") if len(s) != 11 { return nil, errors.New("unsupported /proc/self/mountinfo format") } result[s[2]] = s[9] }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 5.4K bytes - Viewed (0) -
src/vendor/golang.org/x/sys/cpu/cpu_linux_arm64.go
sb.WriteByte(byte(b)) } major, minor, _, ok := parseRelease(sb.String()) return ok && (major > 4 || major == 4 && minor >= 11) } func doinit() { if err := readHWCAP(); err != nil { // We failed to read /proc/self/auxv. This can happen if the binary has // been given extra capabilities(7) with /bin/setcap. // // When this happens, we have two options. If the Linux kernel is new
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 16:12:58 UTC 2024 - 3.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/zsysctl_openbsd_ppc64.go
{"kern.nchstats", []_C_int{1, 41}}, {"kern.netlivelocks", []_C_int{1, 76}}, {"kern.nfiles", []_C_int{1, 56}}, {"kern.ngroups", []_C_int{1, 18}}, {"kern.nosuidcoredump", []_C_int{1, 32}}, {"kern.nprocs", []_C_int{1, 47}}, {"kern.nthreads", []_C_int{1, 26}}, {"kern.numvnodes", []_C_int{1, 58}}, {"kern.osrelease", []_C_int{1, 2}}, {"kern.osrevision", []_C_int{1, 3}}, {"kern.ostype", []_C_int{1, 1}},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 11.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/zsysctl_openbsd_riscv64.go
{"kern.nchstats", []_C_int{1, 41}}, {"kern.netlivelocks", []_C_int{1, 76}}, {"kern.nfiles", []_C_int{1, 56}}, {"kern.ngroups", []_C_int{1, 18}}, {"kern.nosuidcoredump", []_C_int{1, 32}}, {"kern.nprocs", []_C_int{1, 47}}, {"kern.nselcoll", []_C_int{1, 43}}, {"kern.nthreads", []_C_int{1, 26}}, {"kern.numvnodes", []_C_int{1, 58}}, {"kern.osrelease", []_C_int{1, 2}}, {"kern.osrevision", []_C_int{1, 3}},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 12K bytes - Viewed (0) -
src/cmd/trace/gen.go
g.ranges[r] = activeRange{ctx.startTime, ev.Stack()} } case trace.EventRangeEnd: // Emit proc-based ranges. ar := g.ranges[r] ctx.Slice(traceviewer.SliceEvent{ Name: r.Name, Ts: ctx.elapsed(ar.time), Dur: ev.Time().Sub(ar.time), Resource: uint64(r.Scope.Proc()), Stack: ctx.Stack(viewerFrames(ar.stack)), EndStack: ctx.Stack(viewerFrames(ev.Stack())), })
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 11.5K bytes - Viewed (0) -
src/net/sock_linux.go
if major > 4 || (major == 4 && minor >= 1) { size = 32 } var max uint = 1<<size - 1 if uint(n) > max { n = int(max) } return n } func maxListenerBacklog() int { fd, err := open("/proc/sys/net/core/somaxconn") if err != nil { return syscall.SOMAXCONN } defer fd.close() l, ok := fd.readLine() if !ok { return syscall.SOMAXCONN } f := getFields(l) n, _, ok := dtoi(f[0])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Sep 03 18:39:45 UTC 2022 - 993 bytes - Viewed (0) -
src/internal/trace/internal/oldtrace/parser.go
availableProcs := make([]*proc, len(allProcs)) for i := range allProcs { availableProcs[i] = &allProcs[i] } for { pidLoop: for i := 0; i < len(availableProcs); i++ { proc := availableProcs[i] for len(proc.events) == 0 { // Call loadBatch in a loop because sometimes batches are empty evs, err := p.loadBatch(proc.pid, proc.buf[:0]) proc.buf = evs[:0] if err == io.EOF {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 21:15:28 UTC 2024 - 46.8K bytes - Viewed (0) -
platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerDaemonProcessFailureIntegrationTest.groovy
result = gradle.waitForFinish() then: outputContainsKilledWorkerWarning() } static void kill(long pid1) { def proc = new ProcessFixture(pid1) proc.kill(false) proc.waitForFinish() } void outputContainsKilledWorkerWarning() { if (OperatingSystem.current().windows) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 07 18:43:14 UTC 2024 - 9.6K bytes - Viewed (0)