diff options
Diffstat (limited to 'bin/chrome_ram')
| -rwxr-xr-x | bin/chrome_ram | 3 |
1 files changed, 3 insertions, 0 deletions
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" |
