[][src]Enum dpdk_unix::memory_information::MemoryInformationName

pub enum MemoryInformationName {
    TotalPhysicalRam,
    FreePhysicalRam,
    AvailablePhysicalRam,
    UsedAsFileBuffersPhysicalRam,
    UsedAsCachePhysicalRam,
    TotalSwap,
    FreeSwap,
    UsedAsCacheSwap,
    ActiveFileBufferAndCacheInUse,
    InactiveFileBufferAndCacheAvailable,
    AnonymousActive,
    AnonymousInactive,
    FileActive,
    FileInactive,
    Unevictable,
    WaitingToBeWrittenBackToDisks,
    CurrentlyBeingWrittenBackToDisks,
    UsedForBlockDeviceBounceBuffers,
    NetworkFileSystemUnstablePagesSentToServerButNotYetCommittedToStableStorage,
    MemoryUsedByFuseForTemporaryWritebackBuffers,
    AnonymousMemoryMappedUsingMmap,
    FilesMappedUsingMmap,
    Shmem,
    LockedByMlock,
    Slab,
    SlabReclaimable,
    SlabUnreclaimable,
    KernelStack,
    MemoryDedicatedToLowestPageTableLevel,
    CommitLimit,
    WorstCaseScenarioMemoryRequiredToCompleteWorkloadIncludingSwapMemory,
    TotalVirtualAddressSpaceEgByMalloc,
    UsedVirtualAddressSpaceEgByMalloc,
    LargestContiguousChunkInVirtualAddressSpaceEgByMalloc,
    TotalNumberOfHugePages,
    FreeNumberOfHugePages,
    ReservedNumberOfHugePages,
    SurplusNumberOfHugePages,
    SizeOfAHugePage,
    TransparentHugePagesMemoryUsage,
    DirectMap4k,
    DirectMap2M,
    HardwareCorrupted,
    TotalHighNotDirectlyMappedIntoKernelSpace,
    FreeHighNotDirectlyMappedIntoKernelSpace,
    TotalLowDirectlyMappedIntoKernelSpace,
    FreeLowDirectlyMappedIntoKernelSpace,
    ShmemHugePageUsage,
    ShmemMemoryMappedIntoUserSpaceUsingHugePages,
    Unknown(Box<[u8]>),
}

Memory information names for a process.

Some old help here: https://www.centos.org/docs/5/html/5.1/Deployment_Guide/s2-proc-meminfo.html.

Variants

TotalPhysicalRamFreePhysicalRamAvailablePhysicalRam

An estimate of physical ram available for starting new applications. Always larger than FreePhysicalRam; see https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=34e431b0ae398fc54ea69ff85ec700722c9da773.

UsedAsFileBuffersPhysicalRamUsedAsCachePhysicalRamTotalSwapFreeSwapUsedAsCacheSwapActiveFileBufferAndCacheInUseInactiveFileBufferAndCacheAvailableAnonymousActiveAnonymousInactiveFileActiveFileInactiveUnevictableWaitingToBeWrittenBackToDisks

aka 'Dirty'.

CurrentlyBeingWrittenBackToDisks

aka 'Writeback'.

UsedForBlockDeviceBounceBuffersNetworkFileSystemUnstablePagesSentToServerButNotYetCommittedToStableStorageMemoryUsedByFuseForTemporaryWritebackBuffersAnonymousMemoryMappedUsingMmapFilesMappedUsingMmapShmemLockedByMlockSlabSlabReclaimableSlabUnreclaimableKernelStackMemoryDedicatedToLowestPageTableLevelCommitLimitWorstCaseScenarioMemoryRequiredToCompleteWorkloadIncludingSwapMemoryTotalVirtualAddressSpaceEgByMallocUsedVirtualAddressSpaceEgByMallocLargestContiguousChunkInVirtualAddressSpaceEgByMallocTotalNumberOfHugePages

The number is derived by dividing SizeOfAHugePage by the megabytes set aside for hugepages specified in /proc/sys/vm/hugetlb_pool.

FreeNumberOfHugePagesReservedNumberOfHugePagesSurplusNumberOfHugePagesSizeOfAHugePageTransparentHugePagesMemoryUsage

Not mapped using tlbfs.

DirectMap4kDirectMap2MHardwareCorruptedTotalHighNotDirectlyMappedIntoKernelSpaceFreeHighNotDirectlyMappedIntoKernelSpaceTotalLowDirectlyMappedIntoKernelSpaceFreeLowDirectlyMappedIntoKernelSpaceShmemHugePageUsageShmemMemoryMappedIntoUserSpaceUsingHugePagesUnknown(Box<[u8]>)

Methods

impl MemoryInformationName[src]

pub fn is_deprecated_or_not_understood(&self) -> bool[src]

Deprecated or not understood memory statistic names.

pub fn unit(&self) -> MemoryInformationUnit[src]

Associated memory statistic unit.

Trait Implementations

impl Eq for MemoryInformationName[src]

impl Clone for MemoryInformationName[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialOrd<MemoryInformationName> for MemoryInformationName[src]

impl PartialEq<MemoryInformationName> for MemoryInformationName[src]

impl Ord for MemoryInformationName[src]

fn max(self, other: Self) -> Self
1.21.0
[src]

Compares and returns the maximum of two values. Read more

fn min(self, other: Self) -> Self
1.21.0
[src]

Compares and returns the minimum of two values. Read more

impl Hash for MemoryInformationName[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for MemoryInformationName[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]