Documentation
¶
Overview ¶
Package ios is a collection of interfaces to the local storage subsystem; the package includes OS-dependent implementations for those interfaces.
- Copyright (c) 2018-2023, NVIDIA CORPORATION. All rights reserved.
Package ios is a collection of interfaces to the local storage subsystem; the package includes OS-dependent implementations for those interfaces.
- Copyright (c) 2018-2021, NVIDIA CORPORATION. All rights reserved.
Package ios is a collection of interfaces to the local storage subsystem; the package includes OS-dependent implementations for those interfaces.
- Copyright (c) 2018-2021, NVIDIA CORPORATION. All rights reserved.
Package ios is a collection of interfaces to the local storage subsystem; the package includes OS-dependent implementations for those interfaces.
- Copyright (c) 2018-2023, NVIDIA CORPORATION. All rights reserved.
Package ios is a collection of interfaces to the local storage subsystem; the package includes OS-dependent implementations for those interfaces.
- Copyright (c) 2018-2021, NVIDIA CORPORATION. All rights reserved.
Package ios is a collection of interfaces to the local storage subsystem; the package includes OS-dependent implementations for those interfaces.
- Copyright (c) 2018-2022, NVIDIA CORPORATION. All rights reserved.
Package ios is a collection of interfaces to the local storage subsystem; the package includes OS-dependent implementations for those interfaces.
- Copyright (c) 2018-2023, NVIDIA CORPORATION. All rights reserved.
Package ios is a collection of interfaces to the local storage subsystem; the package includes OS-dependent implementations for those interfaces.
- Copyright (c) 2018-2021, NVIDIA CORPORATION. All rights reserved.
Index ¶
- func Clblk(i IOS)
- func DirFileCount(dirPath string) (int, error)
- func DirSizeOnDisk(dirPath string, withNonDirPrefix bool) (uint64, error)
- func DirSumFileSizes(dirPath string) (uint64, error)
- func FinfoAtime(fqn string) (finfo os.FileInfo, atime int64, err error)
- func GetATime(osfi os.FileInfo) time.Time
- func GetFSStats(path string) (blocks, bavail uint64, bsize int64, err error)
- func GetFSUsedPercentage(path string) (usedPercentage int64, ok bool)
- type AllDiskStats
- type DiskStats
- type FsDisks
- type IOS
- type LsBlk
- type MpathUtil
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DirFileCount ¶
func DirSizeOnDisk ¶
- on-disk size is sometimes referred to as "apparent size" - NOTE: ignore exec error: `du` exits with status 1 if encounters non-regular file that can't be accessed (perm) - `withNonDirPrefix` is allowed to match nothing