| CPC G06T 1/20 (2013.01) [G06F 9/5044 (2013.01)] | 16 Claims |

|
1. A method for information acquisition, comprising:
determining hardware devices located on a to-be-processed node in response to determining that a trigger condition is met;
selecting an x processing unit (XPU) from the hardware devices; and
acquiring predetermined information of the XPU by using a system management interface (SMI) management tool corresponding to the XPU, the predetermined information comprising model information of the XPU,
wherein the determining hardware devices located on a to-be-processed node comprises:
acquiring the hardware devices located on the to-be-processed node by calling a list peripheral component interconnect device information (lspci-vv) command,
wherein the method further comprising:
acquiring vendor identifications of the hardware devices respectively by calling the lspci-vv command; and
acquiring the SMI management tool corresponding to the XPU according to a vendor identification of the XPU.
|