Documentation ¶
Index ¶
Constants ¶
View Source
const (
// ProcLocation is the default location for the proc folder
ProcLocation = "/proc"
)
Variables ¶
This section is empty.
Functions ¶
func CreateProcPath ¶
CreateProcPath returns a proc location build from the arguments passed
func ErrorCheck ¶
func ErrorCheck(err error)
ErrorCheck will print and exit if the error passed is not empty
func GetSudoOrDie ¶
func TransformSize ¶
TransformSize takes bytes in int64 format and returns it in a human readable format
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.