repo.or.cz
/
dotfiles_afify.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
new bluetooth script
[dotfiles_afify.git]
/
.scripts
/
bar_scripts
/
unused
/
memory
blob
bc8f120c373c90075cf6ae985c88806c9f0c567d
1
#!/usr/bin/env bash
2
3
#case $BLOCK_BUTTON in
4
# 1) notify-send "Memory hogs"\
5
# "$(ps axch -o cmd:15,%mem --sort=-%mem | head)" ;;
6
#esac
7
8
used_mem
=
$
(
free
-m
|
awk
'/^Mem:/ {print
$3
}'
)
9
10
#echo "<span font=\"5\"><sup>RAM</sup></span> $used_mem" ;
11
echo
"
$used_mem
"
;