Discover Packages
github.com/minio/pkg/v3
sys
package
Version:
v3.11.0
Opens a new window with list of versions in this module.
Published: Jul 16, 2026
License: AGPL-3.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 9 modules, 9 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
Documentation
Documentation
¶
Rendered for
linux/amd64
windows/amd64
darwin/amd64
js/wasm
func GetMaxMemoryLimit() (curLimit, maxLimit uint64 , err error )
GetMaxMemoryLimit - returns the maximum size of the process's virtual memory (address space) in bytes.
func GetMaxOpenFileLimit() (curLimit, maxLimit uint64 , err error )
GetMaxOpenFileLimit - returns maximum file descriptor number that can be opened by this process.
GetMaxThreads returns the maximum number of threads that the system can create.
func SetMaxMemoryLimit(curLimit, maxLimit uint64 ) error
SetMaxMemoryLimit - sets the maximum size of the process's virtual memory (address space) in bytes.
func SetMaxOpenFileLimit(curLimit, maxLimit uint64 ) error
SetMaxOpenFileLimit - sets maximum file descriptor number that can be opened by this process.
type Stats struct {
TotalRAM uint64
}
Stats - system statistics.
GetStats - return system statistics, currently only
supported value is TotalRAM.
Source Files
¶
Directories
¶
Package cgroup implements parsing for all the cgroup categories and functionality in a simple way.
Package cgroup implements parsing for all the cgroup categories and functionality in a simple way.
Click to show internal directories.
Click to hide internal directories.