Update shown items to be machine independent

This commit is contained in:
caskd 2019-11-20 21:33:12 +01:00 committed by Alex Denes
parent 3ae35598fe
commit b80bd383b9
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
2 changed files with 6 additions and 8 deletions

View File

@ -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

Binary file not shown.