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 ¶
- func FindGCLogLocation() (gcLogLoc string, err error)
- func GetDefaultThreadsFromCPUs(cpus int) int
- func GetDremioPID() (int, error)
- func GetDremioPIDFromText(jpsOutput string) (int, error)
- func GetThreads() int
- func IsAWSE() (bool, error)
- func IsAWSEExecutor(nodeName string) (bool, error)
- func IsAWSEExecutorUsingDir(efsFolder, nodeName string) (bool, error)
- func IsAWSEFromJPSOutput(jpsText string) (bool, error)
- func ParseGCLogFromFlags(startupFlagsStr string) (gcLogLocation string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindGCLogLocation ¶
findGCLogLocation retrieves the gc log location with a search string to greedily retrieve everything by prefix
func GetDremioPID ¶
func GetDremioPIDFromText ¶
func GetThreads ¶
func GetThreads() int
func IsAWSEExecutor ¶
func IsAWSEExecutorUsingDir ¶
func IsAWSEFromJPSOutput ¶
func ParseGCLogFromFlags ¶
ParseGCLogFromFlags takes a given string with java startup flags and finds the gclog directive
Types ¶
This section is empty.