Commit Graph

15 Commits

Author SHA1 Message Date
rim
84e719796e Simplify the way process state is stored on FreeBSD (bug 14401) 2018-05-30 21:59:02 +02:00
rim
6cfb7547b0 More cast/type fixes (bug 14401) 2018-05-30 21:58:08 +02:00
rim
8e1b48f8de Move getpwuid() from backends to gui, use getpwuid_r(), call only once on task add. (bug 14401) 2018-05-30 21:31:01 +02:00
rim
66a0d4bfc9 Mark unused params, remove unused macro and args (bug 14401) 2018-05-30 21:29:28 +02:00
rim
ceb5a7d347 Make pid type: GPid (bug 14401) 2018-05-30 21:28:35 +02:00
rim
3af7e3d491 Use sysctl w/ KERN_PROC_ARGS instead of kvm_getargv in get_task_details() (bug 14401) 2018-05-26 23:55:49 +02:00
Landry Breuil
159c3c1d0c Sort the task list by pid, as we're going to use bsearch() (bug 14403) 2018-05-26 23:52:46 +02:00
rim
704411a38b Properly use float for constants where appropriate (bug 14401, bug 14403) 2018-05-26 23:51:32 +02:00
rim
2329f243fb Properly zero memory where appropriate (bug 14401, bug 14403) 2018-05-26 23:40:11 +02:00
rim
5e0fb6f4bc Use sizeof() when appropriate instead of hardcoding values (bug 14401, bug 14403) 2018-05-26 23:19:55 +02:00
Olivier Duchateau
6c6b9f6cad Fix memory usage display (Bug #13371) 2017-02-22 22:58:59 +01:00
Olivier Duchateau
b7eaff7c1a Improve memory usage on FreeBSD system. 2017-01-08 18:51:04 +01:00
Cy Shubert
994e0c2b9f Include <sys/vmmeter.h> on FreeBSD (#8081) 2014-11-29 12:10:49 +01:00
Mike Massonnet
6b8162b4e9 [linux|freebsd] Fix condition to calculate CPU usage 2010-05-21 15:29:45 +02:00
Mike Massonnet
175b4cb541 Add FreeBSD implementation
Original code (task list) is from Oliver Lehmann and was licensed under
FreeBSD (BSD 2-clause.)
2010-05-21 13:28:10 +02:00