V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
pfipdaniel
V2EX  ›  问与答

怎样通过脚本程序获取vmware exi服务器底层硬件信息,可把我难坏了*_*

  •  
  •   pfipdaniel · Nov 26, 2013 · 4075 views
    This topic created in 4538 days ago, the information mentioned may be changed or developed.
    如题,现在项目需要收集vmware虚拟化平台底层硬件的信息,比如cpu配置、内存、硬盘序列号等等,vmware有提供这样的编程接口么
    4 replies    1970-01-01 08:00:00 +08:00
    aveline
        1
    aveline  
       Nov 26, 2013   ❤️ 1
    tywtyw2002
        2
    tywtyw2002  
       Nov 26, 2013   ❤️ 1
    一楼正解,我记得还有个 shell命令来着。
    pfipdaniel
        3
    pfipdaniel  
    OP
       Nov 26, 2013
    aveline 非常感谢,还有tywtyw2002,神马shell命令呢?能用shell解决问题那是再好不过啦
    pfipdaniel
        4
    pfipdaniel  
    OP
       Nov 26, 2013
    已经找到了,在esxi3~4上使用dmidecode,在5上使用smbiosDump
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   797 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 20:29 · PVG 04:29 · LAX 13:29 · JFK 16:29
    ♥ Do have faith in what you're doing.