Implementation
final List<Map> schemes = [
{
"@type": "memoryData",
"mem_total": 0,
"mem_free": 0,
"mem_available": 0,
"buffers": 0,
"cached": 0,
"swap_cached": 0,
"active": 0,
"inactive": 0,
"active_anon": 0,
"inactive_anon": 0,
"active_file": 0,
"inactive_file": 0,
"unevictable": 0,
"mlocked": 0,
"swap_total": 0,
"swap_free": 0,
"zswap": 0,
"zswapped": 0,
"dirty": 0,
"writeback": 0,
"anon_pages": 0,
"mapped": 0,
"shmem": 0,
"k_reclaimable": 0,
"slab": 0,
"s_reclaimable": 0,
"s_unreclaim": 0,
"kernel_stack": 0,
"page_tables": 0,
"sec_page_tables": 0,
"n_f_s_unstable": 0,
"bounce": 0,
"writeback_tmp": 0,
"commit_limit": 0,
"committed_a_s": 0,
"vmalloc_total": 0,
"vmalloc_used": 0,
"vmalloc_chunk": 0,
"percpu": 0,
"hardware_corrupted": 0,
"anon_huge_pages": 0,
"shmem_huge_pages": 0,
"shmem_pmd_mapped": 0,
"file_huge_pages": 0,
"file_pmd_mapped": 0,
"unaccepted": 0,
"huge_pages_total": 0,
"huge_pages_free": 0,
"huge_pages_rsvd": 0,
"huge_pages_surp": 0,
"hugepagesize": 0,
"hugetlb": 0,
"direct_map4k": 0,
"direct_map2_m": 0,
"direct_map1_g": 0,
},
{
"@type": "operatingSystemData",
"name": "Ubuntu 23.10",
"arch": "",
"version": "",
"full_name": "",
},
{
"@type": "cpuData",
"name": "",
},
{
"@type": "systemInformationData",
"title": "",
"os": "Ubuntu 23.10",
"platform_type": "Linux",
"arch": "x86_64",
"host": "Modern 14 B5M REV:1.0 ",
"kernel": "Linux 6.5.0-14-generic x86_64",
"uptime": "6 Hours ",
"shell": "zsh 5.9",
"resolution": null,
"de": null,
"wm": "",
"wm_theme": "",
"theme": "",
"icons": "",
"terminal": "",
"cpu": "AMD Ryzen 5 5500U with Radeon Graphics (12)",
"gpu": "Advanced Micro Devices, Inc. [AMD/ATI] Lucienne",
"network": "MEDIATEK Corp. MT7921K (RZ608) Wi-Fi 6E 80MHz",
"disk": "Kingston Technology Company, Inc. OM8PCP Design-In PCIe 3 NVMe SSD (DRAM-less)",
"power": "86% Charging",
"ram_total": "15 GB",
"ram_available": "8 GB",
"ram_usage": "7 GB",
"ram_cached": "6 GB",
"swap_total": "7 GB",
"swap_available": "7 GB",
"swap_cache": "28 KB",
"ram_commited": "16 GB",
"ram_swap_total": "22 GB",
"version": "",
"device_name": "Realme 5",
"total_bandwith_download": "136.97 MB",
"total_bandwith_upload": "143.55 MB",
"total_bandwith": "280.52 MB",
"ram_usage_by_this_program": "271 MB",
"executable_type": "cli",
"uptime_program": "604 millisecond(s) ago",
},
{
"@type": "powerData",
"level": 0,
"is_charging": false,
}
];