SaltwaterC
8895f09880
Add Darwin swap meter.
10 years ago
Hisham Muhammad
5e0f1788e6
Fix CRT_fatalError warning.
11 years ago
Hisham Muhammad
a7fcbba75a
Add missing header, silence warning. Should fix #292 .
11 years ago
Michael McConville
cd3d2337f8
Replace all err.h function uses with CRT_fatalError(). Failing with
...
err.h functions corrupts the terminal when using curses.
11 years ago
Hisham Muhammad
bd93b2e1d7
Initialize variables, silence warnings.
11 years ago
Hisham Muhammad
71190654bc
Calculate CPU averages on Darwin (See #295 ).
11 years ago
Hisham Muhammad
78f2933e2b
Regenerate platform-dependent headers.
...
Closes #293 .
11 years ago
Hisham Muhammad
cc0fc3655d
Add Darwin signals (same as FreeBSD)
...
https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man3/signal.3.html
11 years ago
Michael McConville
571cbc0aa1
Change more fprintf(stderr, ...); exit(...); to err[x](...). Tweak a few existing ones and fix some style.
11 years ago
Michael McConville
445222e48c
Clean up some needless malloc casts, convert some mallocs to callocs, and fix some style
11 years ago
kaefer
40525d85bc
removing unnecessary include, which on top breaks compiling
11 years ago
Jardel Weyrich
e52c070ef5
Remove conflicting declarations.
11 years ago
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 )
11 years ago
Hisham Muhammad
9428010121
Make column width calculation dynamic.
...
Closes #228 .
11 years ago
Hisham Muhammad
f70649a178
Standardize indentation.
11 years ago
David Hunt
907f8298a0
CPU per process implemented
11 years ago
David Hunt
57ab332d5a
Fix the thread counts
11 years ago
David Hunt
6463ea2956
Fixed CPU updating
11 years ago
David Hunt
7f3faa276a
Static CPU meter
11 years ago
David Hunt
43ef703f03
Start supporting actual data
11 years ago
David Hunt
70e7c8db59
Added darwin with working battery meter
11 years ago