package
1.2.0
Repository: https://github.com/couchbase/tools-common.git
Documentation: pkg.go.dev

# Functions

Execute will execute the given command in the platforms default shell/command prompt and return the combined stdout/stderr output.
GetInformation fetches and returns common system information in a platform agnostic fashion.
NumCPU returns GOMAXPROCS (defaults to vCPUs) detected by the runtime multiplied by a constant.
NumWorkers returns a sane number of workers to create when performing a task concurrently.
RaiseFileLimit will check if the ulimit on open files is bigger or equal to threshold if it is it will return.
TotalMemory returns the total physical memory available on the host machine in bytes.
Version returns a string representation of the current kernel release.

# Structs

Information represents useful system information which is logged by 'cbbackupmgr' at the beginning of each command.