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.

Value Type Static
disks std::vector of disk Yes

disk

Value Type Static Description Example
device_number String Yes Device number of the given block device. 8:0
model String Yes Model name of the given block device Samsung SSD 850
name String Yes Name of the Block device on the Linux System sda
size uint64_t Yes Size of the Block device 488397168
vendor String Yes Vendor of the Block device ATA

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.

Value Type Static Description Example
TotalMemory Uint Yes TotalMemory available on the System 8249065472
LocalMemory Uint ? LocalMemory available on the System 8249065472
PageTypes Array Value ? ArrayValue of PageTypes -

Pagetypes:

Value Type Static Description Example
PageSize Uint ? PageSize refers to the Size of a Page, which is a Block of stored Memory 4096
Count Uint ? ? 2013932
Dependencys Description
Hwloc hwloc 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

Value Type Static Description Example
Architecture String Yes Processor Architecture x86_64
BiosDate String Yes ? 07/07/2011
BiosVendor String Yes - LENOVO
BiosVersion String Yes - 8DET50WW
BoardAssetTag String Yes ? Not Available
BoardName String Yes Name of the Mainboard 42919M9
BoardVendor String Yes Manufacturer of the Mainboard LENOVO
BoardVersion String Yes Version of the Mainboard Not Available
ChassisAssetTag String Yes ? No Asset Information
ChassisType String Yes - 10
ChassisVendor String Yes - LENOVO
ChassisVersion String Yes - Not Available
Hostname String Yes - xyz
LinuxCgroup String Yes - /
OsName String Yes Name of the OS Linux
OsRelease String Yes Kernel Version 4.15.14-1-ARCH
OsVersion String Yes - #1 SMP PREEMPT Wed Mar 28 17:34:29 UTC 2018
ProductName String Yes - 42919M9
ProductVersion String Yes - ThinkPad X220
SysVendor String Yes - LENOVO
Dependencys Description
Hwloc hwloc 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:

Value Type Static
pcidevices Array of PCI devices Yes

pcidevices

Value Type Static Description Example
busid String Yes ID of the PCI-Bus 00:02.0
class_id String Yes ID of the PCI-Class
device_id String Yes ID of the Device
domain String Yes
linkspeed String Yes
name String Yes
revision String Yes
subdevice_id String Yes ID of the Subdevice
subvendor_id String Yes ID of the Subvendor
vendor_id String Yes ID of the Vendor
Dependencys Description
Hwloc hwloc 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

Value Type Static
partitions std::vector of Partition Yes
mountpoints std::vector of Mountpoint Yes

Partition

Value Type Static Description Example
name String Yes Path to Partition /dev/sda2 or /dev/mapper/vg0-home
device_number String Yes Number of the Device 8:1
uuid String Yes - -
partition_uuid String Yes - -
size unsigned long long Yes Size of the Partition in bit? 487678287

device number is same as disk_extractor device number

Mountpoint

Value Type Static Description Example
device String Yes Path to Partition /dev/sda2
mountpoint String Yes Mountpoint if mounted /mnt/somewhere/
filesystem String Yes Filesystem Type ext4
options String ? Filesystem-independent and Filesystem-specific mount options rw,relatime,block_validity,barrier,user_xattr,acl
size uint64_t Yes Size of the mounted device in ? 253869056
available uint64_t ? Space left on device in ?
blksize uint64_t Yes ?

Kernel

Value Type Static
kernel_config (kernelinfo) std::vector of Kernel_Config Yes
modules (moduleinfo) std::vector of Modules ?
system_info (machineinfo) utsname Yes

Kernel_Config

Value Type Static Description Example
name String Yes Name of the Config Parameter CONFIG_XEN_PCIDEV_BACKEND
value boost::variant<std::string, int, bool, char> Yes Parameter status y, n or m

Modules

Value Type Static Description Example
name String Yes Name of the Module fscrypto
size int ? Size of the Module 32768
loaded bool ? Allways True 1

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

Value Type Static Description Example
sysname char[] Yes Operating system name -
nodename char[] Yes Name within "some implementation-defined network" -
release char[] Yes Operating system release -
version char[] Yes Operating system version -
machine char[] Yes Hardware identifier -

Infiniband

Value Type Static
hosts std::map with key=guid of host, value=Host ?
switches std::map with key=guid of switch, value=Switch ?
connections std::vector of Connection ?

Host

Value Type Static
num_ports uint64_t ?
guid String ?
description String ?

Switch

Value Type Static
num_ports uint64_t ?
guid String ?
description String ?
port_type String ?

Connection

Value Type Static
type Peer_Type (enum{switch,host}) ?
local_port uint64_t ?
peer_guid String ?
from_guid String ?
peer_port uint64_t ?
peer_port_guid String ?
peer_description String ?
peer_lid uint64_t ?
local_lid uint64_t ?
local_lmc uint64_t ?
speed String ?
Clone this wiki locally