KYSDKDBUS(8) System Administration Utilities KYSDKDBUS(8)

kysdkdbus - KYLIN SDK System Information D-Bus Service

kysdkdbus

kysdkdbus is a comprehensive D-Bus service in the KYLIN SDK system that provides access to various system hardware and software information. This service exposes multiple interfaces through D-Bus to allow other applications to query system information including disk, CPU, network, BIOS, motherboard, USB devices, memory, processes, printers, and more.

The service implements multiple D-Bus interfaces under the `com.kylin.kysdk` namespace, providing a centralized way to access system information through inter-process communication.

The service implements the following D-Bus interfaces:

Provides disk information including: - Disk list - Sector size - Total size - Model and serial number - Partition information - Disk type (HDD/SSD) - Firmware version - Volume labels - Partition table type - Disk geometry
Provides CPU information including: - Architecture - Vendor - Model - Frequency - Core count - Virtualization support - Thread count
Provides network card information including: - Network card list - Link status - MAC address - IP addresses (IPv4/IPv6) - Card type (wired/wireless) - Vendor and product information
Provides BIOS information including: - Vendor - Version
Provides motherboard information including: - Model name - Manufacturing date - Serial number - Vendor
Provides USB peripheral information including: - Connected USB devices - Product and manufacturer names - Device details (PID, VID, serial number)
Provides display adapter information including: - Vendor - Product model - Description - Physical ID - Bus information - Version - Data width - Clock frequency - Capabilities - Configuration - Resources
Provides package management information including: - Installed package list - Package versions - Installation status
Provides system resource information including: - Memory statistics (total, usage, available, free) - Swap space information - CPU usage - System uptime
Provides process information including: - CPU and memory usage for specific processes - Process status - Port usage - Start and running time - Command and user information - Process lists
Provides system information including: - System architecture - OS name and version - Activation status - Serial number - Kernel version - User information - Project names - Product features - Virtualization type - Cloud platform type - System form (immutable/non-immutable) - GRUB menu information
Provides network information including: - Port status - Multiple port statistics - Gateway information - Firewall state - Process-port associations
Provides real-time system information including: - Network speed - Disk rotation rate - CPU and disk temperature - CPU performance counters - CPU queue length
Provides location information in JSON format.
Provides printer information and management including: - Printer lists (all/available) - Print job management - Printer status - Remote file printing
Provides account management functions including: - Password changing

The service is implemented as multiple C++ classes that inherit from QObject and include D-Bus interface definitions. Each class corresponds to a specific system component and exposes its methods through D-Bus.

The service uses dynamic library loading (dlopen/dlsym) to access underlying system information libraries, providing a flexible and modular architecture.

/usr/bin/kysdkdbus
Executable file path

System information library
Disk information library
Network card information library
BIOS information library
Motherboard information library
USB device information library
CPU information library
Display information library
Network information library
Real-time information library
Process information library
Printer information library
Location information library
Package information library
Account management library
For D-Bus communication implementation

The service typically runs as a background daemon and responds to D-Bus method calls. It does not usually require direct interaction from users or administrators.

KylinSoft Co., Ltd.

Copyright (C) 2023-2025, KylinSoft Co., Ltd.

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

dbus-daemon(1), systemctl(1), lshw(1), lsblk(1), lspci(1), lsusb(1)

2025 Version 1.0