Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 217 for osStats (3.22 sec)

  1. src/main/java/org/codelibs/fess/timer/SystemMonitorTarget.java

            append(buf, "percent", () -> osProbe.getSystemCpuPercent());
            final OsStats osStats = osProbe.osStats();
            buf.append("},");
            append(buf, "load_averages", () -> osStats.getCpu().getLoadAverage());
            buf.append("},");
        }
    
        private void appendFesenStats(final StringBuilder buf) {
            String stats = null;
            try {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/authentication/token/cache/stats.go

    const (
    	hitTag  = "hit"
    	missTag = "miss"
    
    	fetchFailedTag = "error"
    	fetchOkTag     = "ok"
    
    	fetchInFlightTag = "in_flight"
    	fetchBlockedTag  = "blocked"
    )
    
    type statsCollector struct{}
    
    var stats = statsCollector{}
    
    func (statsCollector) authenticating(ctx context.Context) func(hit bool) {
    	start := time.Now()
    	return func(hit bool) {
    		var tag string
    		if hit {
    			tag = hitTag
    		} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 01 18:49:09 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  3. src/runtime/debug/garbage_test.go

    	runtime.ReadMemStats(&mstats)
    
    	if stats.NumGC != int64(mstats.NumGC) {
    		t.Errorf("stats.NumGC = %d, but mstats.NumGC = %d", stats.NumGC, mstats.NumGC)
    	}
    	if stats.PauseTotal != time.Duration(mstats.PauseTotalNs) {
    		t.Errorf("stats.PauseTotal = %d, but mstats.PauseTotalNs = %d", stats.PauseTotal, mstats.PauseTotalNs)
    	}
    	if stats.LastGC.UnixNano() != int64(mstats.LastGC) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 19 14:30:00 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  4. pkg/kubelet/stats/provider.go

    	ImageFsStats(ctx context.Context) (*statsapi.FsStats, *statsapi.FsStats, error)
    	ImageFsDevice(ctx context.Context) (string, error)
    }
    
    // RlimitStats returns base information about process count
    func (p *Provider) RlimitStats() (*statsapi.RlimitStats, error) {
    	return pidlimit.Stats()
    }
    
    // GetCgroupStats returns the stats of the cgroup with the cgroupName. Note that
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 13:56:22 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  5. pkg/kubelet/server/stats/volume_stat_calculator_test.go

    		Name:              vol0,
    		FsStats:           expectedFSStats(),
    		VolumeHealthStats: expectedVolumeHealthStats(),
    	})
    	// Verify 'vol1' has a PVC reference
    	assert.Contains(t, append(vs.EphemeralVolumes, vs.PersistentVolumes...), kubestats.VolumeStats{
    		Name: vol1,
    		PVCRef: &kubestats.PVCReference{
    			Name:      pvcClaimName0,
    			Namespace: namespace0,
    		},
    		FsStats:           expectedFSStats(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  6. cmd/metrics-v3-system-drive.go

    func (m *MetricValues) setDriveIOStatMetrics(ioStats driveIOStatMetrics, labels []string) {
    	m.Set(driveReadsPerSec, ioStats.readsPerSec, labels...)
    	m.Set(driveReadsKBPerSec, ioStats.readsKBPerSec, labels...)
    	if ioStats.readsPerSec > 0 {
    		m.Set(driveReadsAwait, ioStats.readsAwait, labels...)
    	}
    
    	m.Set(driveWritesPerSec, ioStats.writesPerSec, labels...)
    	m.Set(driveWritesKBPerSec, ioStats.writesKBPerSec, labels...)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun May 12 17:23:50 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  7. internal/disk/stat_linux.go

    	// refer https://www.kernel.org/doc/Documentation/block/stat.txt
    	iostats = IOStats{
    		ReadIOs:      stats[0],
    		ReadMerges:   stats[1],
    		ReadSectors:  stats[2],
    		ReadTicks:    stats[3],
    		WriteIOs:     stats[4],
    		WriteMerges:  stats[5],
    		WriteSectors: stats[6],
    		WriteTicks:   stats[7],
    		CurrentIOs:   stats[8],
    		TotalTicks:   stats[9],
    		ReqTicks:     stats[10],
    	}
    	// as per the doc, only 11 fields are guaranteed
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. pkg/kubelet/stats/host_stats_provider.go

    // HostStatsProvider defines an interface for providing host stats associated with pod.
    type HostStatsProvider interface {
    	// getPodLogStats gets stats associated with pod log usage
    	getPodLogStats(podNamespace, podName string, podUID types.UID, rootFsInfo *cadvisorapiv2.FsInfo) (*statsapi.FsStats, error)
    	// getPodContainerLogStats gets stats associated with container log usage
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 17:55:59 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  9. src/crypto/x509/internal/macos/security.go

    	// verification error types.
    	ErrSecCertificateExpired = -67818
    	ErrSecHostNameMismatch   = -67602
    	ErrSecNotTrusted         = -67843
    )
    
    type OSStatus struct {
    	call   string
    	status int32
    }
    
    func (s OSStatus) Error() string {
    	return s.call + " error: " + strconv.Itoa(int(s.status))
    }
    
    // Dictionary keys are defined as build-time strings with CFSTR, but the Go
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 21 20:05:17 UTC 2022
    - 9.1K bytes
    - Viewed (0)
  10. pkg/kubelet/stats/cri_stats_provider_linux.go

    		return
    	}
    	criNetwork := criPodStat.Linux.Network
    	iStats := statsapi.NetworkStats{
    		Time:           metav1.NewTime(time.Unix(0, criNetwork.Timestamp)),
    		InterfaceStats: criInterfaceToSummary(criNetwork.DefaultInterface),
    		Interfaces:     make([]statsapi.InterfaceStats, 0, len(criNetwork.Interfaces)),
    	}
    	for _, iface := range criNetwork.Interfaces {
    		iStats.Interfaces = append(iStats.Interfaces, criInterfaceToSummary(iface))
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 16 11:09:04 UTC 2023
    - 4K bytes
    - Viewed (0)
Back to top