rlimit

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BumpMemlock

func BumpMemlock(cur, max uint64) (syscall.Rlimit, error)

BumpMemlock increases the current memlock limit to a value more reasonable for the profiler's needs.

func Files

func Files() (int, int, error)

Files returns the currently opened file descriptors as well as the maximum number of file descriptors that can be opened by the calling process.

func HumanizeRLimit

func HumanizeRLimit(val uint64) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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