mirror of https://github.com/lindes/ttyload.git
better looking version string presentation.
This commit is contained in:
parent
65d314fad9
commit
e94c2076cb
|
@ -6,7 +6,7 @@
|
||||||
* Copyright 1996 by David Lindes
|
* Copyright 1996 by David Lindes
|
||||||
* all right reserved.
|
* all right reserved.
|
||||||
*
|
*
|
||||||
* Version information: $Id: ttyload.c,v 1.7 2001-02-24 09:06:13 lindes Exp $
|
* Version information: $Id: ttyload.c,v 1.8 2001-02-24 10:00:51 lindes Exp $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@
|
||||||
#define MINROWS (HEIGHTPAD + 6)
|
#define MINROWS (HEIGHTPAD + 6)
|
||||||
#define MINCOLS (WIDTHPAD + 6)
|
#define MINCOLS (WIDTHPAD + 6)
|
||||||
|
|
||||||
char *c="$Id: ttyload.c,v 1.7 2001-02-24 09:06:13 lindes Exp $";
|
char *c="$Id: ttyload.c,v 1.8 2001-02-24 10:00:51 lindes Exp $";
|
||||||
|
|
||||||
char *kmemfile = "/dev/kmem",
|
char *kmemfile = "/dev/kmem",
|
||||||
strbuf[BUFSIZ],
|
strbuf[BUFSIZ],
|
||||||
|
@ -243,7 +243,7 @@ int main(argc, argv, envp)
|
||||||
|
|
||||||
clear_screen();
|
clear_screen();
|
||||||
|
|
||||||
printf("%s %.2f, %.2f, %.2f %s ttyload %s\n\n",
|
printf("%s %.2f, %.2f, %.2f %s ttyload, v%s\n\n",
|
||||||
hostname,
|
hostname,
|
||||||
(loadavgs[i].one_minute / 1024.),
|
(loadavgs[i].one_minute / 1024.),
|
||||||
(loadavgs[i].five_minute / 1024.),
|
(loadavgs[i].five_minute / 1024.),
|
||||||
|
|
Loading…
Reference in New Issue