Commit graph

94 commits

Author SHA1 Message Date
aristocratos c2c4fe47db Changes from main + fixes 2021-11-13 23:15:53 +01:00
aristocratos dc5f0606cb Fixed leak in Proc::collect() 2021-11-13 20:51:06 +01:00
aristocratos 8b59ab6e11 Fixed process cpu usage calculation 2021-11-13 19:59:56 +01:00
aristocratos 53c8a0325b Cpu temp set to average of pACC and eACC for mac m1 2021-10-25 13:01:53 +02:00
Jos Dehaes 940cd0a513 limit cpu temp to 20 2021-10-24 21:12:16 +02:00
Jos Dehaes 46030de77c available = total - used 2021-10-18 08:10:37 +02:00
Jos Dehaes 4c228de0ef use sysconf to get arg_max - seems simpler 2021-10-17 22:19:41 +02:00
Jos Dehaes c60fc29f0f arg_max should be int on macos 2021-10-17 22:10:50 +02:00
Jos Dehaes 0b5a931a6d only fetch max_args once 2021-10-17 22:01:42 +02:00
Jos Dehaes d8408336e3 remove debug 2021-10-16 20:59:27 +02:00
Jos Dehaes 4f078c3beb more temperature (M1 + intel) 2021-10-13 23:38:36 +02:00
Jos Dehaes 3ffb21203a release a bit more - still has negative temps for 2 cores on my system 2021-10-16 19:20:45 +02:00
aristocratos 70b4871062 Fixed leaks in Mem and attempt at fixing leaks in sensors.cpp 2021-10-16 01:59:44 +02:00
Jos Dehaes fbae907720 temperature sensors via IOKit 2021-10-15 23:41:46 +02:00
aristocratos cef0f0a68d Process command line arguments 2021-10-15 18:39:17 +02:00
Jos Dehaes a416c888c7 temperature 2021-10-13 21:16:54 +02:00
aristocratos e7afe00ce7 Cpu usage working again 2021-10-13 12:54:43 +02:00
aristocratos 4193ef8921 Fixed cpu lazy sorting 2021-10-13 10:36:51 +02:00
aristocratos 8a399c499a pointer to smart pointer, first pass 2021-10-12 21:50:46 +02:00
aristocratos 772605003a Fixed detailed memory not updating 2021-10-12 18:54:38 +02:00
Jos Dehaes 28cb677533 more memory free-up - still leaks like crazy 2021-10-11 22:19:25 +02:00
Jos Dehaes 304457863f more RAII cleanup 2021-10-11 21:48:07 +02:00
aristocratos 82e2e3c55c Removed non present cpu fields and fixed calculation for selectable cpu field graphs 2021-10-11 12:40:25 +02:00
aristocratos 68603f2b37 RAII Wrappers for Cpu::get_battery() 2021-10-11 10:57:04 +02:00
Jos Dehaes d5cb24fbeb RAII 2021-10-10 20:23:11 +02:00
Jos Dehaes 8fad5a61be get more disk IO stats 2021-10-09 21:44:16 +02:00
Jos Dehaes 7fa903cf16 fix build 2021-10-09 21:43:48 +02:00
Jos Dehaes 98036db660 remove unnecessary uptime param 2021-10-09 21:18:25 +02:00
Jos Dehaes aae7ae35ca remove debug logging 2021-10-09 21:07:23 +02:00
Jos Dehaes 5187420b04 fix process elapsed time 2021-10-09 21:06:43 +02:00
Jos Dehaes 89582c0ea6 don't double free 2021-10-09 21:06:29 +02:00
aristocratos 099592bccd Ignore empty pid 0 to fix tree mode 2021-10-09 17:52:10 +02:00
aristocratos 4b7b98058d Fixed disk io and added io activity based on read/write 2021-10-09 11:28:32 +02:00
Jos Dehaes bfa0629e7d fill in 0 for ioticks 2021-10-08 22:28:10 +02:00
Jos Dehaes a016ff8a03 disk io from IOreg. Does not show any io though 2021-10-08 22:16:01 +02:00
Jos Dehaes f98606c6db per process IO stats 2021-10-08 09:32:06 +02:00
Jos Dehaes c8b50ed488 don't show autofs, it's useless 2021-10-08 00:21:55 +02:00
aristocratos b864edf984 Fixed cumulative cpu usage 2021-10-07 18:24:37 +02:00
aristocratos 6a3c5d9b97 Proc::collect() better cpu percent accurazy 2021-10-07 13:20:30 +02:00
aristocratos 3564f8e4c2 Proc::collect() fixed cputimes and cpu percentage calc 2021-10-07 12:56:27 +02:00
Jos Dehaes 60c5636cd7 fix warning 2021-10-06 22:45:54 +02:00
Jos Dehaes 489e446152 details + process states 2021-10-06 22:38:40 +02:00
Jos Dehaes 5ac8fa4c8a don't show /dev 2021-10-06 18:56:32 +02:00
Jos Dehaes c7f1e71e29 comment 2021-10-06 16:00:41 +02:00
Jos Dehaes b9d58e3faf impossible to get CPU freq on M1 apparently 2021-10-06 15:55:58 +02:00
Jos Dehaes 66072711c2 detect full 2021-10-06 15:34:12 +02:00
Jos Dehaes 6bb0e930a2 CPU freq in GHz 2021-10-06 00:38:46 +02:00
Jos Dehaes a5f10f1a0f check array length 2021-10-06 15:13:18 +02:00
Jos Dehaes 155c848b97 switch to other way to get CPU freq (still does not work) 2021-10-06 15:05:20 +02:00
Jos Dehaes cf51ba2ebe remove some warnings 2021-10-06 14:45:44 +02:00