Posted
Filed under Computer/package
$ ./sdr_temp_mon 
./sdr_temp_mon <bmc ip> [-b <bmc user> <bmc pass>] [-i <#|#m|#h>] [-l <log filename>] [-t <CPU,DIMM,...>] [-f <time format>]
-i : interval (default : 5seconds)
   <#>  : # seconds
   <#m> : # min
   <#h> : # hours
-b : BMC User & Password (default: ADMIN ADMIN)
-l : Logging the data to file, split data with "," symbol
-t : Temp monitoring items (default: CPU,DIMM) (ex: CPU,DIMM,System,...)
-f : Time Format (default: %H:%M:%S)


Monitor with System temperature and time display with date and seconds
$ ./sdr_temp_mon <BMC IP> -t CPU,DIMM,System -f "%m-%d %H:%M:%S"
                     time       CPU    System    DIMMA1    DIMMB1    DIMMD1    DIMME1
      12-26 14:49:41        51            34              32                              
      12-26 14:49:47        51            34              32                              
      12-26 14:49:52        50            34              32            

Base monitor with display HH:MM each 2min.
$ ./sdr_temp_mon <BMC IP> -i 2m -f "%H:%M"
                 time       CPU    DIMMA1    DIMMB1    DIMMD1    DIMME1
               14:50          51              32                              
               14:52          51              32        
If you want DIMM only at each 5seconds.
$ ./sdr_temp_mon <BMC IP> -t DIMM
                    time    DIMMA1    DIMMB1    DIMMD1    DIMME1
            14:53:27               32                              
            14:53:32               32               


Check available monitoring items:
# ipmitool -H <BMC IP> -U <User> -P <Password> sdr type Temperature
CPU Temp         | 01h | ok  |  3.1 | 49 degrees C
PCH Temp         | 0Ah | ok  |  7.1 | 54 degrees C
System Temp      | 0Bh | ok  |  7.2 | 34 degrees C
Peripheral Temp  | 0Ch | ok  |  7.3 | 35 degrees C
MB_10G Temp      | 0Dh | ok  |  7.4 | 40 degrees C
VRMCpu Temp      | 10h | ok  |  7.16 | 59 degrees C
VRMAB Temp       | 12h | ok  |  7.18 | 38 degrees C
VRMDE Temp       | 13h | ok  |  7.19 | 42 degrees C
DIMMA1 Temp      | B0h | ok  | 32.0 | 31 degrees C
DIMMB1 Temp      | B2h | ns  | 32.2 | No Reading
DIMMD1 Temp      | B6h | ns  | 32.6 | No Reading
DIMME1 Temp      | B8h | ns  | 32.8 | No Reading
U2NVMeSSD1 Temp  | 4Bh | ns  |  7.48 | No Reading
U2NVMeSSD2 Temp  | 4Ch | ns  |  7.49 | No Reading


You can use "DIMMA1" or "DIMM" for memory monitoring
DIMM will monitor all Dimm,
DIMMA1 will monitor with DIMMA1 location only.

You can check with above ipmitool command and can use bold string for the monitoring's "-t" option


2019/12/27 08:05 2019/12/27 08:05
[로그인][오픈아이디란?]