Skip to content
Apo Kalipso edited this page Jun 7, 2018 · 8 revisions

Sysmap Extractor reference Sheet

disk

Description The Disk Extractor is collecting information about every block device connected to the System. For every block device a Disk object will be created and filled with Data. Those objects are then stored in a container.

ValueTypeStatic
disksstd::vector of diskYes

disk

ValueTypeStaticDescriptionExample
device_numberStringYesDevice number of the given block device.8:0
modelStringYesModel name of the given block deviceSamsung SSD 850
nameStringYesName of the Block device on the Linux Systemsda
sizeuint64_tYesSize of the Block device488397168
vendorStringYesVendor of the Block deviceATA

disk extractor has no dependencies, it is reading /sys/block/ *

hwloc_memory

Description The hwloc_memory Extractor extracts information about memory connected to the system.

ValueTypeStaticDescriptionExample
TotalMemoryUintYesTotalMemory available on the System8249065472
LocalMemoryUint?LocalMemory available on the System8249065472
PageTypesArray Value?ArrayValue of PageTypes-

Pagetypes:

ValueTypeStaticDescriptionExample
PageSizeUint?PageSize refers to the Size of a Page, which is a Block of stored Memory4096
CountUint??2013932
DependencysDescription
Hwlochwloc provides command line tools and a C API to obtain the hierarchical map of key computing elements, such as: NUMA memory nodes, shared caches, processor sockets, processor cores, and processor "threads". hwloc also gathers various attributes such as cache and memory information, and is portable across a variety of different operating systems and platforms.

hwloc_machine

ValueTypeStaticDescriptionExample
ArchitectureStringYesProcessor Architecturex86_64
BiosDateStringYes?07/07/2011
BiosVendorStringYes-LENOVO
BiosVersionStringYes-8DET50WW
BoardAssetTagStringYes?Not Available
BoardNameStringYesName of the Mainboard42919M9
BoardVendorStringYesManufacturer of the MainboardLENOVO
BoardVersionStringYesVersion of the MainboardNot Available
ChassisAssetTagStringYes?No Asset Information
ChassisTypeStringYes-10
ChassisVendorStringYes-LENOVO
ChassisVersionStringYes-Not Available
HostnameStringYes-xyz
LinuxCgroupStringYes-/
OsNameStringYesName of the OSLinux
OsReleaseStringYesKernel Version4.15.14-1-ARCH
OsVersionStringYes-#1 SMP PREEMPT Wed Mar 28 17:34:29 UTC 2018
ProductNameStringYes-42919M9
ProductVersionStringYes-ThinkPad X220
SysVendorStringYes-LENOVO
DependencysDescription
Hwlochwloc provides command line tools and a C API to obtain the hierarchical map of key computing elements, such as: NUMA memory nodes, shared caches, processor sockets, processor cores, and processor "threads". hwloc also gathers various attributes such as cache and memory information, and is portable across a variety of different operating systems and platforms.

hwloc_pci

Array Value of PCI Devices, where each PCI device consists of:

ValueTypeStatic
pcidevicesArray of PCI devicesYes

pcidevices

ValueTypeStaticDescriptionExample
busidStringYesID of the PCI-Bus00:02.0
class_idStringYesID of the PCI-Class
device_idStringYesID of the Device
domainStringYes
linkspeedStringYes
nameStringYes
revisionStringYes
subdevice_idStringYesID of the Subdevice
subvendor_idStringYesID of the Subvendor
vendor_idStringYesID of the Vendor
DependencysDescription
Hwlochwloc provides command line tools and a C API to obtain the hierarchical map of key computing elements, such as: NUMA memory nodes, shared caches, processor sockets, processor cores, and processor "threads". hwloc also gathers various attributes such as cache and memory information, and is portable across a variety of different operating systems and platforms.

Filesystem

ValueTypeStatic
partitionsstd::vector of PartitionYes
mountpointsstd::vector of MountpointYes

Partition

ValueTypeStaticDescriptionExample
nameStringYesPath to Partition/dev/sda2 or /dev/mapper/vg0-home
device_numberStringYesNumber of the Device8:1
uuidStringYes--
partition_uuidStringYes--
sizeunsigned long longYesSize of the Partition in bit?487678287

device number is same as disk_extractor device number

Mountpoint

ValueTypeStaticDescriptionExample
deviceStringYesPath to Partition/dev/sda2
mountpointStringYesMountpoint if mounted/mnt/somewhere/
filesystemStringYesFilesystem Typeext4
optionsString?Filesystem-independent and Filesystem-specific mount optionsrw,relatime,block_validity,barrier,user_xattr,acl
sizeuint64_tYesSize of the mounted device in ?253869056
availableuint64_t?Space left on device in ?
blksizeuint64_tYes?

Kernel

ValueTypeStatic
kernel_config (kernelinfo)std::vector of Kernel_ConfigYes
modules (moduleinfo)std::vector of Modules?
system_info (machineinfo)utsnameYes

Kernel_Config

ValueTypeStaticDescriptionExample
nameStringYesName of the Config ParameterCONFIG_XEN_PCIDEV_BACKEND
valueboost::variant<std::string, int, bool, char>YesParameter statusy, n or m

Modules

ValueTypeStaticDescriptionExample
nameStringYesName of the Modulefscrypto
sizeint?Size of the Module32768
loadedbool?Allways True1

utsname utsname is defined in <sys/utsname.h>

ValueTypeStaticDescriptionExample
sysnamechar[]YesOperating system name-
nodenamechar[]YesName within "some implementation-defined network"-
releasechar[]YesOperating system release-
versionchar[]YesOperating system version-
machinechar[]YesHardware identifier-

Infiniband

ValueTypeStatic
hostsstd::map with key=guid of host, value=Host?
switchesstd::map with key=guid of switch, value=Switch?
connectionsstd::vector of Connection?

Host

ValueTypeStatic
num_portsuint64_t?
guidString?
descriptionString?

Switch

ValueTypeStatic
num_portsuint64_t?
guidString?
descriptionString?
port_typeString?

Connection

ValueTypeStatic
typePeer_Type (enum{switch,host})?
local_portuint64_t?
peer_guidString?
from_guidString?
peer_portuint64_t?
peer_port_guidString?
peer_descriptionString?
peer_liduint64_t?
local_liduint64_t?
local_lmcuint64_t?
speedString?

Clone this wiki locally