Lines Matching full:tmon
3 * tmon.c Thermal Monitor (TMON) main function and entry point
28 #include "tmon.h"
51 printf("Usage: tmon [OPTION...]\n"); in usage()
56 printf(" -l, --log log data to /var/tmp/tmon.log\n"); in usage()
67 printf("TMON version %s\n", VERSION); in version()
73 syslog(LOG_INFO, "TMON exit cleanup\n"); in tmon_cleanup()
100 syslog(LOG_INFO, "TMON caught signal %d\n", sig); in tmon_sig_handler()
127 openlog("tmon.log", LOG_CONS | LOG_PID | LOG_NDELAY, LOG_LOCAL0); in start_syslog()
128 syslog(LOG_NOTICE, "TMON started by User %d", getuid()); in start_syslog()
225 printf("TMON needs to be run as root\n"); in main()
237 printf("Run TMON in daemon mode\n"); in main()
253 printf("Logging data to /var/tmp/tmon.log\n"); in main()