autodetect

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

package autodetect looks at the system configuration and file names and tries to guess at the correct configuration

package autodetect looks at the system configuration and file names and tries to guess at the correct configuration

package autodetect looks at the system configuration and file names and tries to guess at the correct configuration

package autodetect looks at the system configuration and file names and tries to guess at the correct configuration

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindGCLogLocation

func FindGCLogLocation() (gcLogLoc string, err error)

findGCLogLocation retrieves the gc log location with a search string to greedily retrieve everything by prefix

func GetDefaultThreadsFromCPUs

func GetDefaultThreadsFromCPUs(cpus int) int

func GetDremioPID

func GetDremioPID() (int, error)

func GetDremioPIDFromText

func GetDremioPIDFromText(jpsOutput string) (int, error)

func GetThreads

func GetThreads() int

func IsAWSE

func IsAWSE() (bool, error)

func IsAWSEExecutor

func IsAWSEExecutor(nodeName string) (bool, error)

func IsAWSEExecutorUsingDir

func IsAWSEExecutorUsingDir(efsFolder, nodeName string) (bool, error)

func IsAWSEFromJPSOutput

func IsAWSEFromJPSOutput(jpsText string) (bool, error)

func ParseGCLogFromFlags

func ParseGCLogFromFlags(startupFlagsStr string) (gcLogLocation string, err error)

ParseGCLogFromFlags takes a given string with java startup flags and finds the gclog directive

Types

This section is empty.

Jump to

Keyboard shortcuts

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