Hi team,
I am currently trying to work on an automation script and one of the steps is to obtain the RAM serial number, however, only part of the memory serial number is obtained. (Generally the last 8 digits or so).
We tried to use the following command: "dmidecode --type 17 | grep Serial" without the quotes.
As I mentioned, it only shows me a part of the serial number and currently it is necessary to capture the complete serial number.
If anyone knows a way to obtain the complete serial number of the RAMs, either using the native Linux commands or even using an external compiler, please let me know that it would be very helpful.
Greetings,
I am currently trying to work on an automation script and one of the steps is to obtain the RAM serial number, however, only part of the memory serial number is obtained. (Generally the last 8 digits or so).
We tried to use the following command: "dmidecode --type 17 | grep Serial" without the quotes.
As I mentioned, it only shows me a part of the serial number and currently it is necessary to capture the complete serial number.
If anyone knows a way to obtain the complete serial number of the RAMs, either using the native Linux commands or even using an external compiler, please let me know that it would be very helpful.
Greetings,