Important: Please read the Qt Code of Conduct -

Qt/C++ System Diagnostic API

  • I am using Qt / C++ on Linux (Ubuntu/RedHat/CentOS) and was wondering if there are command line system calls are the only way to get the below diagnostics or are there API calls we can make in Qt or even std to get this diagnostic system information:

    • CPU Usage

    • Memory Usage

    • Disk Utilization

    • Network

  • There is no such thing as a "command line system call". syscalls are by definition system subroutine calls accessed through programming.

    google is your friend. look up /proc and sysfs.

Log in to reply