Commit Graph

65 Commits

Author SHA1 Message Date
Pawel "l0ner" Soltys
28040b61da easier to read argv parse using command line argument parser by Michael Hanke 2015-01-07 20:57:25 +01:00
Pawel "l0ner" Soltys
e7ee4279f6 increase sleep time to full sec instead of 1-0.1s 2015-01-07 14:58:47 +01:00
Pawel "l0ner" Soltys
72f1b03078 shorter DEFINES for versioning 2015-01-07 14:31:49 +01:00
Pawel "l0ner" Soltys
42c93ac397 prune BOOST detection, minor tweaks
For not Boost is not needed, uncomment relative lines when it will be.
2015-01-07 14:15:28 +01:00
Pawel "l0ner" Soltys
8e9033ee1e restore headers 2015-01-07 14:15:08 +01:00
Pawel "l0ner" Soltys
7a9209e243 grime removal: useless includes and code 2015-01-04 18:51:43 +01:00
Pawel "l0ner" Soltys
26e89f95fa wrap lines that exceed 80 columns 2015-01-04 17:33:03 +01:00
Pawel "l0ner" Soltys
223868f554 reindent one line 2015-01-04 17:23:39 +01:00
Pawel "l0ner" Soltys
080e1be24d use static_cast<> instead of c-like cast 2015-01-04 17:23:05 +01:00
Pawel "l0ner" Soltys
47b9f62a10 include fixes to make it compile on osx, added *~ files to gitignore 2015-01-04 17:21:20 +01:00
l0ner
2040736dd6 CPU usage graph generation by getGraphByPercentage function. 2014-04-19 22:36:59 +00:00
l0ner
444bf2fa1c fixed typo in graph.cc 2014-04-19 22:30:21 +00:00
l0ner
634201aa2c fixed typos in graph.{cc,h} and linux/cpu.h 2014-04-19 22:25:53 +00:00
l0ner
03040e64f2 rm cpu_percentage function proto from main source
This is useless here, since this proto is provided by
   {linux,osx}/cpu.h
2014-04-19 21:13:36 +00:00
l0ner
af8c544653 moved spark files to spark branch 2014-04-19 21:09:03 +00:00
l0ner
ea22ccd63f spark.cc fixes 2014-04-19 20:29:59 +02:00
l0ner
0857cdbfe4 Spark graph functions 2014-04-14 22:32:03 +02:00
l0ner
ccf33e2a26 Functions for generating vertical graphs 2014-04-14 21:46:32 +02:00
l0ner
b0ab6ea57a cpu.cc - fixed missing header and variable misname 2014-04-14 20:57:00 +02:00
l0ner
5e354b9221 memory.cc - fixed typos and missing headers 2014-04-14 20:55:00 +02:00
l0ner
643fef3a7c Corrections in CMakeLists.txt 2014-04-14 20:51:46 +02:00
l0ner
fed7b88ccd .gitignore add
Version generation by cmake
system type detection in cmake
Split file code for better management
2014-04-14 20:47:51 +02:00
Matt McCormick
a7200d2364 Change the default build type to MinSizeRel.
This changes the output size of the executable from 52K to 32K for GCC 4.6.3.
2013-07-15 23:23:11 +00:00
Matt McCormick
fac8da7a0c Improve foreground contrast with colors.
A brightwhite is needed for the white text to have enough contrast.  It also
allows for non-bright black, which also has better contrast.
2013-07-15 23:20:35 +00:00
Matt McCormick
c81bcc3d84 Add Travis icon to README. 2013-06-14 02:07:07 +00:00
Matt McCormick
c07c80b662 Do not run ctest in Travis.
The workers apparently do not present themselves as
a full linux system.
2013-06-14 01:56:46 +00:00
Matt McCormick
6f00fc1daa Add .travis.yml. 2013-06-14 01:49:10 +00:00
Matt McCormick
4bb0a7676f Add load_line variable for OSX. 2013-06-11 00:12:51 -04:00
Matt McCormick
8418e297ad Add contributors to README. 2013-06-09 22:57:37 -04:00
Matt McCormick
f95aa23b75 Update README to note OSX is now supported. 2013-06-09 22:55:08 -04:00
Matt McCormick
e5f3dc1503 Add tests. 2013-06-09 22:50:03 -04:00
Matt McCormick
beea1a7cae Output error on status interval < 1. 2013-06-09 22:24:28 -04:00
Matt McCormick
365502dbf8 Use EXIT_SUCCESS/EXIT_FAILURE. 2013-06-09 21:01:32 -04:00
Matt McCormick
1155ca7c77 Output error on graph_lines < 1. Issue #3. 2013-06-09 20:58:47 -04:00
Matt McCormick
777452a83e Merge remote-tracking branch 'Justastic/master' #1, #2, #5
Add support for Mac OSX from Justastic.  Refactors the code from Justastic so it
works with the Linux code and so it also works for the new colors support.

Still need to test on OSX.

Conflicts:
	tmux-mem-cpu-load.cpp
2013-06-09 20:49:21 -04:00
Matt McCormick
c13d4087b9 Merge branch 'colors'
Add support for colored output.
2013-06-05 11:55:18 -04:00
Justin Crawford
06ebd3e9ab Mac OS X support and BSD function stubs
Reorder the functions, begin OS X specific functions
Load averages and Memory usage now works on OSX (I hope the calculations are correct)
Minor edits
Finish OSX support - Fixes CPU usage
2013-05-20 20:02:13 -07:00
Matt McCormick
7186e5dbd0 Add instructions for color support in the README. 2013-05-03 14:28:12 -04:00
Matt McCormick
b2f26bab3f Add support for colors.
Colors are added for terminals that have 256 color support when the
--colors flag is enabled.  The background colors are varied with different color
maps derived from their matplotlib versions.  The foreground color is a
contrasting black or white.
2013-04-30 06:38:39 -04:00
Matt McCormick
816a26bab5 No using namespace std.
Bad form, as Hook would say.
2013-04-24 22:13:50 -04:00
Justin Crawford
c14c56c7ef Fix the formatting to use tabs instead of spaces, easier to read this way. 2013-04-15 11:35:38 -07:00
Justin Crawford
86bdac97f8 Don't use namespace std. It makes things too confusing. 2013-04-15 11:33:28 -07:00
Matt McCormick
b00f53193b Add note in README that OSX is not supported. 2013-04-04 19:52:38 -04:00
Matt McCormick
ec28a5615b Add CMake error on OSX.
It is not currently supported.
2013-04-04 19:50:16 -04:00
Matt McCormick
fd38877476 Merge pull request #4 from krieiter/patch-1
Update README.rst
2013-03-20 19:43:40 -07:00
krieiter
2fd8b67424 Update README.rst
I'm not actually sure whether it's typo or not. Feel free to reject this change.
2013-03-18 16:27:13 +09:00
Matt McCormick
e1754b0d60 Parse a --colors flag. 2013-02-21 00:08:14 -05:00
Matt McCormick
d28fb387ca Improve indentation style consistency. 2013-02-20 23:15:20 -05:00
Matt McCormick
c40ab82bfa Merge branch 'license' 2012-11-25 17:20:58 +00:00
Matt McCormick
f9f1342280 Add Apache-2.0 license.
Per request of Alex Alexander.
2012-11-25 17:20:31 +00:00