Versions in this module Expand all Collapse all v1 v1.4.3 Nov 17, 2021 v1.4.2 Nov 17, 2021 Changes in this version + var Usage = ... + type FormattableDiff interface + Grid func() string + JSON func() string + type LockDelta struct + Read int64 + Write int64 + type LockStats struct + AcquireCount *ReadWriteLockTimes + TimeAcquiringMicros ReadWriteLockTimes + TimeLockedMicros ReadWriteLockTimes + type MongoTop struct + Options *options.ToolOptions + OutputOptions *Output + SessionProvider *db.SessionProvider + Sleeptime time.Duration + func (mt *MongoTop) Run() error + type NSTopInfo struct + Read TopField + Total TopField + Write TopField + type Options struct + SleepTime int + func ParseOptions(rawArgs []string, versionStr, gitCommit string) (Options, error) + type Output struct + Json bool + Locks bool + RowCount int + func (_ *Output) Name() string + type ReadWriteLockTimes struct + Read int64 + ReadLower int64 + Write int64 + WriteLower int64 + type ServerStatus struct + Locks map[string]LockStats + func (ss ServerStatus) Diff(previous ServerStatus) ServerStatusDiff + type ServerStatusDiff struct + Time time.Time + Totals map[string]LockDelta + func (ssd ServerStatusDiff) Grid() string + func (ssd ServerStatusDiff) JSON() string + type Top struct + Totals map[string]NSTopInfo + func (top Top) Diff(previous Top) TopDiff + type TopDiff struct + Time time.Time + Totals map[string]NSTopInfo + func (td TopDiff) Grid() string + func (td TopDiff) JSON() string + type TopField struct + Count int + Time int