Convert README to English with natural flow

- Recreated entire README in English
- Preserved all technical details and data
- Improved flow and readability
- Kept Swedish version as README_SV.md for reference
- All charts and analysis now in English
This commit is contained in:
Ein Anderssono
2026-04-23 01:15:07 +02:00
parent c5fc60b89c
commit c989bb8cb4
126 changed files with 1810 additions and 1473 deletions
+4 -3
View File
@@ -37,12 +37,13 @@ verify() {
fi
}
# Function to get memory usage of a process (in KB)
# Function to get memory usage of a process (in bytes)
get_memory_usage() {
local pid=$1
if [ -n "$pid" ] && kill -0 "$pid" 2>/dev/null; then
# Use ps to get RSS (resident set size) in KB
ps -o rss= -p "$pid" 2>/dev/null || echo "0"
# Use ps to get RSS (resident set size) in KB, then convert to bytes
local kb=$(ps -o rss= -p "$pid" 2>/dev/null || echo "0")
echo $((kb * 1024))
else
echo "0"
fi