]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commit
ids.cgi: Fix get_memory_usage()
authorStefan Schantl <stefan.schantl@ipfire.org>
Wed, 29 Aug 2018 08:55:32 +0000 (10:55 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Wed, 29 Aug 2018 08:55:32 +0000 (10:55 +0200)
commit004b13b7e801c18d399740c4e9b7866c9685637c
tree8d19d707005b54b1473f7c00e4606837c9533144
parentbe52c68a2db2455f8118190a6bb37594891480a1
ids.cgi: Fix get_memory_usage()

Change the get_memory_usage() function to grab and return the
memory usage of the entire process, containing all sub-processes and
threads.

Fixes #11821

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
html/cgi-bin/ids.cgi