|
|
@ -16,7 +16,12 @@ int dead = 0; |
|
|
|
|
|
|
|
|
|
|
|
void usage (void) |
|
|
|
void usage (void) |
|
|
|
{ |
|
|
|
{ |
|
|
|
printf("usage: bmon [-wuh] [-f file] [-t interval]\n"); |
|
|
|
printf("usage: bmon [-wuh] [-f file] [-t interval]\n" |
|
|
|
|
|
|
|
"-w\tDisplay power draw from battery\n" |
|
|
|
|
|
|
|
"-u\tPrint seconds as epoch\n" |
|
|
|
|
|
|
|
"-h\tPrint this message\n" |
|
|
|
|
|
|
|
"-f\tWrite output to file\n" |
|
|
|
|
|
|
|
"-t\tSet the update interval in seconds\n"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void int_handler (int signum) |
|
|
|
void int_handler (int signum) |
|
|
|