Versions in this module Expand all Collapse all v1 v1.1.1 Apr 24, 2026 Changes in this version + const ATFComplete + const ATFDontPublish + const ATFNetmask + const ATFPermanent + const ATFPublish + const ATFUseTrailers + const DefaultMountPoint + const SectorSize + var ErrFileParse = errors.New("error parsing file") + var ErrFileRead = errors.New("error reading file") + var ErrMountPoint = errors.New("error accessing mount point") + type ARPEntry struct + Device string + Flags byte + HWAddr net.HardwareAddr + IPAddr net.IP + func (entry *ARPEntry) IsComplete() bool + type BuddyInfo struct + Node string + Sizes []float64 + Zone string + type CPUInfo struct — linux/amd64 + APICID string + AddressSizes string + BogoMips float64 + Bugs []string + CLFlushSize uint + CPUCores uint + CPUFamily string + CPUIDLevel uint + CPUMHz float64 + CacheAlignment uint + CacheSize string + CoreID string + FPU string + FPUException string + Flags []string + InitialAPICID string + Microcode string + Model string + ModelName string + PhysicalID string + PowerManagement string + Processor uint + Siblings uint + Stepping string + VendorID string + WP string + type CPUStat struct + Guest float64 + GuestNice float64 + IRQ float64 + Idle float64 + Iowait float64 + Nice float64 + SoftIRQ float64 + Steal float64 + System float64 + User float64 + type Cgroup struct + Controllers []string + HierarchyID int + Path string + type CgroupSummary struct + Cgroups int + Enabled int + Hierarchy int + SubsysName string + type ConntrackStatEntry struct + Delete uint64 + DeleteList uint64 + Drop uint64 + EarlyDrop uint64 + Entries uint64 + Found uint64 + Ignore uint64 + Insert uint64 + InsertFailed uint64 + Invalid uint64 + New uint64 + SearchRestart uint64 + Searched uint64 + type Crypto struct + Alignmask *uint64 + Async bool + Blocksize *uint64 + Chunksize *uint64 + Ctxsize *uint64 + Digestsize *uint64 + Driver string + Geniv string + Internal string + Ivsize *uint64 + MaxKeysize *uint64 + Maxauthsize *uint64 + MinKeysize *uint64 + Module string + Name string + Priority *int64 + Refcnt *int64 + Seedsize *uint64 + Selftest string + Type string + Walksize *uint64 + type FS struct + func NewDefaultFS() (FS, error) + func NewFS(mountPoint string) (FS, error) + func (fs FS) AllProcs() (Procs, error) + func (fs FS) AllThreads(pid int) (Procs, error) + func (fs FS) BuddyInfo() ([]BuddyInfo, error) + func (fs FS) CPUInfo() ([]CPUInfo, error) + func (fs FS) CgroupSummarys() ([]CgroupSummary, error) + func (fs FS) CmdLine() ([]string, error) + func (fs FS) ConntrackStat() ([]ConntrackStatEntry, error) + func (fs FS) Crypto() ([]Crypto, error) + func (fs FS) Fscacheinfo() (Fscacheinfo, error) + func (fs FS) GatherARPEntries() ([]ARPEntry, error) + func (fs FS) GetMounts() ([]*MountInfo, error) + func (fs FS) GetProcMounts(pid int) ([]*MountInfo, error) + func (fs FS) IPVSBackendStatus() ([]IPVSBackendStatus, error) + func (fs FS) IPVSStats() (IPVSStats, error) + func (fs FS) KernelHung() (KernelHung, error) + func (fs FS) KernelRandom() (KernelRandom, error) + func (fs FS) LoadAvg() (*LoadAvg, error) + func (fs FS) MDStat() ([]MDStat, error) + func (fs FS) Meminfo() (Meminfo, error) + func (fs FS) NFNetLinkQueue() ([]NFNetLinkQueue, error) + func (fs FS) NetDev() (NetDev, error) + func (fs FS) NetDevSNMP6() (NetDevSNMP6, error) + func (fs FS) NetProtocols() (NetProtocolStats, error) + func (fs FS) NetRoute() ([]NetRouteLine, error) + func (fs FS) NetSockstat() (*NetSockstat, error) + func (fs FS) NetSockstat6() (*NetSockstat, error) + func (fs FS) NetSoftnetStat() ([]SoftnetStat, error) + func (fs FS) NetStat() ([]NetStat, error) + func (fs FS) NetTCP() (NetTCP, error) + func (fs FS) NetTCP6() (NetTCP, error) + func (fs FS) NetTCP6Summary() (*NetTCPSummary, error) + func (fs FS) NetTCPSummary() (*NetTCPSummary, error) + func (fs FS) NetUDP() (NetUDP, error) + func (fs FS) NetUDP6() (NetUDP, error) + func (fs FS) NetUDP6Summary() (*NetUDPSummary, error) + func (fs FS) NetUDPSummary() (*NetUDPSummary, error) + func (fs FS) NetUNIX() (*NetUNIX, error) + func (fs FS) NewProc(pid int) (Proc, error) + func (fs FS) NewStat() (Stat, error) + func (fs FS) NewTLSStat() (TLSStat, error) + func (fs FS) NewXfrmStat() (XfrmStat, error) + func (fs FS) PSIStatsForResource(resource string) (PSIStats, error) + func (fs FS) Proc(pid int) (Proc, error) + func (fs FS) Schedstat() (*Schedstat, error) + func (fs FS) Self() (Proc, error) + func (fs FS) SlabInfo() (SlabInfo, error) + func (fs FS) Softirqs() (Softirqs, error) + func (fs FS) Stat() (Stat, error) + func (fs FS) Swaps() ([]*Swap, error) + func (fs FS) SysctlInts(sysctl string) ([]int, error) + func (fs FS) SysctlStrings(sysctl string) ([]string, error) + func (fs FS) Thread(pid, tid int) (Proc, error) + func (fs FS) VM() (*VM, error) + func (fs FS) Wireless() ([]*Wireless, error) + func (fs FS) Zoneinfo() ([]Zoneinfo, error) + type Fscacheinfo struct + AcquireCookiesRequestSeen uint64 + AcquireRequestsFailedDueToEnomem uint64 + AcquireRequestsRejectedDueToError uint64 + AcquireRequestsRejectedNoCacheAvailable uint64 + AcquireRequestsSucceeded uint64 + AcquireRequestsWithNullParent uint64 + AllocationOkRequests uint64 + AllocationOperationsSubmitted uint64 + AllocationRequestsSeen uint64 + AllocationWaitingOnLookup uint64 + AllocationsAbortedDueToErestartsys uint64 + AllocationsAbortedDueToObjectDeath uint64 + AllocationsRejectedDueToEnobufs uint64 + AllocationsWaitedForCPU uint64 + AttributeChangedFailedDueToEnomem uint64 + AttributeChangedOps uint64 + AttributeChangedRejectDueToEnobufs uint64 + AttributeChangedRequestsQueued uint64 + AttributeChangedRequestsSeen uint64 + CacheevLookupsAndCreationsRejectedLackSpace uint64 + CacheevObjectsCulled uint64 + CacheevRetiredWhenReliquished uint64 + CacheevStaleObjectsDeleted uint64 + CacheopAllocatePageInProgress uint64 + CacheopAllocatePagesInProgress uint64 + CacheopAllocationsinProgress uint64 + CacheopAttributeChangeInProgress uint64 + CacheopDissociatePagesInProgress uint64 + CacheopDropObjectInProgress uint64 + CacheopGrabObjectInProgress uint64 + CacheopInvalidations uint64 + CacheopLookupCompleteInPorgress uint64 + CacheopLookupObjectInProgress uint64 + CacheopPutObjectInProgress uint64 + CacheopReadOrAllocPageInProgress uint64 + CacheopReadOrAllocPagesInProgress uint64 + CacheopSyncCacheInProgress uint64 + CacheopUncachePagesInProgress uint64 + CacheopUpdateObjectInProgress uint64 + CacheopWritePagesInProgress uint64 + DataStorageCookiesAllocated uint64 + IndexCookiesAllocated uint64 + InvalidationsNumber uint64 + InvalidationsRunning uint64 + LookupsNegative uint64 + LookupsNumber uint64 + LookupsPositive uint64 + LookupsTimedOutAndRequed uint64 + ObjectAllocationsFailure uint64 + ObjectsAllocated uint64 + ObjectsAvailable uint64 + ObjectsCreatedByLookup uint64 + ObjectsDead uint64 + ObjectsDeclaredObsolete uint64 + ObjectsNeedCoherencyCheckUpdate uint64 + ObjectsWithCoherencyCheck uint64 + ObjectsWithoutCoherencyCheck uint64 + OpsCancelled uint64 + OpsDeferred uint64 + OpsEnqueued uint64 + OpsGarbageCollected uint64 + OpsInitialised uint64 + OpsPending uint64 + OpsRejected uint64 + OpsReleased uint64 + OpsRunning uint64 + PageStoresCancelledByReleaseRequests uint64 + PagesMarkedAsBeingCached uint64 + ReleaseRequestsAgainstPagesStoredByTimeLockGranted uint64 + ReleaseRequestsAgainstPagesWithNoPendingStorage uint64 + ReleaseRequestsIgnoredDueToInProgressStore uint64 + RelinquishCookiesRequestSeen uint64 + RelinquishCookiesWithNullParent uint64 + RelinquishRequestsWaitingCompleteCreation uint64 + RelinquishRetries uint64 + RetrievalsAbortedDueToErestartsys uint64 + RetrievalsAbortedDueToObjectDeath uint64 + RetrievalsFailedDueToEnomem uint64 + RetrievalsOk uint64 + RetrievalsReadRequests uint64 + RetrievalsRejectedDueToEnobufs uint64 + RetrievalsRequests uint64 + RetrievalsReturnedEnodata uint64 + RetrievalsWaitingCPU uint64 + RetrievalsWaitingLookupCompletion uint64 + SpecialCookiesAllocated uint64 + StorePagesWithRequestsProcessing uint64 + StoreRequestsDeleted uint64 + StoreRequestsFailedDueToEnomem uint64 + StoreRequestsOnPendingStorage uint64 + StoreRequestsOverStoreLimit uint64 + StoreRequestsRejectedDueToEnobufs uint64 + StoreRequestsRunning uint64 + StoreRequestsSubmitted uint64 + StoreSuccessfulRequests uint64 + StoreWriteRequests uint64 + UncachePagesRequestSeen uint64 + UpdateCookieRequestSeen uint64 + UpdateRequestsRunning uint64 + UpdateRequestsWithNullParent uint64 + VmscanWaiting uint64 + type IPVSBackendStatus struct + ActiveConn uint64 + InactConn uint64 + LocalAddress net.IP + LocalMark string + LocalPort uint16 + Proto string + RemoteAddress net.IP + RemotePort uint16 + Weight uint64 + type IPVSStats struct + Connections uint64 + IncomingBytes uint64 + IncomingPackets uint64 + OutgoingBytes uint64 + OutgoingPackets uint64 + type Icmp struct + InAddrMaskReps *float64 + InAddrMasks *float64 + InCsumErrors *float64 + InDestUnreachs *float64 + InEchoReps *float64 + InEchos *float64 + InErrors *float64 + InMsgs *float64 + InParmProbs *float64 + InRedirects *float64 + InSrcQuenchs *float64 + InTimeExcds *float64 + InTimestampReps *float64 + InTimestamps *float64 + OutAddrMaskReps *float64 + OutAddrMasks *float64 + OutDestUnreachs *float64 + OutEchoReps *float64 + OutEchos *float64 + OutErrors *float64 + OutMsgs *float64 + OutParmProbs *float64 + OutRedirects *float64 + OutSrcQuenchs *float64 + OutTimeExcds *float64 + OutTimestampReps *float64 + OutTimestamps *float64 + type Icmp6 struct + InCsumErrors *float64 + InDestUnreachs *float64 + InEchoReplies *float64 + InEchos *float64 + InErrors *float64 + InGroupMembQueries *float64 + InGroupMembReductions *float64 + InGroupMembResponses *float64 + InMLDv2Reports *float64 + InMsgs *float64 + InNeighborAdvertisements *float64 + InNeighborSolicits *float64 + InParmProblems *float64 + InPktTooBigs *float64 + InRedirects *float64 + InRouterAdvertisements *float64 + InRouterSolicits *float64 + InTimeExcds *float64 + InType1 *float64 + InType134 *float64 + InType135 *float64 + InType136 *float64 + InType143 *float64 + OutDestUnreachs *float64 + OutEchoReplies *float64 + OutEchos *float64 + OutErrors *float64 + OutGroupMembQueries *float64 + OutGroupMembReductions *float64 + OutGroupMembResponses *float64 + OutMLDv2Reports *float64 + OutMsgs *float64 + OutNeighborAdvertisements *float64 + OutNeighborSolicits *float64 + OutParmProblems *float64 + OutPktTooBigs *float64 + OutRedirects *float64 + OutRouterAdvertisements *float64 + OutRouterSolicits *float64 + OutTimeExcds *float64 + OutType133 *float64 + OutType135 *float64 + OutType136 *float64 + OutType143 *float64 + type IcmpMsg struct + InType3 *float64 + OutType3 *float64 + type InotifyInfo struct + Ino string + Mask string + Sdev string + WD string + type Interrupt struct + Devices string + Info string + Values []string + type Interrupts map[string]Interrupt + type Ip struct + DefaultTTL *float64 + ForwDatagrams *float64 + Forwarding *float64 + FragCreates *float64 + FragFails *float64 + FragOKs *float64 + InAddrErrors *float64 + InDelivers *float64 + InDiscards *float64 + InHdrErrors *float64 + InReceives *float64 + InUnknownProtos *float64 + OutDiscards *float64 + OutNoRoutes *float64 + OutRequests *float64 + ReasmFails *float64 + ReasmOKs *float64 + ReasmReqds *float64 + ReasmTimeout *float64 + type Ip6 struct + FragCreates *float64 + FragFails *float64 + FragOKs *float64 + InAddrErrors *float64 + InBcastOctets *float64 + InCEPkts *float64 + InDelivers *float64 + InDiscards *float64 + InECT0Pkts *float64 + InECT1Pkts *float64 + InHdrErrors *float64 + InMcastOctets *float64 + InMcastPkts *float64 + InNoECTPkts *float64 + InNoRoutes *float64 + InOctets *float64 + InReceives *float64 + InTooBigErrors *float64 + InTruncatedPkts *float64 + InUnknownProtos *float64 + OutBcastOctets *float64 + OutDiscards *float64 + OutForwDatagrams *float64 + OutMcastOctets *float64 + OutMcastPkts *float64 + OutNoRoutes *float64 + OutOctets *float64 + OutRequests *float64 + ReasmFails *float64 + ReasmOKs *float64 + ReasmReqds *float64 + ReasmTimeout *float64 + type IpExt struct + InBcastOctets *float64 + InBcastPkts *float64 + InCEPkts *float64 + InCsumErrors *float64 + InECT0Pkts *float64 + InECT1Pkts *float64 + InMcastOctets *float64 + InMcastPkts *float64 + InNoECTPkts *float64 + InNoRoutes *float64 + InOctets *float64 + InTruncatedPkts *float64 + OutBcastOctets *float64 + OutBcastPkts *float64 + OutMcastOctets *float64 + OutMcastPkts *float64 + OutOctets *float64 + ReasmOverlaps *float64 + type KernelHung struct — darwin/amd64, js/wasm, linux/amd64 + HungTaskDetectCount *uint64 + type KernelRandom struct — darwin/amd64, js/wasm, linux/amd64 + EntropyAvaliable *uint64 + PoolSize *uint64 + ReadWakeupThreshold *uint64 + URandomMinReseedSeconds *uint64 + WriteWakeupThreshold *uint64 + type LoadAvg struct + Load1 float64 + Load15 float64 + Load5 float64 + type MDStat struct + ActivityState string + BlocksSynced int64 + BlocksSyncedFinishTime float64 + BlocksSyncedPct float64 + BlocksSyncedSpeed float64 + BlocksToBeSynced int64 + BlocksTotal int64 + Devices []MDStatComponent + DisksActive int64 + DisksDown int64 + DisksFailed int64 + DisksSpare int64 + DisksTotal int64 + Name string + Type string + type MDStatComponent struct + DescriptorIndex int32 + Faulty bool + Journal bool + Name string + Replacement bool + Spare bool + WriteMostly bool + type Meminfo struct + Active *uint64 + ActiveAnon *uint64 + ActiveAnonBytes *uint64 + ActiveBytes *uint64 + ActiveFile *uint64 + ActiveFileBytes *uint64 + AnonHugePages *uint64 + AnonHugePagesBytes *uint64 + AnonPages *uint64 + AnonPagesBytes *uint64 + Bounce *uint64 + BounceBytes *uint64 + Buffers *uint64 + BuffersBytes *uint64 + Cached *uint64 + CachedBytes *uint64 + CmaFree *uint64 + CmaFreeBytes *uint64 + CmaTotal *uint64 + CmaTotalBytes *uint64 + CommitLimit *uint64 + CommitLimitBytes *uint64 + CommittedAS *uint64 + CommittedASBytes *uint64 + DirectMap1G *uint64 + DirectMap1GBytes *uint64 + DirectMap2M *uint64 + DirectMap2MBytes *uint64 + DirectMap4k *uint64 + DirectMap4kBytes *uint64 + Dirty *uint64 + DirtyBytes *uint64 + FileHugePages *uint64 + FileHugePagesBytes *uint64 + HardwareCorrupted *uint64 + HardwareCorruptedBytes *uint64 + HugePagesFree *uint64 + HugePagesRsvd *uint64 + HugePagesSurp *uint64 + HugePagesTotal *uint64 + Hugepagesize *uint64 + HugepagesizeBytes *uint64 + Hugetlb *uint64 + HugetlbBytes *uint64 + Inactive *uint64 + InactiveAnon *uint64 + InactiveAnonBytes *uint64 + InactiveBytes *uint64 + InactiveFile *uint64 + InactiveFileBytes *uint64 + KernelStack *uint64 + KernelStackBytes *uint64 + Mapped *uint64 + MappedBytes *uint64 + MemAvailable *uint64 + MemAvailableBytes *uint64 + MemFree *uint64 + MemFreeBytes *uint64 + MemTotal *uint64 + MemTotalBytes *uint64 + Mlocked *uint64 + MlockedBytes *uint64 + NFSUnstable *uint64 + NFSUnstableBytes *uint64 + PageTables *uint64 + PageTablesBytes *uint64 + Percpu *uint64 + PercpuBytes *uint64 + SReclaimable *uint64 + SReclaimableBytes *uint64 + SUnreclaim *uint64 + SUnreclaimBytes *uint64 + SecPageTables *uint64 + SecPageTablesBytes *uint64 + Shmem *uint64 + ShmemBytes *uint64 + ShmemHugePages *uint64 + ShmemHugePagesBytes *uint64 + ShmemPmdMapped *uint64 + ShmemPmdMappedBytes *uint64 + Slab *uint64 + SlabBytes *uint64 + SwapCached *uint64 + SwapCachedBytes *uint64 + SwapFree *uint64 + SwapFreeBytes *uint64 + SwapTotal *uint64 + SwapTotalBytes *uint64 + Unaccepted *uint64 + UnacceptedBytes *uint64 + Unevictable *uint64 + UnevictableBytes *uint64 + VmallocChunk *uint64 + VmallocChunkBytes *uint64 + VmallocTotal *uint64 + VmallocTotalBytes *uint64 + VmallocUsed *uint64 + VmallocUsedBytes *uint64 + Writeback *uint64 + WritebackBytes *uint64 + WritebackTmp *uint64 + WritebackTmpBytes *uint64 + Zswap *uint64 + ZswapBytes *uint64 + Zswapped *uint64 + ZswappedBytes *uint64 + type Mount struct + Device string + Mount string + Stats MountStats + Type string + type MountInfo struct + FSType string + MajorMinorVer string + MountID int + MountPoint string + OptionalFields map[string]string + Options map[string]string + ParentID int + Root string + Source string + SuperOptions map[string]string + func GetMounts() ([]*MountInfo, error) + func GetProcMounts(pid int) ([]*MountInfo, error) + type MountStats interface + type MountStatsNFS struct + Age time.Duration + Bytes NFSBytesStats + Events NFSEventsStats + Operations []NFSOperationStats + Opts map[string]string + StatVersion string + Transport []NFSTransportStats + type NFNetLinkQueue struct + CopyMode uint + CopyRange uint + PeerPID uint + QueueDropped uint + QueueID uint + QueueTotal uint + QueueUserDropped uint + SequenceID uint + Use uint + type NFSBytesStats struct + DirectRead uint64 + DirectWrite uint64 + Read uint64 + ReadPages uint64 + ReadTotal uint64 + Write uint64 + WritePages uint64 + WriteTotal uint64 + type NFSEventsStats struct + AttributeInvalidate uint64 + CongestionWait uint64 + DataInvalidate uint64 + DnodeRevalidate uint64 + InodeRevalidate uint64 + JukeboxDelay uint64 + PNFSRead uint64 + PNFSWrite uint64 + ShortRead uint64 + ShortWrite uint64 + SillyRename uint64 + Truncation uint64 + VFSAccess uint64 + VFSFileRelease uint64 + VFSFlush uint64 + VFSFsync uint64 + VFSGetdents uint64 + VFSLock uint64 + VFSLookup uint64 + VFSOpen uint64 + VFSReadPage uint64 + VFSReadPages uint64 + VFSSetattr uint64 + VFSUpdatePage uint64 + VFSWritePage uint64 + VFSWritePages uint64 + WriteExtension uint64 + type NFSOperationStats struct + BytesReceived uint64 + BytesSent uint64 + CumulativeQueueMilliseconds uint64 + CumulativeTotalRequestMilliseconds uint64 + CumulativeTotalResponseMilliseconds uint64 + Errors uint64 + MajorTimeouts uint64 + Operation string + Requests uint64 + Transmissions uint64 + type NFSTransportStats struct + BadReplyCount uint64 + BadTransactionIDs uint64 + BcallCount uint64 + Bind uint64 + Connect uint64 + ConnectIdleTime uint64 + CumulativeActiveRequests uint64 + CumulativeBacklog uint64 + CumulativePendingQueue uint64 + CumulativeSendingQueue uint64 + EmptySendctxQ uint64 + FailedMarshalCount uint64 + FixupCopyCount uint64 + HardwayRegisterCount uint64 + IdleTimeSeconds uint64 + LocalInvNeeded uint64 + MaximumRPCSlotsUsed uint64 + MrsAllocated uint64 + MrsOrphaned uint64 + MrsRecovered uint64 + NomsgCallCount uint64 + Port uint64 + Protocol string + PullupCopyCount uint64 + ReadChunkCount uint64 + Receives uint64 + ReplyChunkCount uint64 + ReplyWaitsForSend uint64 + Sends uint64 + TotalRdmaReply uint64 + TotalRdmaRequest uint64 + WriteChunkCount uint64 + type Namespace struct + Inode uint32 + Type string + type Namespaces map[string]Namespace + type NetDev map[string]NetDevLine + func (netDev NetDev) Total() NetDevLine + type NetDevLine struct + Name string + RxBytes uint64 + RxCompressed uint64 + RxDropped uint64 + RxErrors uint64 + RxFIFO uint64 + RxFrame uint64 + RxMulticast uint64 + RxPackets uint64 + TxBytes uint64 + TxCarrier uint64 + TxCollisions uint64 + TxCompressed uint64 + TxDropped uint64 + TxErrors uint64 + TxFIFO uint64 + TxPackets uint64 + type NetDevSNMP6 map[string]map[string]uint64 + type NetIPSocket []*netIPSocketLine + type NetIPSocketSummary struct + Drops *uint64 + RxQueueLength uint64 + TxQueueLength uint64 + UsedSockets uint64 + type NetProtocolCapabilities struct + Accept bool + BacklogRcv bool + Bind bool + Close bool + Connect bool + Destroy bool + Disconnect bool + EnterMemoryPressure bool + GetPort bool + GetSockOpt bool + Hash bool + Init bool + IoCtl bool + RecvMsg bool + SendMsg bool + SendPage bool + SetSockOpt bool + Shutdown bool + UnHash bool + type NetProtocolStatLine struct + Capabilities NetProtocolCapabilities + MaxHeader uint64 + Memory int64 + ModuleName string + Name string + Pressure int + Size uint64 + Slab bool + Sockets int64 + type NetProtocolStats map[string]NetProtocolStatLine + type NetRouteLine struct + Destination uint32 + Flags uint32 + Gateway uint32 + IRTT uint32 + Iface string + MTU uint32 + Mask uint32 + Metric uint32 + RefCnt uint32 + Use uint32 + Window uint32 + type NetSockstat struct + Protocols []NetSockstatProtocol + Used *int + type NetSockstatProtocol struct + Alloc *int + InUse int + Mem *int + Memory *int + Orphan *int + Protocol string + TW *int + type NetStat struct + Filename string + Stats map[string][]uint64 + type NetTCP []*netIPSocketLine + type NetTCPSummary NetIPSocketSummary + type NetUDP []*netIPSocketLine + type NetUDPSummary NetIPSocketSummary + type NetUNIX struct + Rows []*NetUNIXLine + type NetUNIXFlags uint64 + func (f NetUNIXFlags) String() string + type NetUNIXLine struct + Flags NetUNIXFlags + Inode uint64 + KernelPtr string + Path string + Protocol uint64 + RefCount uint64 + State NetUNIXState + Type NetUNIXType + type NetUNIXState uint64 + func (s NetUNIXState) String() string + type NetUNIXType uint64 + func (t NetUNIXType) String() string + type PSILine struct + Avg10 float64 + Avg300 float64 + Avg60 float64 + Total uint64 + type PSIStats struct + Full *PSILine + Some *PSILine + type Proc struct + PID int + func NewProc(pid int) (Proc, error) + func Self() (Proc, error) + func (p Proc) Cgroups() ([]Cgroup, error) + func (p Proc) CmdLine() ([]string, error) + func (p Proc) Comm() (string, error) + func (p Proc) Cwd() (string, error) + func (p Proc) Environ() ([]string, error) + func (p Proc) Executable() (string, error) + func (p Proc) FDInfo(fd string) (*ProcFDInfo, error) + func (p Proc) FileDescriptorTargets() ([]string, error) + func (p Proc) FileDescriptors() ([]uintptr, error) + func (p Proc) FileDescriptorsInfo() (ProcFDInfos, error) + func (p Proc) FileDescriptorsLen() (int, error) + func (p Proc) IO() (ProcIO, error) + func (p Proc) Interrupts() (Interrupts, error) + func (p Proc) Limits() (ProcLimits, error) + func (p Proc) MountInfo() ([]*MountInfo, error) + func (p Proc) MountStats() ([]*Mount, error) + func (p Proc) Namespaces() (Namespaces, error) + func (p Proc) NetDev() (NetDev, error) + func (p Proc) NetDevSNMP6() (NetDevSNMP6, error) + func (p Proc) Netstat() (ProcNetstat, error) + func (p Proc) NewLimits() (ProcLimits, error) + func (p Proc) NewStat() (ProcStat, error) + func (p Proc) NewStatm() (ProcStatm, error) + func (p Proc) NewStatus() (ProcStatus, error) + func (p Proc) ProcMaps() ([]*ProcMap, error) + func (p Proc) ProcSMapsRollup() (ProcSMapsRollup, error) + func (p Proc) RootDir() (string, error) + func (p Proc) Schedstat() (ProcSchedstat, error) + func (p Proc) Snmp() (ProcSnmp, error) + func (p Proc) Snmp6() (ProcSnmp6, error) + func (p Proc) Stat() (ProcStat, error) + func (p Proc) Statm() (ProcStatm, error) + func (p Proc) Wchan() (string, error) + func (proc Proc) Thread(tid int) (Proc, error) + type ProcFDInfo struct + FD string + Flags string + Ino string + InotifyInfos []InotifyInfo + MntID string + Pos string + type ProcFDInfos []ProcFDInfo + func (p ProcFDInfos) InotifyWatchLen() (int, error) + func (p ProcFDInfos) Len() int + func (p ProcFDInfos) Less(i, j int) bool + func (p ProcFDInfos) Swap(i, j int) + type ProcIO struct + CancelledWriteBytes int64 + RChar uint64 + ReadBytes uint64 + SyscR uint64 + SyscW uint64 + WChar uint64 + WriteBytes uint64 + type ProcLimits struct + AddressSpace uint64 + CPUTime uint64 + CoreFileSize uint64 + DataSize uint64 + FileLocks uint64 + FileSize uint64 + LockedMemory uint64 + MsqqueueSize uint64 + NicePriority uint64 + OpenFiles uint64 + PendingSignals uint64 + Processes uint64 + RealtimePriority uint64 + RealtimeTimeout uint64 + ResidentSet uint64 + StackSize uint64 + type ProcMap struct — darwin/amd64, linux/amd64 + Dev uint64 + EndAddr uintptr + Inode uint64 + Offset int64 + Pathname string + Perms *ProcMapPermissions + StartAddr uintptr + type ProcMapPermissions struct — darwin/amd64, linux/amd64 + Execute bool + Private bool + Read bool + Shared bool + Write bool + type ProcNetstat struct + PID int + type ProcSMapsRollup struct — darwin/amd64, js/wasm, linux/amd64 + Anonymous uint64 + PrivateClean uint64 + PrivateDirty uint64 + Pss uint64 + Referenced uint64 + Rss uint64 + SharedClean uint64 + SharedDirty uint64 + Swap uint64 + SwapPss uint64 + type ProcSchedstat struct + RunTimeslices uint64 + RunningNanoseconds uint64 + WaitingNanoseconds uint64 + type ProcSnmp struct + PID int + type ProcSnmp6 struct + PID int + type ProcStat struct + CGuestTime int + CMajFlt uint + CMinFlt uint + CSTime int + CUTime int + Comm string + DelayAcctBlkIOTicks uint64 + EndCode uint64 + Flags uint + GuestTime int + MajFlt uint + MinFlt uint + Nice int + NumThreads int + PGRP int + PID int + PPID int + Policy uint + Priority int + Processor uint + RSS int + RSSLimit uint64 + RTPriority uint + STime uint + Session int + StartCode uint64 + StartStack uint64 + Starttime uint64 + State string + TPGID int + TTY int + UTime uint + VSize uint + func (s ProcStat) CPUTime() float64 + func (s ProcStat) ResidentMemory() int + func (s ProcStat) StartTime() (float64, error) + func (s ProcStat) VirtualMemory() uint + type ProcStatm struct + Data uint64 + Dt uint64 + Lib uint64 + PID int + Resident uint64 + Shared uint64 + Size uint64 + Text uint64 + func (s ProcStatm) DataBytes() uint64 + func (s ProcStatm) ResidentBytes() uint64 + func (s ProcStatm) SHRBytes() uint64 + func (s ProcStatm) SizeBytes() uint64 + func (s ProcStatm) TextBytes() uint64 + type ProcStatus struct + CapAmb uint64 + CapBnd uint64 + CapEff uint64 + CapInh uint64 + CapPrm uint64 + CpusAllowedList []uint64 + GIDs [4]uint64 + HugetlbPages uint64 + NSpids []uint64 + Name string + NonVoluntaryCtxtSwitches uint64 + PID int + RssAnon uint64 + RssFile uint64 + RssShmem uint64 + TGID int + UIDs [4]uint64 + VmData uint64 + VmExe uint64 + VmHWM uint64 + VmLck uint64 + VmLib uint64 + VmPMD uint64 + VmPTE uint64 + VmPeak uint64 + VmPin uint64 + VmRSS uint64 + VmSize uint64 + VmStk uint64 + VmSwap uint64 + VoluntaryCtxtSwitches uint64 + func (s ProcStatus) TotalCtxtSwitches() uint64 + type Procs []Proc + func AllProcs() (Procs, error) + func AllThreads(pid int) (Procs, error) + func (p Procs) Len() int + func (p Procs) Less(i, j int) bool + func (p Procs) Swap(i, j int) + type Schedstat struct + CPUs []*SchedstatCPU + type SchedstatCPU struct + CPUNum string + RunTimeslices uint64 + RunningNanoseconds uint64 + WaitingNanoseconds uint64 + type Slab struct + Batch int64 + Limit int64 + Name string + ObjActive int64 + ObjNum int64 + ObjPerSlab int64 + ObjSize int64 + PagesPerSlab int64 + SharedAvail int64 + SharedFactor int64 + SlabActive int64 + SlabNum int64 + type SlabInfo struct + Slabs []*Slab + type SoftIRQStat struct + Block uint64 + BlockIoPoll uint64 + Hi uint64 + Hrtimer uint64 + NetRx uint64 + NetTx uint64 + Rcu uint64 + Sched uint64 + Tasklet uint64 + Timer uint64 + type Softirqs struct + Block []uint64 + HRTimer []uint64 + Hi []uint64 + IRQPoll []uint64 + NetRx []uint64 + NetTx []uint64 + RCU []uint64 + Sched []uint64 + Tasklet []uint64 + Timer []uint64 + type SoftnetStat struct + CPUCollision uint32 + Dropped uint32 + FlowLimitCount uint32 + Index uint32 + Processed uint32 + ReceivedRps uint32 + SoftnetBacklogLen uint32 + TimeSqueezed uint32 + Width int + type Stat struct + BootTime uint64 + CPU map[int64]CPUStat + CPUTotal CPUStat + ContextSwitches uint64 + IRQ []uint64 + IRQTotal uint64 + ProcessCreated uint64 + ProcessesBlocked uint64 + ProcessesRunning uint64 + SoftIRQ SoftIRQStat + SoftIRQTotal uint64 + func NewStat() (Stat, error) + type Swap struct + Filename string + Priority int + Size int + Type string + Used int + type TLSStat struct + TLSCurrRxDevice int + TLSCurrRxSw int + TLSCurrTxDevice int + TLSCurrTxSw int + TLSDecryptError int + TLSDecryptRetry int + TLSRxDevice int + TLSRxDeviceResync int + TLSRxNoPadViolation int + TLSRxSw int + TLSTxDevice int + TLSTxSw int + func NewTLSStat() (TLSStat, error) + type Tcp struct + ActiveOpens *float64 + AttemptFails *float64 + CurrEstab *float64 + EstabResets *float64 + InCsumErrors *float64 + InErrs *float64 + InSegs *float64 + MaxConn *float64 + OutRsts *float64 + OutSegs *float64 + PassiveOpens *float64 + RetransSegs *float64 + RtoAlgorithm *float64 + RtoMax *float64 + RtoMin *float64 + type TcpExt struct + ArpFilter *float64 + BusyPollRxPackets *float64 + DelayedACKLocked *float64 + DelayedACKLost *float64 + DelayedACKs *float64 + EmbryonicRsts *float64 + IPReversePathFilter *float64 + ListenDrops *float64 + ListenOverflows *float64 + LockDroppedIcmps *float64 + OfoPruned *float64 + OutOfWindowIcmps *float64 + PAWSActive *float64 + PAWSEstab *float64 + PFMemallocDrop *float64 + PruneCalled *float64 + RcvPruned *float64 + SyncookiesFailed *float64 + SyncookiesRecv *float64 + SyncookiesSent *float64 + TCPACKSkippedChallenge *float64 + TCPACKSkippedFinWait2 *float64 + TCPACKSkippedPAWS *float64 + TCPACKSkippedSeq *float64 + TCPACKSkippedSynRecv *float64 + TCPACKSkippedTimeWait *float64 + TCPAbortFailed *float64 + TCPAbortOnClose *float64 + TCPAbortOnData *float64 + TCPAbortOnLinger *float64 + TCPAbortOnMemory *float64 + TCPAbortOnTimeout *float64 + TCPAutoCorking *float64 + TCPBacklogDrop *float64 + TCPChallengeACK *float64 + TCPDSACKIgnoredNoUndo *float64 + TCPDSACKIgnoredOld *float64 + TCPDSACKOfoRecv *float64 + TCPDSACKOfoSent *float64 + TCPDSACKOldSent *float64 + TCPDSACKRecv *float64 + TCPDSACKUndo *float64 + TCPDeferAcceptDrop *float64 + TCPFastOpenActive *float64 + TCPFastOpenActiveFail *float64 + TCPFastOpenBlackhole *float64 + TCPFastOpenCookieReqd *float64 + TCPFastOpenListenOverflow *float64 + TCPFastOpenPassive *float64 + TCPFastOpenPassiveFail *float64 + TCPFastRetrans *float64 + TCPFromZeroWindowAdv *float64 + TCPFullUndo *float64 + TCPHPAcks *float64 + TCPHPHits *float64 + TCPHystartDelayCwnd *float64 + TCPHystartDelayDetect *float64 + TCPHystartTrainCwnd *float64 + TCPHystartTrainDetect *float64 + TCPKeepAlive *float64 + TCPLossFailures *float64 + TCPLossProbeRecovery *float64 + TCPLossProbes *float64 + TCPLossUndo *float64 + TCPLostRetransmit *float64 + TCPMD5Failure *float64 + TCPMD5NotFound *float64 + TCPMD5Unexpected *float64 + TCPMTUPFail *float64 + TCPMTUPSuccess *float64 + TCPMemoryPressures *float64 + TCPMemoryPressuresChrono *float64 + TCPMinTTLDrop *float64 + TCPOFODrop *float64 + TCPOFOMerge *float64 + TCPOFOQueue *float64 + TCPOrigDataSent *float64 + TCPPartialUndo *float64 + TCPPureAcks *float64 + TCPRcvCoalesce *float64 + TCPRcvCollapsed *float64 + TCPRcvQDrop *float64 + TCPRenoFailures *float64 + TCPRenoRecovery *float64 + TCPRenoRecoveryFail *float64 + TCPRenoReorder *float64 + TCPReqQFullDoCookies *float64 + TCPReqQFullDrop *float64 + TCPRetransFail *float64 + TCPSACKDiscard *float64 + TCPSACKReneging *float64 + TCPSACKReorder *float64 + TCPSYNChallenge *float64 + TCPSackFailures *float64 + TCPSackMerged *float64 + TCPSackRecovery *float64 + TCPSackRecoveryFail *float64 + TCPSackShiftFallback *float64 + TCPSackShifted *float64 + TCPSlowStartRetrans *float64 + TCPSpuriousRTOs *float64 + TCPSpuriousRtxHostQueues *float64 + TCPSynRetrans *float64 + TCPTSReorder *float64 + TCPTimeWaitOverflow *float64 + TCPTimeouts *float64 + TCPToZeroWindowAdv *float64 + TCPWantZeroWindowAdv *float64 + TCPWinProbe *float64 + TCPWqueueTooBig *float64 + TW *float64 + TWKilled *float64 + TWRecycled *float64 + type Udp struct + IgnoredMulti *float64 + InCsumErrors *float64 + InDatagrams *float64 + InErrors *float64 + NoPorts *float64 + OutDatagrams *float64 + RcvbufErrors *float64 + SndbufErrors *float64 + type Udp6 struct + IgnoredMulti *float64 + InCsumErrors *float64 + InDatagrams *float64 + InErrors *float64 + NoPorts *float64 + OutDatagrams *float64 + RcvbufErrors *float64 + SndbufErrors *float64 + type UdpLite struct + IgnoredMulti *float64 + InCsumErrors *float64 + InDatagrams *float64 + InErrors *float64 + NoPorts *float64 + OutDatagrams *float64 + RcvbufErrors *float64 + SndbufErrors *float64 + type UdpLite6 struct + InCsumErrors *float64 + InDatagrams *float64 + InErrors *float64 + NoPorts *float64 + OutDatagrams *float64 + RcvbufErrors *float64 + SndbufErrors *float64 + type VM struct — darwin/amd64, js/wasm, linux/amd64 + AdminReserveKbytes *int64 + BlockDump *int64 + CompactUnevictableAllowed *int64 + DirtyBackgroundBytes *int64 + DirtyBackgroundRatio *int64 + DirtyBytes *int64 + DirtyExpireCentisecs *int64 + DirtyRatio *int64 + DirtyWritebackCentisecs *int64 + DirtytimeExpireSeconds *int64 + DropCaches *int64 + ExtfragThreshold *int64 + HugetlbShmGroup *int64 + LaptopMode *int64 + LegacyVaLayout *int64 + LowmemReserveRatio []*int64 + MaxMapCount *int64 + MemoryFailureEarlyKill *int64 + MemoryFailureRecovery *int64 + MinFreeKbytes *int64 + MinSlabRatio *int64 + MinUnmappedRatio *int64 + MmapMinAddr *int64 + NrHugepages *int64 + NrHugepagesMempolicy *int64 + NrOvercommitHugepages *int64 + NumaStat *int64 + NumaZonelistOrder string + OomDumpTasks *int64 + OomKillAllocatingTask *int64 + OvercommitKbytes *int64 + OvercommitMemory *int64 + OvercommitRatio *int64 + PageCluster *int64 + PanicOnOom *int64 + PercpuPagelistFraction *int64 + StatInterval *int64 + Swappiness *int64 + UserReserveKbytes *int64 + VfsCachePressure *int64 + WatermarkBoostFactor *int64 + WatermarkScaleFactor *int64 + ZoneReclaimMode *int64 + type Wireless struct + DiscardedCrypt int + DiscardedFrag int + DiscardedMisc int + DiscardedNwid int + DiscardedRetry int + MissedBeacon int + Name string + QualityLevel int + QualityLink int + QualityNoise int + Status uint64 + type XfrmStat struct + XfrmAcquireError int + XfrmFwdHdrError int + XfrmInBufferError int + XfrmInError int + XfrmInHdrError int + XfrmInNoPols int + XfrmInNoStates int + XfrmInPolBlock int + XfrmInPolError int + XfrmInStateExpired int + XfrmInStateInvalid int + XfrmInStateMismatch int + XfrmInStateModeError int + XfrmInStateProtoError int + XfrmInStateSeqError int + XfrmInTmplMismatch int + XfrmOutBundleCheckError int + XfrmOutBundleGenError int + XfrmOutError int + XfrmOutNoStates int + XfrmOutPolBlock int + XfrmOutPolDead int + XfrmOutPolError int + XfrmOutStateExpired int + XfrmOutStateInvalid int + XfrmOutStateModeError int + XfrmOutStateProtoError int + XfrmOutStateSeqError int + func NewXfrmStat() (XfrmStat, error) + type Zoneinfo struct — darwin/amd64, js/wasm, linux/amd64 + High *int64 + Low *int64 + Managed *int64 + Min *int64 + Node string + NrActiveAnon *int64 + NrActiveFile *int64 + NrAnonPages *int64 + NrAnonTransparentHugepages *int64 + NrDirtied *int64 + NrDirty *int64 + NrFilePages *int64 + NrFreePages *int64 + NrInactiveAnon *int64 + NrInactiveFile *int64 + NrIsolatedAnon *int64 + NrIsolatedFile *int64 + NrKernelStack *int64 + NrMapped *int64 + NrMlockStack *int64 + NrShmem *int64 + NrSlabReclaimable *int64 + NrSlabUnreclaimable *int64 + NrUnevictable *int64 + NrWriteback *int64 + NrWritten *int64 + NumaForeign *int64 + NumaHit *int64 + NumaInterleave *int64 + NumaLocal *int64 + NumaMiss *int64 + NumaOther *int64 + Present *int64 + Protection []*int64 + Scanned *int64 + Spanned *int64 + Zone string