Lines Matching full:thresh
521 char *id, *thresh; in ipmi_sensor_set_threshold() local
538 thresh = argv[1]; in ipmi_sensor_set_threshold()
540 if (strncmp(thresh, "upper", 5) == 0) { in ipmi_sensor_set_threshold()
543 "usage: sensor thresh <id> upper <unc> <ucr> <unr>"); in ipmi_sensor_set_threshold()
562 } else if (strncmp(thresh, "lower", 5) == 0) { in ipmi_sensor_set_threshold()
565 "usage: sensor thresh <id> lower <lnr> <lcr> <lnc>"); in ipmi_sensor_set_threshold()
585 if (strncmp(thresh, "unr", 3) == 0) in ipmi_sensor_set_threshold()
587 else if (strncmp(thresh, "ucr", 3) == 0) in ipmi_sensor_set_threshold()
589 else if (strncmp(thresh, "unc", 3) == 0) in ipmi_sensor_set_threshold()
591 else if (strncmp(thresh, "lnc", 3) == 0) in ipmi_sensor_set_threshold()
593 else if (strncmp(thresh, "lcr", 3) == 0) in ipmi_sensor_set_threshold()
595 else if (strncmp(thresh, "lnr", 3) == 0) in ipmi_sensor_set_threshold()
600 thresh, id); in ipmi_sensor_set_threshold()
606 thresh, argv[2]); in ipmi_sensor_set_threshold()
923 lprintf(LOG_NOTICE, "Sensor Commands: list thresh get reading"); in ipmi_sensor_main()
926 } else if (strncmp(argv[0], "thresh", 5) == 0) { in ipmi_sensor_main()
951 /* print_sensor_thresh_set_usage - print usage for # ipmitool sensor thresh;
959 "sensor thresh <id> <threshold> <setting>"); in print_sensor_thresh_usage()
981 "sensor thresh <id> lower <lnr> <lcr> <lnc>"); in print_sensor_thresh_usage()
987 "sensor thresh <id> upper <unc> <ucr> <unr>"); in print_sensor_thresh_usage()