Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 266 for nproc (0.76 sec)

  1. 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)
  2. cni/pkg/repair/netns.go

    			return err
    		})
    		if err != nil {
    			log.Warnf("failed to check proc %d netns interfaces: %v", p.PID, err)
    			continue
    		}
    
    		if !match {
    			// Not the network we want, skip
    			continue
    		}
    		s, err := p.Stat()
    		if err != nil {
    			// Unexpected... we will use it, but only if we find nothing without errors
    			log.Warnf("failed to read proc %v stats: %v", p.PID, err)
    			if best == "" {
    				best = ns
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 04:07:10 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. src/cmd/go/internal/generate/generate_test.go

    }
    
    func TestGenerateCommandParse(t *testing.T) {
    	dir := filepath.Join(testenv.GOROOT(t), "src", "sys")
    	g := &Generator{
    		r:        nil, // Unused here.
    		path:     filepath.Join(dir, "proc.go"),
    		dir:      dir,
    		file:     "proc.go",
    		pkg:      "sys",
    		commands: make(map[string][]string),
    	}
    	g.setEnv()
    	g.setShorthand([]string{"-command", "yacc", "go", "tool", "yacc"})
    	for _, test := range splitTests {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 20 14:09:12 UTC 2022
    - 7.4K bytes
    - Viewed (0)
  6. src/syscall/syscall_ptrace_test.go

    	if err != nil {
    		t.Skipf("skipped because sh is not available")
    	}
    
    	attr := &os.ProcAttr{
    		Sys: &syscall.SysProcAttr{
    			Ptrace: true,
    		},
    	}
    	proc, err := os.StartProcess(bin, []string{bin}, attr)
    	if err == nil {
    		proc.Kill()
    	}
    	if err != nil && !os.IsPermission(err) {
    		t.Fatalf("StartProcess with ptrace enabled failed: %v", err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 768 bytes
    - Viewed (0)
  7. 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)
  8. cluster/log-dump/log-dump.sh

        # take much longer than the others, but it should help.
        proc=$((proc - 1))
        if [[ proc -eq 0 ]]; then
          proc=${max_dump_processes}
          wait
        fi
      done
      # Wait for any remaining processes.
      if [[ proc -gt 0 && proc -lt ${max_dump_processes} ]]; then
        wait
      fi
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 21:15:57 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/process/internal/WorkerProcessIntegrationTest.groovy

                builder.javaCommand.jvmArgs(jvmArgs)
    
                proc = builder.build()
                try {
                    proc.start()
                    assertFalse(startFails)
                } catch (ExecException e) {
                    if (!startFails) {
                        throw new AssertionError(e)
                    }
                    return
                }
                proc.connection.addIncoming(TestListenerInterface.class, exceptionListener)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 20 11:15:22 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  10. src/internal/trace/testdata/tests/go122-syscall-steal-proc-ambiguous.test

    Carlos Amedee <******@****.***> 1715265901 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 589 bytes
    - Viewed (0)
Back to top