2700 Type "help", "copyright", "credits" or "license" for more information. >>> import thermalutil as T allt = T.ThermalUtil() >>> allt = T.ThermalUtil() >>> >>> def test_display_all(): ... for tt in allt.thermal_list: ... print "{} {} {} {}".format(tt.get_name(), tt.get_temperature(), tt.get_high_threshold(), tt.get_high_critical_threshold()) ... >>> test_display_all() CPU Core 0 Temp 30.0 87.0 105.0 CPU Core 1 Temp 27.0 87.0 105.0 CPU Pack Temp 30.0 87.0 105.0 xSFP module 1 Temp None None None xSFP module 2 Temp None None None xSFP module 3 Temp None None None xSFP module 4 Temp None None None xSFP module 5 Temp None None None xSFP module 6 Temp None None None xSFP module 7 Temp None None None xSFP module 8 Temp None None None xSFP module 9 Temp None None None xSFP module 10 Temp None None None xSFP module 11 Temp None None None xSFP module 12 Temp None None None xSFP module 13 Temp None None None xSFP module 14 Temp None None None xSFP module 15 Temp None None None xSFP module 16 Temp None None None xSFP module 17 Temp None None None xSFP module 18 Temp None None None xSFP module 19 Temp None None None xSFP module 20 Temp None None None xSFP module 21 Temp None None None xSFP module 22 Temp None None None xSFP module 23 Temp None None None xSFP module 24 Temp None None None xSFP module 25 Temp None None None xSFP module 26 Temp None None None xSFP module 27 Temp None None None xSFP module 28 Temp None None None xSFP module 29 Temp None None None xSFP module 30 Temp None None None xSFP module 31 Temp 27.0 70.0 80.0 xSFP module 32 Temp 27.0 70.0 80.0 PSU-1 Temp 21.5 100.0 None PSU-2 Temp 24.5 100.0 None Ambient ASIC Temp 44.0 None None Ambient Port Side Temp 27.0 None None Ambient Fan Side Temp 23.5 None None >>> 3700c admin@mtbc-3700c-01:~$ python Python 2.7.13 (default, Sep 26 2018, 18:42:22) [GCC 6.3.0 20170516] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import thermalutil as T >>> allt = T.ThermalUtil() >>> def test_display_all(): ... for tt in allt.thermal_list: ... print "{} {} {} {}".format(tt.get_name(), tt.get_temperature(), tt.get_high_threshold(), tt.get_high_critical_threshold()) ... >>> test_display_all() CPU Core 0 Temp 47.0 82.0 104.0 CPU Core 1 Temp 47.0 82.0 104.0 CPU Pack Temp 47.0 82.0 104.0 xSFP module 1 Temp 38.0 70.0 75.0 xSFP module 2 Temp None None None xSFP module 3 Temp 41.0 70.0 75.0 xSFP module 4 Temp None None None xSFP module 5 Temp 39.0 70.0 80.0 xSFP module 6 Temp 38.0 70.0 80.0 xSFP module 7 Temp 39.0 70.0 80.0 xSFP module 8 Temp 40.0 70.0 80.0 xSFP module 9 Temp 39.0 70.0 80.0 xSFP module 10 Temp 39.0 70.0 80.0 xSFP module 11 Temp 41.0 70.0 80.0 xSFP module 12 Temp 39.0 70.0 80.0 xSFP module 13 Temp 40.0 70.0 80.0 xSFP module 14 Temp 40.0 70.0 80.0 xSFP module 15 Temp 41.0 70.0 80.0 xSFP module 16 Temp 40.0 70.0 80.0 xSFP module 17 Temp 41.0 70.0 80.0 xSFP module 18 Temp 40.0 70.0 80.0 xSFP module 19 Temp 40.0 70.0 80.0 xSFP module 20 Temp 40.0 70.0 80.0 xSFP module 21 Temp 40.0 70.0 80.0 xSFP module 22 Temp 38.0 70.0 80.0 xSFP module 23 Temp 39.0 70.0 80.0 xSFP module 24 Temp 37.0 70.0 80.0 xSFP module 25 Temp 40.0 70.0 80.0 xSFP module 26 Temp 38.0 70.0 80.0 xSFP module 27 Temp 38.0 70.0 80.0 xSFP module 28 Temp 37.0 70.0 80.0 xSFP module 29 Temp None None None xSFP module 30 Temp 37.0 70.0 80.0 xSFP module 31 Temp 31.0 70.0 80.0 xSFP module 32 Temp 32.0 70.0 80.0 PSU-1 Temp None None None PSU-2 Temp 24.75 60.0 None Ambient ASIC Temp 49.0 None None Ambient COMEX Temp 37.062 None None Ambient Port Side Temp 27.5 None None Ambient Fan Side Temp 23.562 None None >>> 3800 admin@r-tigris-13:~$ python Python 2.7.13 (default, Sep 26 2018, 18:42:22) [GCC 6.3.0 20170516] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> >>> >>> import thermalutil as T >>> allt = T.ThermalUtil() >>> def test_display_all(): ... for tt in allt.thermal_list: ... print "{} {} {} {}".format(tt.get_name(), tt.get_temperature(), tt.get_high_threshold(), tt.get_high_critical_threshold()) ... >>> test_display_all() CPU Core 0 Temp 41.0 82.0 104.0 CPU Core 1 Temp 41.0 82.0 104.0 CPU Core 2 Temp 41.0 82.0 104.0 CPU Core 3 Temp 41.0 82.0 104.0 CPU Pack Temp 41.0 82.0 104.0 xSFP module 1 Temp None None None xSFP module 2 Temp None None None xSFP module 3 Temp None None None xSFP module 4 Temp None None None xSFP module 5 Temp None None None xSFP module 6 Temp None None None xSFP module 7 Temp None None None xSFP module 8 Temp None None None xSFP module 9 Temp None None None xSFP module 10 Temp None None None xSFP module 11 Temp None None None xSFP module 12 Temp None None None xSFP module 13 Temp None None None xSFP module 14 Temp None None None xSFP module 15 Temp None None None xSFP module 16 Temp None None None xSFP module 17 Temp None None None xSFP module 18 Temp None None None xSFP module 19 Temp None None None xSFP module 20 Temp None None None xSFP module 21 Temp None None None xSFP module 22 Temp None None None xSFP module 23 Temp None None None xSFP module 24 Temp None None None xSFP module 25 Temp None None None xSFP module 26 Temp None None None xSFP module 27 Temp None None None xSFP module 28 Temp None None None xSFP module 29 Temp None None None xSFP module 30 Temp None None None xSFP module 31 Temp None None None xSFP module 32 Temp None None None xSFP module 33 Temp None None None xSFP module 34 Temp None None None xSFP module 35 Temp None None None xSFP module 36 Temp None None None xSFP module 37 Temp None None None xSFP module 38 Temp None None None xSFP module 39 Temp None None None xSFP module 40 Temp None None None xSFP module 41 Temp None None None xSFP module 42 Temp None None None xSFP module 43 Temp None None None xSFP module 44 Temp None None None xSFP module 45 Temp None None None xSFP module 46 Temp None None None xSFP module 47 Temp None None None xSFP module 48 Temp None None None xSFP module 49 Temp None None None xSFP module 50 Temp None None None xSFP module 51 Temp None None None xSFP module 52 Temp None None None xSFP module 53 Temp None None None xSFP module 54 Temp None None None xSFP module 55 Temp None None None xSFP module 56 Temp None None None xSFP module 57 Temp None None None xSFP module 58 Temp None None None xSFP module 59 Temp None None None xSFP module 60 Temp None None None xSFP module 61 Temp None None None xSFP module 62 Temp None None None xSFP module 63 Temp 42.0 70.0 80.0 xSFP module 64 Temp 42.0 70.0 80.0 PSU-1 Temp 28.75 60.0 None PSU-2 Temp 30.5 60.0 None Ambient ASIC Temp 58.0 None None Ambient COMEX Temp 32.625 None None Ambient Port Side Temp 37.625 None None Ambient Fan Side Temp 28.625 None None Gearbox 1 Temp 43.0 None None Gearbox 2 Temp 37.0 None None Gearbox 3 Temp 43.0 None None Gearbox 4 Temp 41.0 None None Gearbox 5 Temp 50.0 None None Gearbox 6 Temp 48.0 None None Gearbox 7 Temp 50.0 None None Gearbox 8 Temp 46.0 None None Gearbox 9 Temp 53.0 None None Gearbox 10 Temp 48.0 None None Gearbox 11 Temp 52.0 None None Gearbox 12 Temp 52.0 None None Gearbox 13 Temp 57.0 None None Gearbox 14 Temp 50.0 None None Gearbox 15 Temp 51.0 None None Gearbox 16 Temp 55.0 None None Gearbox 17 Temp 57.0 None None Gearbox 18 Temp 56.0 None None Gearbox 19 Temp 51.0 None None Gearbox 20 Temp 55.0 None None Gearbox 21 Temp 58.0 None None Gearbox 22 Temp 54.0 None None Gearbox 23 Temp 55.0 None None Gearbox 24 Temp 56.0 None None Gearbox 25 Temp 55.0 None None Gearbox 26 Temp 57.0 None None Gearbox 27 Temp 59.0 None None Gearbox 28 Temp 55.0 None None Gearbox 29 Temp 55.0 None None Gearbox 30 Temp 56.0 None None Gearbox 31 Temp 56.0 None None Gearbox 32 Temp 62.0 None None