blob: 3e1447e0198027c0bfe7e948cf8f0bc08ad4d569 (
plain)
1
2
3
4
5
6
7
8
|
#!/bin/sh
case $BLOCK_BUTTON in
1) dunstify -r $(dunstifyIDs.sh "memory") -t 5000 "Highest RAM processes:
$(ps axch -o cmd:18,%mem --sort=-%mem | sed 10q)" ;;
esac
free -h | awk '/^Mem/ {print $3 "/" $2}'
|