Update shown items to be machine independent
This commit is contained in:
parent
3ae35598fe
commit
b80bd383b9
14
config.h
14
config.h
@ -4,7 +4,7 @@
|
||||
const unsigned int interval = 1000;
|
||||
|
||||
/* text to show if no value can be retrieved */
|
||||
static const char unknown_str[] = "n/a";
|
||||
static const char unknown_str[] = "";
|
||||
|
||||
/* maximum output string length */
|
||||
#define MAXLEN 2048
|
||||
@ -63,11 +63,9 @@ static const char unknown_str[] = "n/a";
|
||||
*/
|
||||
static const struct arg args[] = {
|
||||
/* function format argument */
|
||||
{ load_avg, " %s |", NULL },
|
||||
{ ram_used, " %sB /", NULL },
|
||||
{ ram_free, " %sB |", NULL },
|
||||
{ netspeed_rx, " %sB /", "eno1" },
|
||||
{ netspeed_tx, " %sB |", "eno1" },
|
||||
{ uptime, " %s |", NULL },
|
||||
{ datetime, " %s ", "%a %d/%m %T" },
|
||||
{ load_avg, " %s |", NULL },
|
||||
{ ram_used, " %sB /", NULL },
|
||||
{ ram_free, " %sB |", NULL },
|
||||
{ uptime, " %s |", NULL },
|
||||
{ datetime, " %s ", "%a %d/%m %T" },
|
||||
};
|
||||
|
BIN
slstatus-0.tar.gz
Normal file
BIN
slstatus-0.tar.gz
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user