Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for cpus (0.15 sec)

  1. cmd/update.go

    		}
    	}
    	uaAppend("; ", "")
    
    	if cpus, err := gopsutilcpu.Info(); err == nil && len(cpus) > 0 {
    		cpuMap := make(map[string]struct{}, len(cpus))
    		coreMap := make(map[string]struct{}, len(cpus))
    		for i := range cpus {
    			cpuMap[cpus[i].PhysicalID] = struct{}{}
    			coreMap[cpus[i].CoreID] = struct{}{}
    		}
    		cpu := cpus[0]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  2. internal/kms/kms.go

    	// is specified. It is empty if the KMS does not support
    	// a default key.
    	DefaultKey string
    
    	// Details provides more details about the KMS endpoint status.
    	// including uptime, version and available CPUs.
    	// Could be more in future.
    	Details kes.State
    }
    
    // DEK is a data encryption key. It consists of a
    // plaintext-ciphertext pair and the ID of the key
    // used to generate the ciphertext.
    //
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  3. cmd/peer-rest-server.go

    	}
    	info := getLocalServerProperty(globalEndpoints, &r, metrics)
    	return madminServerProperties.NewJSONWith(&info), nil
    }
    
    // GetCPUsHandler - returns CPU info.
    func (s *peerRESTServer) GetCPUsHandler(_ *grid.MSS) (*grid.JSON[madmin.CPUs], *grid.RemoteErr) {
    	info := madmin.GetCPUs(context.Background(), globalLocalNodeName)
    	return madminCPUs.NewJSONWith(&info), nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  4. cmd/peer-rest-client.go

    	return resp.ValueOrZero(), err
    }
    
    // GetCPUs - fetch CPU information for a remote node.
    func (client *peerRESTClient) GetCPUs(ctx context.Context) (info madmin.CPUs, err error) {
    	resp, err := getCPUsHandler.Call(ctx, client.gridConn(), grid.NewMSS())
    	return resp.ValueOrZero(), err
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  5. cmd/license-update.go

    			// sleep for some time and try again.
    			duration := time.Duration(r.Float64() * float64(time.Hour))
    			if duration < time.Second {
    				// Make sure to sleep at least a second to avoid high CPU ticks.
    				duration = time.Second
    			}
    			time.Sleep(duration)
    		}
    	}()
    }
    
    func licenceUpdaterLoop(ctx context.Context, objAPI ObjectLayer) {
    	ctx, cancel := globalLeaderLock.GetLock(ctx)
    	defer cancel()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  6. cmd/bootstrap-peer-server.go

    				} else {
    					onlineServers++
    				}
    				mu.Unlock()
    			}(clnt)
    		}
    		wg.Wait()
    
    		select {
    		case <-ctx.Done():
    			return ctx.Err()
    		default:
    			// Sleep and stagger to avoid blocked CPU and thundering
    			// herd upon start up sequence.
    			time.Sleep(25*time.Millisecond + time.Duration(rand.Int63n(int64(100*time.Millisecond))))
    			retries++
    			// after 20 retries start logging that servers are not reachable yet
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  7. cmd/metrics-v2.go

    	startTime        = "starttime_seconds"
    	upTime           = "uptime_seconds"
    	memory           = "resident_memory_bytes"
    	vmemory          = "virtual_memory_bytes"
    	cpu              = "cpu_total_seconds"
    
    	expiryPendingTasks           MetricName = "expiry_pending_tasks"
    	expiryMissedTasks            MetricName = "expiry_missed_tasks"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  8. cmd/metrics-v3-system-cpu.go

    	sysCPUAvgIdleMD   = NewGaugeMD(sysCPUAvgIdle, "Average CPU idle time")
    	sysCPUAvgIOWaitMD = NewGaugeMD(sysCPUAvgIOWait, "Average CPU IOWait time")
    	sysCPULoadMD      = NewGaugeMD(sysCPULoad, "CPU load average 1min")
    	sysCPULoadPercMD  = NewGaugeMD(sysCPULoadPerc, "CPU load average 1min (percentage)")
    	sysCPUNiceMD      = NewGaugeMD(sysCPUNice, "CPU nice time")
    	sysCPUStealMD     = NewGaugeMD(sysCPUSteal, "CPU steal time")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 3K bytes
    - Viewed (0)
  9. cmd/metrics-resource.go

    		cpuUser:           "CPU user time",
    		cpuSystem:         "CPU system time",
    		cpuIdle:           "CPU idle time",
    		cpuIOWait:         "CPU ioWait time",
    		cpuSteal:          "CPU steal time",
    		cpuNice:           "CPU nice time",
    		cpuLoad1:          "CPU load average 1min",
    		cpuLoad5:          "CPU load average 5min",
    		cpuLoad15:         "CPU load average 15min",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 17.4K bytes
    - Viewed (0)
  10. cmd/metrics-realtime.go

    	}
    	if types.Contains(madmin.MetricsCPU) {
    		m.Aggregated.CPU = &madmin.CPUMetrics{
    			CollectedAt: UTCNow(),
    		}
    		cm, err := c.Times(false)
    		if err != nil {
    			m.Errors = append(m.Errors, fmt.Sprintf("%s: %v (cpuTimes)", byHostName, err.Error()))
    		} else {
    			// not collecting per-cpu stats, so there will be only one element
    			if len(cm) == 1 {
    				m.Aggregated.CPU.TimesStat = &cm[0]
    			} else {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 10 16:28:08 GMT 2024
    - 6.1K bytes
    - Viewed (0)
Back to top