Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 574 for pdkill (0.1 sec)

  1. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

                }
            }
        }
    
        static void pkill(String pid) {
            ExecResult execResult = run(isWindows() ? new String[]{"taskkill.exe", "/F", "/T", "/PID", pid} : new String[]{"kill", "-9", pid});
            if (execResult.code != 0) {
                System.out.println("Failed to kill daemon process " + pid + ". Maybe already killed?\nStdout:\n" + execResult.stdout + "\nStderr:\n" + execResult.stderr);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:46:00 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  2. docs/iam/policies/pbac-tests.sh

    #!/bin/bash
    
    if [ -n "$TEST_DEBUG" ]; then
    	set -x
    fi
    
    pkill minio
    pkill kes
    rm -rf /tmp/xl
    
    if [ ! -f ./mc ]; then
    	wget --quiet -O mc https://dl.minio.io/client/mc/release/linux-amd64/mc &&
    		chmod +x mc
    fi
    
    if [ ! -f ./kes ]; then
    	wget --quiet -O kes https://github.com/minio/kes/releases/latest/download/kes-linux-amd64 &&
    		chmod +x kes
    fi
    
    if ! openssl version &>/dev/null; then
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat May 18 18:19:01 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. docs/distributed/decom-encrypted-kes.sh

    #!/bin/bash
    
    if [ -n "$TEST_DEBUG" ]; then
    	set -x
    fi
    
    pkill minio
    pkill kes
    rm -rf /tmp/xl
    
    if [ ! -f ./mc ]; then
    	wget --quiet -O mc https://dl.minio.io/client/mc/release/linux-amd64/mc &&
    		chmod +x mc
    fi
    
    if [ ! -f ./kes ]; then
    	wget --quiet -O kes https://github.com/minio/kes/releases/latest/download/kes-linux-amd64 &&
    		chmod +x kes
    fi
    
    if ! openssl version &>/dev/null; then
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  4. docs/distributed/decom-compressed-sse-s3.sh

    ./mc admin decom start myminio/ http://localhost:9000/tmp/xl/{1...10}/disk{0...1}
    
    until $(./mc admin decom status myminio/ | grep -q Complete); do
    	echo "waiting for decom to finish..."
    	sleep 1
    done
    
    kill $pid_1
    kill $pid_2
    
    sleep 5
    
    (minio server --address ":9001" http://localhost:9001/tmp/xl/{11...30}/disk{0...3} 2>&1 >/tmp/removed.log) &
    pid=$!
    
    export MC_HOST_myminio="http://minioadmin:minioadmin@localhost:9001/"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. docs/distributed/decom-encrypted.sh

    ./mc admin decom start myminio/ http://localhost:9000/tmp/xl/{1...10}/disk{0...1}
    
    until $(./mc admin decom status myminio/ | grep -q Complete); do
    	echo "waiting for decom to finish..."
    	sleep 1
    done
    
    kill $pid_1
    kill $pid_2
    
    sleep 5
    
    (minio server --address ":9001" http://localhost:9001/tmp/xl/{11...30}/disk{0...3} 2>&1 >/tmp/removed.log) &
    pid=$!
    
    export MC_HOST_myminio="http://minioadmin:minioadmin@localhost:9001/"
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. pkg/util/procfs/procfs_linux.go

    	if err != nil {
    		if os.IsNotExist(err) {
    			return "", os.ErrNotExist
    		}
    		return "", err
    	}
    	return containerNameFromProcCgroup(string(content))
    }
    
    // PKill finds process(es) using a regular expression and send a specified
    // signal to each process.
    func PKill(name string, sig syscall.Signal) error {
    	if len(name) == 0 {
    		return fmt.Errorf("name should not be empty")
    	}
    	re, err := regexp.Compile(name)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 16 09:22:35 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  7. docs/distributed/decom-encrypted-sse-s3.sh

    ./mc admin decom start myminio/ http://localhost:9000/tmp/xl/{1...10}/disk{0...1}
    
    until $(./mc admin decom status myminio/ | grep -q Complete); do
    	echo "waiting for decom to finish..."
    	sleep 1
    done
    
    kill $pid_1
    kill $pid_2
    
    sleep 5
    
    (minio server --address ":9001" http://localhost:9001/tmp/xl/{11...30}/disk{0...3} 2>&1 >/tmp/removed.log) &
    pid=$!
    
    export MC_HOST_myminio="http://minioadmin:minioadmin@localhost:9001/"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. docs/distributed/decom.sh

    	echo "waiting for decom to finish..."
    	count=$((count + 1))
    	if [ ${count} -eq 120 ]; then
    		./mc cat /tmp/expanded_*.log
    	fi
    	sleep 1
    done
    
    kill $pid_1
    kill $pid_2
    
    sleep 5
    
    (minio server --address ":9001" http://localhost:9001/tmp/xl/{11...30}/disk{0...3} 2>&1 >/tmp/removed.log) &
    pid=$!
    
    sleep 5
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/ProcessFixture.groovy

    killtree() {
        local _pid=$1
        for _child in $(ps -o pid,ppid -ax | awk "{ if ( \\$2 == ${_pid} ) { print \\$1 }}"); do
            killtree ${_child}
        done
        kill -9 ${_pid}
    }
    '''
                killScript += killTree ? "\nkilltree $pid\n" : "\nkill -9 $pid\n"
                return new ByteArrayInputStream(killScript.getBytes())
            } else if (OperatingSystem.current().windows) {
                return SafeStreams.emptyInput()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. buildscripts/verify-build.sh

    	(cd "$WORK_DIR" && "$FUNCTIONAL_TESTS")
    	rv=$?
    
    	pkill minio
    	sleep 3
    
    	if [ "$rv" -ne 0 ]; then
    		cat "$WORK_DIR/fs-minio.log"
    	fi
    	rm -f "$WORK_DIR/fs-minio.log"
    
    	return "$rv"
    }
    
    function run_test_erasure_sets() {
    	start_minio_erasure_sets
    
    	(cd "$WORK_DIR" && "$FUNCTIONAL_TESTS")
    	rv=$?
    
    	pkill minio
    	sleep 3
    
    	if [ "$rv" -ne 0 ]; then
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 19:28:51 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top