It would seem that answering this question ought to be easy; it is -- but every system has the answer in a different place. Most put an answer of some sort into kernel messages reported by dmesg (AIX, ...