summaryrefslogtreecommitdiff
path: root/src/print_cpu_usage.c
AgeCommit message (Collapse)Author
2015-10-04Added support for lemonbarBrendan Van Hook
2015-04-02sys/dkstat.h has been removed from OpenBSD and it's functionality actually ↵Jasper Lievisse Adriaanse
lived/lives in sys/sched.h
2015-03-25print_cpu_usage: Fix warnings on non linuxBaptiste Daroussin
Move linux variable under LINUX boundaries
2015-03-16clang-format-3.5 -i **/*.[ch], update modelineMichael Stapelberg
From here on, we’ll use clang-format to automatically format the source. This has worked well in i3, so we are introducing it for i3status.
2014-03-12Unify use of string comparisonsMats
* strncmp(s1, s2, strlen(s2)) → BEGINS_WITH(s1, s2) * strncmp(s1, s2, strlen(s1)) → strcmp(s1, s2) * Prefer case-insensitive comparison for options
2013-10-07Allow to print cpu usage on NetBSDArnaud Degroote
2012-11-15DragonFlyBSD support addedScott Tincman
2012-06-28Avoid division by zero when calculating CPU usage.Mateusz Poszwa
2012-05-09Error handling: Never output null as full_text (JSON), prefix messages with ↵Michael Stapelberg
i3status (Thanks Artemis) The former made i3bar crash, the latter is helpful for debugging.
2012-04-29Fix CPU usage on OpenBSD. Currently only takes the first cpu into account, ↵Jasper Lievisse Adriaanse
but works fine otherwise.
2012-04-08add yajl compat codeMichael Stapelberg
2012-03-25Properly output JSON with libyajlMichael Stapelberg
2012-02-16Implement the i3bar JSON protocolMichael Stapelberg
This hardcodes all the JSON parts. Strings are not properly escaped currently. The best/easiest way to fix this is by actually using libyajl.
2011-08-29fix parentheses in cc1457c4f0f4cccb8bec326dd0bb13082ac806e6Mateusz Poszwa
2011-08-26initialize variables to fix compiler warningMichael Stapelberg
2011-08-25make modules more resilient to failureConnor Lane Smith
2011-07-24Add support for cpu usage on FreeBSDBaptiste Daroussin
2011-05-06Fix trailing whitespaces, document cpu_usage in manpageMichael Stapelberg
2011-05-06Add print_cpu_usagePeter Bui