Commit Graph

12 Commits

Author SHA1 Message Date
Michael McConville
571cbc0aa1 Change more fprintf(stderr, ...); exit(...); to err[x](...). Tweak a few existing ones and fix some style. 2015-09-19 12:15:26 -04:00
Michael McConville
445222e48c Clean up some needless malloc casts, convert some mallocs to callocs, and fix some style 2015-09-16 23:42:36 -04:00
Jardel Weyrich
e52c070ef5 Remove conflicting declarations. 2015-09-10 10:46:44 -03:00
Christian Hesse
e8970b6f32 fix calloc() calls
* size_t nmemb (number of elements) first, then size_t size
* do not assume char is size 1 but use sizeof()
* allocate for char, not pointer to char (found by Michael McConville,
  fixes #261)
2015-09-07 07:52:39 +02:00
Hisham Muhammad
9428010121 Make column width calculation dynamic.
Closes #228.
2015-08-20 00:32:47 -03:00
Hisham Muhammad
f70649a178 Standardize indentation. 2015-08-19 13:56:46 -03:00
David Hunt
907f8298a0 CPU per process implemented 2015-08-19 13:52:57 -03:00
David Hunt
57ab332d5a Fix the thread counts 2015-08-19 13:52:38 -03:00
David Hunt
6463ea2956 Fixed CPU updating 2015-08-19 13:52:18 -03:00
David Hunt
7f3faa276a Static CPU meter 2015-08-19 13:52:04 -03:00
David Hunt
43ef703f03 Start supporting actual data 2015-08-19 13:51:49 -03:00
David Hunt
70e7c8db59 Added darwin with working battery meter 2015-08-19 13:47:26 -03:00