Enum dpdk_unix::memory_information::MemoryInformationName [−][src]
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(String),
}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
TotalPhysicalRamFreePhysicalRamAvailablePhysicalRamAn 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.
UsedAsFileBuffersPhysicalRamUsedAsCachePhysicalRamTotalSwapFreeSwapUsedAsCacheSwapActiveFileBufferAndCacheInUseInactiveFileBufferAndCacheAvailableAnonymousActiveAnonymousInactiveFileActiveFileInactiveUnevictableWaitingToBeWrittenBackToDisksaka 'Dirty'.
CurrentlyBeingWrittenBackToDisksaka 'Writeback'.
UsedForBlockDeviceBounceBuffersNetworkFileSystemUnstablePagesSentToServerButNotYetCommittedToStableStorageMemoryUsedByFuseForTemporaryWritebackBuffersAnonymousMemoryMappedUsingMmapFilesMappedUsingMmapShmemLockedByMlockSlabSlabReclaimableSlabUnreclaimableKernelStackMemoryDedicatedToLowestPageTableLevelCommitLimitWorstCaseScenarioMemoryRequiredToCompleteWorkloadIncludingSwapMemoryTotalVirtualAddressSpaceEgByMallocUsedVirtualAddressSpaceEgByMallocLargestContiguousChunkInVirtualAddressSpaceEgByMallocTotalNumberOfHugePagesThe number is derived by dividing SizeOfAHugePage by the megabytes set aside for hugepages specified in /proc/sys/vm/hugetlb_pool.
FreeNumberOfHugePagesReservedNumberOfHugePagesSurplusNumberOfHugePagesSizeOfAHugePageTransparentHugePagesMemoryUsageNot mapped using tlbfs.
DirectMap4kDirectMap2MHardwareCorruptedTotalHighNotDirectlyMappedIntoKernelSpaceFreeHighNotDirectlyMappedIntoKernelSpaceTotalLowDirectlyMappedIntoKernelSpaceFreeLowDirectlyMappedIntoKernelSpaceShmemHugePageUsageShmemMemoryMappedIntoUserSpaceUsingHugePagesUnknown(String)
Methods
impl MemoryInformationName[src]
impl MemoryInformationNamepub fn is_deprecated_or_not_understood(&self) -> bool[src]
pub fn is_deprecated_or_not_understood(&self) -> boolDeprecated or not understood memory statistic names.
pub fn unit(&self) -> MemoryInformationUnit[src]
pub fn unit(&self) -> MemoryInformationUnitAssociated memory statistic unit.
Trait Implementations
impl Debug for MemoryInformationName[src]
impl Debug for MemoryInformationNamefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for MemoryInformationName[src]
impl Clone for MemoryInformationNamefn clone(&self) -> MemoryInformationName[src]
fn clone(&self) -> MemoryInformationNameReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl PartialEq for MemoryInformationName[src]
impl PartialEq for MemoryInformationNamefn eq(&self, other: &MemoryInformationName) -> bool[src]
fn eq(&self, other: &MemoryInformationName) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &MemoryInformationName) -> bool[src]
fn ne(&self, other: &MemoryInformationName) -> boolThis method tests for !=.
impl Eq for MemoryInformationName[src]
impl Eq for MemoryInformationNameimpl PartialOrd for MemoryInformationName[src]
impl PartialOrd for MemoryInformationNamefn partial_cmp(&self, other: &MemoryInformationName) -> Option<Ordering>[src]
fn partial_cmp(&self, other: &MemoryInformationName) -> Option<Ordering>This method returns an ordering between self and other values if one exists. Read more
fn lt(&self, other: &MemoryInformationName) -> bool[src]
fn lt(&self, other: &MemoryInformationName) -> boolThis method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, other: &MemoryInformationName) -> bool[src]
fn le(&self, other: &MemoryInformationName) -> boolThis method tests less than or equal to (for self and other) and is used by the <= operator. Read more
fn gt(&self, other: &MemoryInformationName) -> bool[src]
fn gt(&self, other: &MemoryInformationName) -> boolThis method tests greater than (for self and other) and is used by the > operator. Read more
fn ge(&self, other: &MemoryInformationName) -> bool[src]
fn ge(&self, other: &MemoryInformationName) -> boolThis method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl Ord for MemoryInformationName[src]
impl Ord for MemoryInformationNamefn cmp(&self, other: &MemoryInformationName) -> Ordering[src]
fn cmp(&self, other: &MemoryInformationName) -> OrderingThis method returns an Ordering between self and other. Read more
fn max(self, other: Self) -> Self1.21.0[src]
fn max(self, other: Self) -> SelfCompares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self1.21.0[src]
fn min(self, other: Self) -> SelfCompares and returns the minimum of two values. Read more
impl Hash for MemoryInformationName[src]
impl Hash for MemoryInformationNameAuto Trait Implementations
impl Send for MemoryInformationName
impl Send for MemoryInformationNameimpl Sync for MemoryInformationName
impl Sync for MemoryInformationName