From 3a9baff49d914406b35a1c63bdd2a9f92add52b6 Mon Sep 17 00:00:00 2001 From: c0dev0id Date: Tue, 2 Jan 2024 19:58:39 +0100 Subject: [PATCH] Update 2024-01-02 19:58 OpenBSD/amd64-x13 --- .bin/chrome | 1 - .bin/whatmem | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.bin/chrome b/.bin/chrome index 6305993..20e25c2 100755 --- a/.bin/chrome +++ b/.bin/chrome @@ -39,7 +39,6 @@ --disable-in-process-stack-traces \ --no-service-autorun \ --no-experiments \ - --enable-low-end-device-mode \ --use-gl=egl \ --disable-wayland-ime \ --enable-features=RunVideoCaptureServiceInBrowserProcess,WebUIDarkMode \ diff --git a/.bin/whatmem b/.bin/whatmem index d39c936..45b5d23 100755 --- a/.bin/whatmem +++ b/.bin/whatmem @@ -1,7 +1,8 @@ #!/bin/sh + for i in $@ do - RES="$(ps -x -o "comm vsz" | grep -Ei "^$i ")" + RES="$(ps -x -o "comm rss" | grep -Ei "^$i ")" if [ ! -z "$RES" ] then echo "$RES" | xargs -n2 -I{} echo "Adding: {} KB"