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
TotalPhysicalRam
FreePhysicalRam
AvailablePhysicalRam
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.
UsedAsFileBuffersPhysicalRam
UsedAsCachePhysicalRam
TotalSwap
FreeSwap
UsedAsCacheSwap
ActiveFileBufferAndCacheInUse
InactiveFileBufferAndCacheAvailable
AnonymousActive
AnonymousInactive
FileActive
FileInactive
Unevictable
WaitingToBeWrittenBackToDisks
aka 'Dirty'.
CurrentlyBeingWrittenBackToDisks
aka 'Writeback'.
UsedForBlockDeviceBounceBuffers
NetworkFileSystemUnstablePagesSentToServerButNotYetCommittedToStableStorage
MemoryUsedByFuseForTemporaryWritebackBuffers
AnonymousMemoryMappedUsingMmap
FilesMappedUsingMmap
Shmem
LockedByMlock
Slab
SlabReclaimable
SlabUnreclaimable
KernelStack
MemoryDedicatedToLowestPageTableLevel
CommitLimit
WorstCaseScenarioMemoryRequiredToCompleteWorkloadIncludingSwapMemory
TotalVirtualAddressSpaceEgByMalloc
UsedVirtualAddressSpaceEgByMalloc
LargestContiguousChunkInVirtualAddressSpaceEgByMalloc
TotalNumberOfHugePages
The number is derived by dividing SizeOfAHugePage
by the megabytes set aside for hugepages
specified in /proc/sys/vm/hugetlb_pool
.
FreeNumberOfHugePages
ReservedNumberOfHugePages
SurplusNumberOfHugePages
SizeOfAHugePage
TransparentHugePagesMemoryUsage
Not mapped using tlbfs
.
DirectMap4k
DirectMap2M
HardwareCorrupted
TotalHighNotDirectlyMappedIntoKernelSpace
FreeHighNotDirectlyMappedIntoKernelSpace
TotalLowDirectlyMappedIntoKernelSpace
FreeLowDirectlyMappedIntoKernelSpace
ShmemHugePageUsage
ShmemMemoryMappedIntoUserSpaceUsingHugePages
Unknown(String)
Methods
impl MemoryInformationName
[src]
impl MemoryInformationName
pub fn is_deprecated_or_not_understood(&self) -> bool
[src]
pub fn is_deprecated_or_not_understood(&self) -> bool
Deprecated or not understood memory statistic names.
pub fn unit(&self) -> MemoryInformationUnit
[src]
pub fn unit(&self) -> MemoryInformationUnit
Associated memory statistic unit.
Trait Implementations
impl Debug for MemoryInformationName
[src]
impl Debug for MemoryInformationName
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for MemoryInformationName
[src]
impl Clone for MemoryInformationName
fn clone(&self) -> MemoryInformationName
[src]
fn clone(&self) -> MemoryInformationName
Returns 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 MemoryInformationName
fn eq(&self, other: &MemoryInformationName) -> bool
[src]
fn eq(&self, other: &MemoryInformationName) -> bool
This 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) -> bool
This method tests for !=
.
impl Eq for MemoryInformationName
[src]
impl Eq for MemoryInformationName
impl PartialOrd for MemoryInformationName
[src]
impl PartialOrd for MemoryInformationName
fn 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) -> bool
This 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) -> bool
This 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) -> bool
This 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) -> bool
This 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 MemoryInformationName
fn cmp(&self, other: &MemoryInformationName) -> Ordering
[src]
fn cmp(&self, other: &MemoryInformationName) -> Ordering
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
1.21.0[src]
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
impl Hash for MemoryInformationName
[src]
impl Hash for MemoryInformationName
Auto Trait Implementations
impl Send for MemoryInformationName
impl Send for MemoryInformationName
impl Sync for MemoryInformationName
impl Sync for MemoryInformationName