stats

package
v0.0.0-...-014ce7a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 19, 2024 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddDelete

func AddDelete(name string)

func AddMkdir

func AddMkdir(name string)

func AddOpen

func AddOpen(name string)

func AddReadBytes

func AddReadBytes(name string, cnt uint64)

func AddRename

func AddRename(name string)
func AddSymlink(name string)

func AddTruncate

func AddTruncate(name string)

func AddWriteBytes

func AddWriteBytes(name string, cnt uint64)

func AddWriteIdentBytes

func AddWriteIdentBytes(name string, cnt uint64)

func AddWriteZeroBytes

func AddWriteZeroBytes(name string, cnt uint64)

func AddXattrDelete

func AddXattrDelete(name string)

func AddXattrList

func AddXattrList(name string)

func AddXattrRead

func AddXattrRead(name string)

func AddXattrWrite

func AddXattrWrite(name string)

func StatServer

func StatServer(addr string)

Types

type FileStats

type FileStats struct {
	ReadBytes        uint64 `json:"read-bytes"`
	WriteBytes       uint64 `json:"write-bytes"`
	WriteBytesIdent  uint64 `json:"write-bytes-ident"`
	WriteBytesZero   uint64 `json:"write-bytes-zero"`
	DeleteCount      uint64 `json:"delete-count"`
	RenameCount      uint64 `json:"rename-count"`
	TruncateCount    uint64 `json:"truncate-count"`
	OpenCount        uint64 `json:"open-count"`
	XattrListCount   uint64 `json:"xattr-list"`
	XattrReadCount   uint64 `json:"xattr-read"`
	XattrWriteCount  uint64 `json:"xattr-write"`
	XattrDeleteCount uint64 `json:"xattr-delete"`
}

type Stats

type Stats struct {
	ReadBytes        uint64 `json:"read-bytes"`
	WriteBytes       uint64 `json:"write-bytes"`
	WriteBytesIdent  uint64 `json:"write-bytes-ident"`
	WriteBytesZero   uint64 `json:"write-bytes-zero"`
	OpenCount        uint64 `json:"open-count"`
	DeleteCount      uint64 `json:"delete"`
	RenameCount      uint64 `json:"rename"`
	TruncateCount    uint64 `json:"truncate"`
	MkdirCount       uint64 `json:"mkdir"`
	SymlinkCount     uint64 `json:"symlink"`
	XattrListCount   uint64 `json:"xattr-list"`
	XattrReadCount   uint64 `json:"xattr-read"`
	XattrWriteCount  uint64 `json:"xattr-write"`
	XattrDeleteCount uint64 `json:"xattr-delete"`

	Files map[string]FileStats
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL