![]() |
MySQL 26.10.0
Source Code Documentation
|
#include "components/library_mysys/my_system_api/system_info_platform.h"#include <sys/resource.h>#include <sys/stat.h>#include <sys/statvfs.h>#include <sys/sysmacros.h>#include <unistd.h>#include <algorithm>#include <cerrno>#include <charconv>#include <cstdint>#include <filesystem>#include <fstream>#include <string>#include <system_error>#include <utility>#include <vector>#include "components/library_mysys/my_system_api/system_info_linux_procfs.h"#include "components/library_mysys/my_system_api/system_info_utils.h"Namespaces | |
| namespace | mysql |
| namespace | mysql::system_info |
| namespace | mysql::system_info::internal |
| namespace | mysql::system_info::internal::anonymous_namespace{system_info_linux.cc} |
Functions | |
| bool | mysql::system_info::internal::anonymous_namespace{system_info_linux.cc}::parse_tid (std::string_view text, uint64_t &tid) |
| Linux sources used by the platform queries in this file. More... | |
| std::error_code | mysql::system_info::internal::anonymous_namespace{system_info_linux.cc}::io_error () |
Return errno, or a general I/O error when no value was recorded. More... | |
| Storage_snapshot | mysql::system_info::internal::query_storage_devices_platform () |
| Collect Linux storage device metadata from procfs and sysfs. More... | |
| Host_memory_snapshot | mysql::system_info::internal::query_host_memory_platform () |
| Collect Linux host memory from procfs. More... | |
| Host_cpu_snapshot | mysql::system_info::internal::query_host_cpu_platform () |
| Collect cumulative Linux CPU times from /proc/stat. More... | |
| Process_memory_snapshot | mysql::system_info::internal::query_process_memory_platform () |
| Collect Linux process memory metadata. More... | |
| Process_threads_snapshot | mysql::system_info::internal::query_process_threads_platform () |
| Collect Linux thread metadata for the current process. More... | |
Variables | |
| Filesystem_snapshot | mysql::system_info::internal::query_filesystem_platform (std::string_view path) |
| Collect Linux filesystem identity and space metadata for one path. More... | |