Documentation
¶
Index ¶
- Constants
- func Check(e error)
- func Contains(a []string, x string) bool
- func CreateDir(dirName string) (err error)
- func CreateFile(fileName string) (err error)
- func CreateHeader() string
- func CurrentDatFile(utility string) string
- func DStateCount() int64
- func DirSizeMB(dir string) (sizeMB float64, err error)
- func GetConfigKeyValue(key string, section string) (value string, err error)
- func GetShortHostname() string
- func GetStatus(progName string, ver string)
- func Gzipit(source, target string) error
- func RangeDate(start, end time.Time) func() time.Time
- func SetConfigKey(key string, value string, section string) (err error)
Constants ¶
View Source
const ( ConfigFile = "/etc/gdg.cfg" DataDir = "/var/log/gdg-data/" )
Constants for file/direction locations following FHS 3.0 Specification
Variables ¶
This section is empty.
Functions ¶
func DStateCount ¶
func DStateCount() int64
DStateCount will return the number of processes in D state
func GetConfigKeyValue ¶
GetConfigKeyValue gets the configuration file key value
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.