Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 74 for read_bytes (0.16 sec)

  1. cmd/metrics-v3-system-process.go

    	}
    }
    
    func loadProcIOMetrics(ctx context.Context, io procfs.ProcIO, m MetricValues) {
    	if io.RChar > 0 {
    		m.Set(processIORCharBytes, float64(io.RChar))
    	}
    
    	if io.ReadBytes > 0 {
    		m.Set(processIOReadBytes, float64(io.ReadBytes))
    	}
    
    	if io.WChar > 0 {
    		m.Set(processIOWCharBytes, float64(io.WChar))
    	}
    
    	if io.WriteBytes > 0 {
    		m.Set(processIOWriteBytes, float64(io.WriteBytes))
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jun 20 17:55:03 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. docs/metrics/prometheus/list.md

    | `minio_node_io_read_bytes`                 | Total bytes read by the process from the underlying storage system, /proc/[pid]/io read_bytes.                  |
    | `minio_node_io_wchar_bytes`                | Total bytes written by the process to the underlying storage system including page cache, /proc/[pid]/io wchar. |
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:48:51 UTC 2024
    - 43.3K bytes
    - Viewed (0)
  3. docs/metrics/v3.md

    | `minio_system_process_io_read_bytes`               | Total bytes read by the process from the underlying storage system, /proc/[pid]/io read_bytes. <br><br>Type: counter                  | `server` |
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 02 22:30:11 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  4. cmd/metrics-v2.go

    	proxiedDeleteTaggingRequestFailures MetricName = "proxied_delete_tagging_requests_failures"
    
    	freeBytes       MetricName = "free_bytes"
    	readBytes       MetricName = "read_bytes"
    	rcharBytes      MetricName = "rchar_bytes"
    	receivedBytes   MetricName = "received_bytes"
    	latencyMilliSec MetricName = "latency_ms"
    	sentBytes       MetricName = "sent_bytes"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  5. internal/ringbuffer/ring_buffer_test.go

    			n, err := rb.Read(buf[:readRng.Intn(len(buf))])
    			readBytes += n
    			read.Write(buf[:n])
    			debugln("READ 1\t", n, readBytes)
    			if err != nil {
    				readErr = err
    				break
    			}
    
    			// ReadByte
    			b, err := rb.ReadByte()
    			if err != nil {
    				readErr = err
    				break
    			}
    			readBytes++
    			read.Write([]byte{b})
    			debugln("READ 2\t", 1, readBytes)
    
    			// TryRead
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  6. src/bytes/buffer_test.go

    	}
    
    	// after successful read
    	if _, err := b.ReadBytes('m'); err != nil {
    		t.Fatalf("ReadBytes: %v", err)
    	}
    	if err := b.UnreadByte(); err != nil {
    		t.Fatalf("UnreadByte: %v", err)
    	}
    	c, err := b.ReadByte()
    	if err != nil {
    		t.Fatalf("ReadByte: %v", err)
    	}
    	if c != 'm' {
    		t.Errorf("ReadByte = %q; want %q", c, 'm')
    	}
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Sep 03 20:55:15 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  7. cmd/metacache-stream.go

    	if r.current.name, err = r.mr.ReadString(); err != nil {
    		if err == io.EOF {
    			err = io.ErrUnexpectedEOF
    		}
    		r.err = err
    		return metaCacheEntry{}, err
    	}
    	r.current.metadata, err = r.mr.ReadBytes(r.current.metadata[:0])
    	if err == io.EOF {
    		err = io.ErrUnexpectedEOF
    	}
    	r.err = err
    	return r.current, err
    }
    
    // next will read one entry from the stream.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  8. src/bufio/bufio_test.go

    	}
    	// Test error after ReadByte.
    	_, _, err = r.ReadRune() // reset state
    	if err != nil {
    		t.Error("unexpected error on ReadRune (2):", err)
    	}
    	for range buf {
    		_, err = r.ReadByte()
    		if err != nil {
    			t.Error("unexpected error on ReadByte (2):", err)
    		}
    	}
    	if r.UnreadRune() == nil {
    		t.Error("expected error after ReadByte")
    	}
    	// Test error after UnreadByte.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  9. src/bytes/buffer.go

    	if b.off > 0 {
    		b.off--
    	}
    	return nil
    }
    
    // ReadBytes reads until the first occurrence of delim in the input,
    // returning a slice containing the data up to and including the delimiter.
    // If ReadBytes encounters an error before finding a delimiter,
    // it returns the data read before the error and the error itself (often [io.EOF]).
    // ReadBytes returns err != nil if and only if the returned data does not end in
    // delim.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Oct 29 16:47:05 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  10. src/bufio/bufio.go

    	totalLen += len(frag)
    	return fullBuffers, frag, totalLen, err
    }
    
    // ReadBytes reads until the first occurrence of delim in the input,
    // returning a slice containing the data up to and including the delimiter.
    // If ReadBytes encounters an error before finding a delimiter,
    // it returns the data read before the error and the error itself (often io.EOF).
    // ReadBytes returns err != nil if and only if the returned data does not end in
    // delim.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 12 14:39:08 UTC 2023
    - 21.8K bytes
    - Viewed (0)
Back to top