From 1c26711cecfb7dd99f42844ab8227ff37f39c5b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cynthia=20Revstr=C3=B6m?= Date: Sun, 26 Apr 2020 13:08:12 +0200 Subject: some scripts --- bin/chrome_ram | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 bin/chrome_ram (limited to 'bin/chrome_ram') diff --git a/bin/chrome_ram b/bin/chrome_ram new file mode 100755 index 0000000..e59676a --- /dev/null +++ b/bin/chrome_ram @@ -0,0 +1,3 @@ +#!/bin/bash +mib=$(ps aux | grep '/opt/google/chrome/chrome' | awk '{print $6}' | paste -sd+ - | bc | sed 's/$/\*1000\/1048576/' | bc) +echo "$mib MiB" -- cgit v1.2.3