I know of no easy way, but it may be possible with the syscon mod chip by BwE. I think the PS3 version of this takes the information from the syscon. The PS4 uart may also provide this information. I know of no software way. You could check orbis toolbox, but it has a tendency to crash the console.