Get the memory and CPU usage from server (system)
-
Hello,
I have implemented fortune server client and server example and modified it such that message can be sent from client to server and some random data from server to client.
My server wil be running on laptop and client on tablet.I am able to communicate between tab and laptop..... Linux is the OS I am using for my laptop.
I want to get the memory and CPU usage from server (laptop) to client when the client polls the server....
How do I go about it ?? can anyone please help me .
Thanks in advance,
Mansi -
a possibility would be to install a linux tool and call it with QProcess.
Then read the stdout of this QProcess and parse it for your desired value.