Commit Graph

11 Commits

Author SHA1 Message Date
Avinash Sonawane
7ce4c4a891 uid_name has been removed from task struct 2021-11-11 12:03:50 +05:30
Jan Ziak
bed04577a5 Add support for MemAvailable (!10)
MemAvailable is in /proc/meminfo since Linux 3.14.

This aligns the reported memory usage with the memory usage
reported by xfce4-systemload-plugin.

Closes !10
2020-10-12 14:57:23 -03:00
Landry Breuil
993ef78b81 Switch back all bzero() calls to use memset()
Even if it's uglier to use memset, bzero seems deprecated.
2018-06-03 17:56:31 +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
ceb5a7d347 Make pid type: GPid (bug 14401) 2018-05-30 21:28:35 +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
fa797de140 More sizeof uses (bug 14401, bug 14403) 2018-05-26 23:30:22 +02:00
Landry Breuil
7c67014733 uninitialized variable; cppcheck 2014-11-30 21:48:21 +01:00
Mike Massonnet
0008254055 Add words about adding support for a new OS
Add a skel file (task-manager-skel.c) and make it possible in the
build-env to build the task manager with this file (--with-skel).
2010-05-26 06:54:37 +02:00