Commit graph

53 commits

Author SHA1 Message Date
Casper da Costa-Luis 898bf90ce1
RAM: clean up format handling 2020-03-02 13:24:36 +00:00
Artem Vasenin e2a7f5f8fc
feat: Add ram status 2020-03-02 13:14:48 +00:00
Artem Vasenin cb9147cce7 chore: Shorten no gpu error message 2020-02-19 22:18:52 +01:00
Camille TJHOA 8ab6279240 Improve documentation 2019-10-11 14:46:19 +00:00
Camille TJHOA 626e5fea1a Fix documentation 2019-10-11 14:42:35 +00:00
Camille TJHOA 0e6fb34a3e Add new "cpu_percentage_format" & "gpu_percentage_format" option 2019-10-11 14:37:28 +00:00
Camille TJHOA befc5d5c58 Rewrite customization section 2019-10-11 09:28:45 +00:00
Camille TJHOA e2f047a0b3 Fix syntax highlighting 2019-10-11 09:21:23 +00:00
Camille TJHOA c4c966cbe3 Add note on gpu options 2019-10-11 09:16:55 +00:00
Camille TJHOA 5aa3b34a62 Add editorconfig 2019-10-11 09:15:38 +00:00
Bruno Sutic 44d46f1592
Update README.md 2019-04-19 12:47:10 +02:00
Casper da Costa-Luis 4b9267164a remove extraneous spacing
- uses %3.1f for all CPU stats
- fixes #25
2019-02-26 15:10:02 +01:00
Casper da Costa-Luis d943588bb4 add cuda-smi support
fixes #24
2019-02-26 15:06:25 +01:00
Casper da Costa-Luis d7d3501fda update documentation 2018-07-12 15:34:47 +02:00
Casper da Costa-Luis d78c63a10d gpu_icon, fg, bg color 2018-07-12 15:34:47 +02:00
Casper da Costa-Luis 43890c45fb update documentation with gpu_percentage 2018-07-12 15:34:47 +02:00
Casper da Costa-Luis c778fe3521 gpu_percentage 2018-07-12 15:34:47 +02:00
Camille TJHOA 12f7a74e25
Fix #21
Remove empty lines which cause issue with some version of `iostat`. See #21 for more details.
2018-01-19 08:42:24 +00:00
Sebastian Müller 3fae872d2a Replace , with . in cpu-load for German systems 2017-08-05 00:47:16 +02:00
Camille TJHOA 16e53eb29e Merge pull request #17 from ek9/readme-examples-fix
README: fix examples high/low mixup
2017-05-30 07:09:41 +02:00
ek9 41ae54992c README: fix examples high/low mixup 2017-05-29 17:33:31 +02:00
Camille TJHOA ed2f1590b6 Add major improvements
Add dynamic foreground color support
Add dynamic background color support
Add dynamic icon support
2017-05-07 23:48:52 +02:00
Camille TJHOA 9cfbd9d95c Remove old changelog 2017-05-06 23:08:45 +02:00
Camille TJHOA 7b70827758 Add sar 2016-10-10 20:46:26 +02:00
Camille TJHOA 6281a72355 Fix #14 2016-10-10 20:45:58 +02:00
Camille TJHOA 4365837368 Fix #13 + Remove magic numbers 2016-07-03 18:01:50 +02:00
Camille TJHOA 21bb555e6f Merge pull request #12 from daenney/patch-1
cpu_percentage: Fix multiple HDD on OS X
2016-03-08 19:26:58 +01:00
Daniele Sluijters 1120ecbd08 cpu_percentage: Cut right field from iostat on OS X
Closes #11.
2016-03-08 19:22:46 +01:00
Camille TJHOA 585c254b15 Fix #10 2016-03-03 21:50:36 +01:00
Camille TJHOA d5681daf91 Fix awk printf and BSD 2016-02-24 20:42:26 +01:00
Camille TJHOA a67251af94 Improve accuracy and add sar support 2016-02-24 14:15:15 +01:00
Camille TJHOA 1eb2fcc9f8 Fix #8 2016-01-31 16:33:25 +01:00
Camille TJHOA f44f77674d Better iostat support 2016-01-20 00:38:13 +01:00
Camille TJHOA dd190b1cc9 Merge pull request #7 from Wayneoween/master
use correct value if running on FreeBSD
2016-01-13 21:58:42 +01:00
Marius Schuller 573c98e5d9 use correct value if running on FreeBSD
Signed-off-by: Marius Schuller <marius.schuller@googlemail.com>
2016-01-13 20:08:15 +01:00
Camille TJHOA c21f267a96 Update README.md 2015-08-10 23:51:06 +02:00
Camille TJHOA 157d0bb75d Fix #6 2015-08-10 23:49:49 +02:00
ctjhoa 9ddb7bf155 Merge pull request #4 from kiririmode/always_cygwin
doesn't print cpu usage on MacOSX.
2015-02-07 13:01:19 +01:00
kiririmode 89d0a5982c determines correctly whether cygwin is used or not. 2015-02-07 19:49:00 +09:00
Camille TJHOA dfdf2ffa51 Fix variable size 2015-02-06 10:44:34 +01:00
Camille TJHOA 00d4e982f7 Add cygwin support 2015-01-29 18:37:18 +01:00
ctjhoa a1c753d4ce Merge pull request #2 from lglenn/use_iostats_on_mac
Force number of devices to 1 so as not to break the awk script.
2014-12-15 20:31:57 +01:00
Larry Glenn 145a3d2c2b Force number of devices to 1 so as not to break the awk script.
The awk snippet that grabs the cpu stats assumes that there's one disk
in iostat's output. Adding -n 1 to the iostat call ensures that iostat
will only report on one disk, and the cpu stats will be in the correct
column.
2014-12-14 18:33:26 -05:00
ctjhoa 3a099ef397 Merge pull request #1 from lglenn/use_iostats_on_mac
Grab CPU stats from iostat on a mac
2014-12-11 16:30:35 +01:00
Larry Glenn a3ed1dae1a Whoops, fix formatting 2014-12-08 23:04:03 -05:00
Larry Glenn a8fcdae801 Grab CPU stats from iostat on a mac
OSX doesn't have procfs, so grabbing cpu usage from /proc/stat won't
work.

Rather, if is_osx() returns true, get stats from the output of the
iostat utility.

Note that the first line of data that iostat prints is always averaged
over system uptime. You need to tell it to print two lines, averaging
over one second, and use the data in the second line.
2014-12-08 22:54:41 -05:00
Camille TJHOA 2f95c985b5 Limit decimal to 1 2014-12-07 17:58:54 +01:00
Camille TJHOA ce1cc4a3c2 Change repo 2014-12-07 17:36:29 +01:00
Camille TJHOA 29b0a02ae0 Fix license 2014-11-30 19:05:42 +01:00
ctjhoa 9c2df43fdb Fix repo in README 2014-11-30 17:45:57 +01:00