- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 733 for proc (0.04 sec)
-
pkg/kubelet/winstats/perfcounter_nodestats.go
// 2. On Linux node, total physical memory is read from MemTotal in /proc/meminfo. // GlobalMemoryStatusEx returns the amount of physical memory that is available // for the operating system to use. The amount returned by GlobalMemoryStatusEx // is closer in parity with Linux // https://www.kernel.org/doc/Documentation/filesystems/proc.txt var statex MemoryStatusEx statex.Length = uint32(unsafe.Sizeof(statex))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 26 18:37:21 UTC 2024 - 9.2K bytes - Viewed (0) -
internal/mountinfo/mountinfo_linux_test.go
// Success case, where path doesn't have any mounts. { if err = mounts.checkCrossMounts("/path/to/x"); err != nil { t.Fatalf("Expected success, failed instead (%s)", err) } } } // Tests read proc mounts file. func TestReadProcmountInfos(t *testing.T) { successCase := `/dev/0 /path/to/0 type0 flags 0 0 /dev/1 /path/to/1 type1 flags 1 1 /dev/2 /path/to/2 type2 flags,1,2=3 2 2 ` var err error
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 7.3K bytes - Viewed (0) -
pkg/util/procfs/procfs_linux_test.go
procCgroupEmpty := "" verifyContainerName(procCgroupEmpty, "", true, t) content, err := os.ReadFile("example_proc_cgroup") if err != nil { t.Errorf("Could not read example /proc cgroup file") } verifyContainerName(string(content), "/user/1000.user/c1.session", false, t) procCgroupNoDevice := "2:freezer:docker/kubelet\n5:cpuacct:pkg/kubectl" verifyContainerName(procCgroupNoDevice, "", true, t)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 20 07:13:28 UTC 2022 - 3.1K bytes - Viewed (0) -
src/syscall/mksyscall_libc.pl
if($dynimports !~ /\s+${sysvarname}\s+/) { $dynimports .= "//go:cgo_import_dynamic ${sysvarname} ${sysname} \"$modname\"\n"; # Link symbol to proc address variable. $linknames .= "//go:linkname ${sysvarname} ${sysvarname}\n"; # Library proc address variable. push @vars, $sysvarname; } # Go function header. $out = join(', ', @out); if($out ne "") { $out = " ($out)"; }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 23 11:28:51 UTC 2023 - 8K bytes - Viewed (0) -
src/runtime/runtime-gdb_unix_test.go
} // Make sure core pattern will send core to the current directory. b, err := os.ReadFile("/proc/sys/kernel/core_pattern") if err != nil { t.Fatalf("error reading core_pattern: %v", err) } if string(b) != "core\n" { t.Skipf("Unexpected core pattern %q", string(b)) } coreUsesPID := false b, err = os.ReadFile("/proc/sys/kernel/core_uses_pid") if err == nil { switch string(bytes.TrimSpace(b)) { case "0":
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 17 19:05:30 UTC 2024 - 9.4K bytes - Viewed (0) -
src/runtime/traceruntime.go
} // Gomaxprocs emits a ProcsChange event. func (tl traceLocker) Gomaxprocs(procs int32) { tl.eventWriter(traceGoRunning, traceProcRunning).commit(traceEvProcsChange, traceArg(procs), tl.stack(1)) } // ProcStart traces a ProcStart event. // // Must be called with a valid P. func (tl traceLocker) ProcStart() { pp := tl.mp.p.ptr()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:31:00 UTC 2024 - 25.7K bytes - Viewed (0) -
internal/config/certs_test.go
kQyKGUTpDbKLuyYMFsoH73YLjBqNe+UEhPwE+FWpcky1Sp9RTx/oMLpiZaPR -----END CERTIFICATE-----`, shouldFail: true, }, { password: "foobar", privateKey: `-----BEGIN RSA PRIVATE KEY----- Proc-Type: 4,ENCRYPTED DEK-Info: AES-128-CBC,CC483BF11678C35F9F02A1AD85DAE285 nMDFd+Qxk1f+S7LwMitmMofNXYNbCY4L1QEqPOOx5wnjNF1wSxmEkL7+h8W4Y/vb AQt/7TCcUSuSqEMl45nUIcCbhBos5wz+ShvFiez3qKwmR5HSURvqyN6PIJeAbU+h
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 21.6K bytes - Viewed (0) -
src/os/exec_plan9.go
if e != nil { return nil, &PathError{Op: "fork/exec", Path: name, Err: e} } return newPIDProcess(pid), nil } func (p *Process) writeProcFile(file string, data string) error { f, e := OpenFile("/proc/"+itoa.Itoa(p.Pid)+"/"+file, O_WRONLY, 0) if e != nil { return e } defer f.Close() _, e = f.Write([]byte(data)) return e } func (p *Process) signal(sig Signal) error { switch p.pidStatus() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 22:06:47 UTC 2024 - 3.4K bytes - Viewed (0) -
pkg/volume/util/fsquota/quota_linux_test.go
"k8s.io/kubernetes/pkg/features" "k8s.io/kubernetes/pkg/volume/util/fsquota/common" ) const dummyMountData = `sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0 proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0 devtmpfs /dev devtmpfs rw,nosuid,size=6133536k,nr_inodes=1533384,mode=755 0 0 tmpfs /tmp tmpfs rw,nosuid,nodev 0 0 /dev/sda1 /boot ext4 rw,relatime 0 0
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 20.7K bytes - Viewed (0) -
src/runtime/race/output_test.go
.*_cgo_gotypes\.go:[0-9]+ \+0x[0-9,a-f]+ _cgoexp_[0-9a-z]+_goCallback\(\) <autogenerated>:1 \+0x[0-9,a-f]+ Goroutine [0-9] \(running\) created at: runtime\.newextram\(\) .*/runtime/proc.go:[0-9]+ \+0x[0-9,a-f]+ ==================`, `================== WARNING: DATA RACE Read at 0x[0-9,a-f]+ by .*: main\..* .*/main\.go:[0-9]+ \+0x[0-9,a-f]+(?s).*
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 25 20:44:25 UTC 2023 - 9.3K bytes - Viewed (0)