Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 432 for proc (0.06 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/process/internal/PathLimitationIntegrationTest.groovy

                proc = builder.build();
                try {
                    proc.start();
                    assertFalse(startFails);
                } catch (ExecException e) {
                    e.printStackTrace()
                    assertTrue(startFails);
                    return;
                }
                proc.getConnection().addIncoming(TestListenerInterface.class, exceptionListener);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 20 11:15:22 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  2. 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)
  3. src/runtime/pprof/proto_other.go

    //go:build !windows && !darwin
    
    package pprof
    
    import (
    	"errors"
    	"os"
    )
    
    // readMapping reads /proc/self/maps and writes mappings to b.pb.
    // It saves the address ranges of the mappings in b.mem for use
    // when emitting locations.
    func (b *profileBuilder) readMapping() {
    	data, _ := os.ReadFile("/proc/self/maps")
    	parseProcSelfMaps(data, b.addMapping)
    	if len(b.mem) == 0 { // pprof expects a map entry, so fake one.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 03 16:07:59 UTC 2023
    - 928 bytes
    - Viewed (0)
  4. pkg/kubelet/util/swap/swap_util.go

    }
    
    // gets /proc/swaps's content as an input, returns true if swap is enabled.
    func isSwapOnAccordingToProcSwaps(procSwapsContent []byte) bool {
    	procSwapsContent = bytes.TrimSpace(procSwapsContent) // extra trailing \n
    	procSwapsStr := string(procSwapsContent)
    	procSwapsLines := strings.Split(procSwapsStr, "\n")
    
    	// If there is more than one line (table headers) in /proc/swaps then swap is enabled
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 10:07:06 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. src/os/sys_linux.go

    // license that can be found in the LICENSE file.
    
    package os
    
    import (
    	"runtime"
    	"syscall"
    )
    
    func hostname() (name string, err error) {
    	// Try uname first, as it's only one system call and reading
    	// from /proc is not allowed on Android.
    	var un syscall.Utsname
    	err = syscall.Uname(&un)
    
    	var buf [512]byte // Enough for a DNS name.
    	for i, b := range un.Nodename[:] {
    		buf[i] = uint8(b)
    		if b == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 02 14:41:57 UTC 2018
    - 1K bytes
    - Viewed (0)
  6. src/internal/cpu/cpu_s390x_test.go

    	"os"
    	"regexp"
    	"testing"
    )
    
    func getFeatureList() ([]string, error) {
    	cpuinfo, err := os.ReadFile("/proc/cpuinfo")
    	if err != nil {
    		return nil, err
    	}
    	r := regexp.MustCompile("features\\s*:\\s*(.*)")
    	b := r.FindSubmatch(cpuinfo)
    	if len(b) < 2 {
    		return nil, errors.New("no feature list in /proc/cpuinfo")
    	}
    	return regexp.MustCompile("\\s+").Split(string(b[1]), -1), nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 09 19:12:23 UTC 2020
    - 1.4K bytes
    - Viewed (0)
  7. docs/chroot/README.md

    wget https://dl.min.io/server/minio/release/linux-amd64/minio -O /mnt/export/${USER}/bin/minio
    chmod +x /mnt/export/${USER}/bin/minio
    ```
    
    Bind your `proc` mount to the target chroot directory
    
    ```
    sudo mount --bind /proc /mnt/export/${USER}/proc
    ```
    
    ## 3. Run Standalone MinIO in Chroot
    
    ### GNU/Linux
    
    ```sh
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  8. src/internal/trace/event/requirements.go

    // license that can be found in the LICENSE file.
    
    package event
    
    // SchedReqs is a set of constraints on what the scheduling
    // context must look like.
    type SchedReqs struct {
    	Thread    Constraint
    	Proc      Constraint
    	Goroutine Constraint
    }
    
    // Constraint represents a various presence requirements.
    type Constraint uint8
    
    const (
    	MustNotHave Constraint = iota
    	MayHave
    	MustHave
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 685 bytes
    - Viewed (0)
  9. src/os/executable_procfs.go

    func executable() (string, error) {
    	var procfn string
    	switch runtime.GOOS {
    	default:
    		return "", errors.New("Executable not implemented for " + runtime.GOOS)
    	case "linux", "android":
    		procfn = "/proc/self/exe"
    	case "netbsd":
    		procfn = "/proc/curproc/exe"
    	}
    	path, err := Readlink(procfn)
    
    	// When the executable has been deleted then Readlink returns a
    	// path appended with " (deleted)".
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 05 00:26:04 UTC 2024
    - 715 bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/test/buildid_linux.go

    // one.
    
    import (
    	"bytes"
    	"debug/elf"
    	"os"
    	"testing"
    )
    
    func testBuildID(t *testing.T) {
    	f, err := elf.Open("/proc/self/exe")
    	if err != nil {
    		if os.IsNotExist(err) {
    			t.Skip("no /proc/self/exe")
    		}
    		t.Fatal("opening /proc/self/exe: ", err)
    	}
    	defer f.Close()
    
    	c := 0
    sections:
    	for i, s := range f.Sections {
    		if s.Type != elf.SHT_NOTE {
    			continue
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 1.7K bytes
    - Viewed (0)
Back to top