Advertisement
Guest User

Untitled

a guest
Oct 9th, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.27 KB | None | 0 0
  1. #!/bin/sh
  2.  
  3. case $BLOCK_BUTTON in
  4.     1) notify-send " Highest usage:
  5. $(ps axch -o cmd:15,%mem --sort=-%mem | head)" ;;
  6.     3) notify-send " Memory module:
  7. - Shows Memory Used/Total.
  8. - Click to show memory hogs." ;;
  9. esac
  10.  
  11. free -h | awk '/^Mem:/ {print $3 "/" $2}'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement