Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Command ¶
type Command struct {
// contains filtered or unexported fields
}
func (*Command) Execute ¶
func (cmd *Command) Execute(ctx context.Context, f *flag.FlagSet, _ ...interface{}) subcommands.ExitStatus
type Usage ¶ added in v0.5.9
type Usage struct { HasUsage bool MaximumResidentSetSize memory.Bytes // maxrss PageReclaims int64 // minflt, soft page faults PageFaults int64 // majflt, hard page faults Swaps int64 // nswap BlockInputOperations int64 // inblock BlockOutputOperations int64 // oublock IPCMessagesSent int64 // msgsnd IPCMessagesReceived int64 // msgrcv SignalsReceived int64 // nsignals VoluntaryContextSwitches int64 // nvcsw InvoluntaryContextSwitches int64 // nivcsw }
func TryGetUsage ¶ added in v0.5.9
func TryGetUsage(state *os.ProcessState) Usage
Click to show internal directories.
Click to hide internal directories.