Documentation ¶
Index ¶
Constants ¶
View Source
const ( APP = "swptop" VER = "1.1.0" DESC = "Utility for viewing swap consumption of processes" )
View Source
const ( OPT_USER = "u:user" OPT_FILTER = "f:filter" OPT_NO_COLOR = "nc:no-color" OPT_HELP = "h:help" OPT_VER = "v:version" OPT_VERB_VER = "vv:verbose-version" OPT_COMPLETION = "completion" OPT_GENERATE_MAN = "generate-man" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ProcessInfo ¶
ProcessInfo contains basic info about process
type ProcessInfoSlice ¶
type ProcessInfoSlice []ProcessInfo
ProcessInfoSlice is ProcessInfo slice
func (ProcessInfoSlice) Len ¶
func (s ProcessInfoSlice) Len() int
func (ProcessInfoSlice) Less ¶
func (s ProcessInfoSlice) Less(i, j int) bool
func (ProcessInfoSlice) Swap ¶
func (s ProcessInfoSlice) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.