- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 157 for fstat (0.08 sec)
-
internal/disk/disk_unix.go
func SameDisk(disk1, disk2 string) (bool, error) { st1 := syscall.Stat_t{} st2 := syscall.Stat_t{} if err := syscall.Stat(disk1, &st1); err != nil { return false, err } if err := syscall.Stat(disk2, &st2); err != nil { return false, err } return st1.Dev == st2.Dev, nil
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 19 01:35:22 UTC 2021 - 1.2K bytes - Viewed (0) -
cmd/metrics-v2.go
Value: stat.Failed.LastMinute.Count, VariableLabels: map[string]string{"endpoint": stat.Endpoint}, }) ml = append(ml, MetricV2{ Description: getRepFailedBytesLastHourMD(clusterMetricNamespace), Value: float64(stat.Failed.LastHour.Bytes), VariableLabels: map[string]string{"endpoint": stat.Endpoint}, }) ml = append(ml, MetricV2{
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 12:04:40 UTC 2024 - 131.9K bytes - Viewed (0) -
internal/kms/kms.go
stat := make(map[string]madmin.ItemState, len(c.endpoints)) resp, err := c.client.Version(ctx, &kms.VersionRequest{}) for _, r := range resp { stat[r.Host] = madmin.ItemOnline } for _, e := range kms.UnwrapHostErrors(err) { stat[e.Host] = madmin.ItemOffline } return stat, nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Aug 18 06:43:03 UTC 2024 - 11.5K bytes - Viewed (0) -
manifests/addons/dashboards/istio-mesh-dashboard.gen.json
}, "expr": "round(sum (rate(istio_requests_total{reporter=~\"source|waypoint\"}[$__rate_interval])), 0.01)" } ], "title": "Traffic Volume", "type": "stat" }, { "datasource": { "type": "datasource", "uid": "-- Mixed --" }, "description": "Total success rate of requests in the cluster",
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jul 26 23:54:32 UTC 2024 - 22.3K bytes - Viewed (0) -
docs/bucket/replication/test_del_marker_proxying.sh
if [ $loop_count -eq 1000 ]; then break fi echo "Hello World" | ./mc pipe sitea/bucket/obj$loop_count ./mc rm sitea/bucket/obj$loop_count RESULT=$({ ./mc stat --no-list sitea/bucket/obj$loop_count; } 2>&1) if [[ ${RESULT} != *"Object does not exist"* ]]; then echo "BUG: stat should fail. succeeded." exit_1 fi loop_count=$((loop_count + 1)) done
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Sep 29 22:40:36 UTC 2024 - 2.2K bytes - Viewed (0) -
docs/bucket/lifecycle/setup_ilm_transition.sh
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 31 22:10:24 UTC 2024 - 2.8K bytes - Viewed (0) -
buildscripts/resolve-right-versions.sh
pid=$! disown $pid sleep 5 if ! ps -p ${pid} 1>&2 >/dev/null; then echo "server1 log:" cat "${WORK_DIR}/server1.log" echo "FAILED" purge "$WORK_DIR" exit 1 fi "${WORK_DIR}/mc" stat minio/bucket/testobj pkill minio sleep 3 } function main() { start_port=$(shuf -i 10000-65000 -n 1) start_minio_5drive ${start_port} } function purge() { rm -rf "$1" }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 16 14:51:33 UTC 2023 - 1.5K bytes - Viewed (0) -
cni/pkg/pluginlistener/listener.go
if err != nil { return nil, fmt.Errorf("failed to listen on unix socket %q: %v", path, err) } // Update file permission so that cni plugin has permission to access it. if _, err := os.Stat(path); err != nil { return nil, fmt.Errorf("cni listener file %q doesn't exist", path) } if err := os.Chmod(path, 0o666); err != nil { return nil, fmt.Errorf("failed to update %q permission", path) }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jan 26 20:34:28 UTC 2024 - 1.7K bytes - Viewed (0) -
internal/disk/stat_windows.go
// // https://msdn.microsoft.com/en-us/library/windows/desktop/aa364937(v=vs.85).aspx func GetInfo(path string, _ bool) (info Info, err error) { // Stat to know if the path exists. if _, err = os.Stat(path); err != nil { return Info{}, err } lpFreeBytesAvailable := int64(0) lpTotalNumberOfBytes := int64(0) lpTotalNumberOfFreeBytes := int64(0) // Extract values safely
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Feb 26 19:34:50 UTC 2024 - 4.1K bytes - Viewed (0) -
cmd/kms-handlers.go
if GlobalKMS == nil { writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrKMSNotConfigured), r.URL) return } stat, err := GlobalKMS.Status(ctx) if err != nil { writeCustomErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrInternalError), err.Error(), r.URL) return } resp, err := json.Marshal(stat) if err != nil { writeCustomErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrInternalError), err.Error(), r.URL) return
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Aug 18 06:43:03 UTC 2024 - 10.1K bytes - Viewed (0)