On one of my chaotic days, I was told to note down Serial Number on 50+ IBM servers.I was very lazy to go down and see the serial number. When I used my brain instead of my legs, "dmidecode" came cross over my mind.
Yes! I can get the serial number by running the following commands
#dmidecode -s system-serial-number
or
#dmidecode -t system
Finally, I can shake my legs and drink coffee while running scripts on all servers... :D
"Be Lazy In Outstanding Ways!"
No comments:
Post a Comment