- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 156 for Stat (0.06 sec)
-
cmd/metrics-v3-bucket-replication.go
if stats.hasReplicationUsage() { for arn, stat := range stats.Stats { m.Set(bucketReplLastHrFailedBytes, float64(stat.Failed.LastHour.Bytes), labels...) m.Set(bucketReplLastHrFailedCount, float64(stat.Failed.LastHour.Count), labels...) m.Set(bucketReplLastMinFailedBytes, float64(stat.Failed.LastMinute.Bytes), labels...) m.Set(bucketReplLastMinFailedCount, float64(stat.Failed.LastMinute.Count), labels...)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 12:04:40 UTC 2024 - 8.1K bytes - Viewed (0) -
cmd/is-dir-empty_linux.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 05 15:17:08 UTC 2024 - 1.4K bytes - Viewed (0) -
docs/bucket/replication/setup_3site_replication.sh
echo "Verifying the metadata difference between source and target" if diff -pruN <(./mc stat --no-list --json sitea/bucket/hosts | jq .) <(./mc stat --no-list --json siteb/bucket/hosts | jq .) | grep -q 'COMPLETED\|REPLICA'; then echo "verified sitea-> COMPLETED, siteb-> REPLICA" fi if diff -pruN <(./mc stat --no-list --json sitea/bucket/hosts | jq .) <(./mc stat --no-list --json sitec/bucket/hosts | jq .) | grep -q 'COMPLETED\|REPLICA'; then
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 24 08:03:58 UTC 2024 - 10.3K bytes - Viewed (0) -
src/archive/tar/writer_test.go
} } }) } } func TestPax(t *testing.T) { // Create an archive with a large name fileinfo, err := os.Stat("testdata/small.txt") if err != nil { t.Fatal(err) } hdr, err := FileInfoHeader(fileinfo, "") if err != nil { t.Fatalf("os.Stat: %v", err) } // Force a PAX long name to be written longName := strings.Repeat("ab", 100) contents := strings.Repeat(" ", int(hdr.Size))
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Sep 23 14:32:33 UTC 2024 - 39.4K bytes - Viewed (0) -
docs/site-replication/run-multi-site-minio-idp.sh
./mc cp ./lrgfile minio1/newbucket sleep 5 ./mc stat --no-list minio2/newbucket if [ $? -ne 0 ]; then echo "expecting bucket to be present. exiting.." exit_1 fi ./mc stat --no-list minio3/newbucket if [ $? -ne 0 ]; then echo "expecting bucket to be present. exiting.." exit_1 fi err_minio2=$(./mc stat --no-list minio2/newbucket/xxx --json | jq -r .error.cause.message)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 24 08:03:58 UTC 2024 - 12.1K bytes - Viewed (0) -
internal/ioutil/read_file.go
func ReadFileWithFileInfo(name string) ([]byte, fs.FileInfo, error) { f, err := OsOpenFile(name, readMode, 0o666) if err != nil { return nil, nil, err } defer f.Close() st, err := f.Stat() if err != nil { return nil, nil, err } dst := make([]byte, st.Size()) _, err = io.ReadFull(f, dst) return dst, st, err } // ReadFile reads the named file and returns the contents.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Dec 09 18:17:51 UTC 2023 - 2.3K bytes - Viewed (0) -
internal/ioutil/ioutil_test.go
t.Errorf("Error creating tmp file: %v", err) } tmpFile := f.Name() f.Close() defer os.Remove(f.Name()) fi1, err := os.Stat(tmpFile) if err != nil { t.Fatalf("Error Stat(): %v", err) } fi2, err := os.Stat(tmpFile) if err != nil { t.Fatalf("Error Stat(): %v", err) } if !SameFile(fi1, fi2) { t.Fatal("Expected the files to be same") }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 22 23:07:14 UTC 2024 - 5.5K bytes - Viewed (0) -
docs/debugging/reorder-disks/main.go
} type localDisk struct { index int path string } func getMajorMinor(path string) (string, error) { var stat syscall.Stat_t if err := syscall.Stat(path, &stat); err != nil { return "", fmt.Errorf("unable to stat `%s`: %w", path, err) } devID := uint64(stat.Dev) major := (devID & 0x00000000000fff00) >> 8 major |= (devID & 0xfffff00000000000) >> 32 minor := (devID & 0x00000000000000ff) >> 0
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 5.4K bytes - Viewed (0) -
cmd/bucket-replication-stats.go
ReplicatedSize: stat.ReplicatedSize + oldst.ReplicatedSize, ReplicatedCount: stat.ReplicatedCount + oldst.ReplicatedCount, Latency: stat.Latency.merge(oldst.Latency), XferRateLrg: &lrg, XferRateSml: &sml, } totReplicatedSize += stat.ReplicatedSize totReplicatedCount += stat.ReplicatedCount totFailed = totFailed.merge(stat.FailStats) } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 12:04:40 UTC 2024 - 13.6K bytes - Viewed (0) -
docs/metrics/prometheus/grafana/minio-dashboard.json
"legendFormat": "{{instance}}", "metric": "process_start_time_seconds", "refId": "A", "step": 60 } ], "title": "Uptime", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { "defaults": {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 24 14:51:03 UTC 2024 - 93K bytes - Viewed (0)