user654123 user654123 - 6 months ago 65
MySQL Question

MySQL query for system specs such as installed RAM or CPUs

I'd like to retrieve information about the system a MySQL server is running on. I am interested in getting the number of logical cores. Is that possible?

I ran

but there is no such info there. I am having access to the server using
- is there a way to retrieve metadata from the connection or a statement that might hold this kind of data?

Edit: I should probably add the information that the two systems MySQL-Server and Client (which uses PHP from another host) are two physically separated systems, so I only have access via MySQL-queries.


So, I was doing a little more research on the topic and as of today (Nov '16), it can't be done the way I had required it.