Show platform & environments
$ show platform ?
admin@sonic:~$ show platform ? Usage: show platform [OPTIONS] COMMAND [ARGS]... Show platform-specific hardware info Options: -h, -?, --help Show this message and exit. Commands: fan Show fan status information firmware Show firmware information pcieinfo Show Device PCIe Info psustatus Show PSU status information ssdhealth Show SSD Health information summary Show hardware platform information syseeprom Show system EEPROM information temperature Show device temperature information admin@sonic:~$
$ show platform firmware —
admin@sonic:~$ show platform firmware Traceback (most recent call last): File "/usr/local/lib/python3.7/dist-packages/fwutil/__init__.py", line 2, in <module> from sonic_platform.platform import Platform ModuleNotFoundError: No module named 'sonic_platform' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/bin/fwutil", line 5, in <module> from fwutil.main import cli File "/usr/local/lib/python3.7/dist-packages/fwutil/__init__.py", line 5, in <module> raise ImportError("Required module not found: {}".format(str(e))) ImportError: Required module not found: No module named 'sonic_platform' admin@sonic:~$
$ show environment —
admin@sonic:~$ show environment Error response from daemon: Container 75078ce1ed609c70e6992927281373135268d09dead3ce932b3dfad464f4ceb0 is not running admin@sonic:~$