-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into ach
* origin/master: Add wallpapers for feh Add a program to display programs eating up most RAM Bump yapf from 0.30.0 to 0.31.0 (#1440) Bump cfn-lint from 0.47.1 to 0.47.2 (#1437) Bump setuptools from 54.1.1 to 54.1.2 (#1439) Bump flake8 from 3.8.4 to 3.9.0 (#1438) Bump dotbot from `eb7f3fb` to `4722233` (#1436) Bump cfn-lint from 0.47.0 to 0.47.1 (#1434) Bump npm from 7.6.2 to 7.6.3 (#1435) Bump npm from 7.6.1 to 7.6.2 (#1433) Bump cfn-lint from 0.46.0 to 0.47.0 (#1432) Bump dependencies/pyenv from `abcbf6e` to `80e418e` (#1431) Bump vim-language-server from 2.1.2 to 2.1.3 (#1430) Bump flake8-bugbear from 21.3.1 to 21.3.2 (#1429)
- Loading branch information
Showing
5 changed files
with
20 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/usr/bin/env bash | ||
# Display the top applications of memory usage | ||
# http://www.cyberciti.biz/faq/linux-check-memory-usage/#comment-51021 | ||
|
||
while read -r command percent rss; do | ||
if [[ "${command}" != "COMMAND" ]]; then | ||
rss="$(bc <<<"scale=2;${rss}/1024")" | ||
fi | ||
printf " %-26s%-8s%s\n" "${command}" "${percent}" "${rss} MB" | | ||
sed 's/COMMAND/PROGRAM/' | sed 's/RSS MB/#MEM/' | ||
done < <(ps -A --sort -rss -o comm,pmem,rss | head -n 20) |
Submodule pyenv
updated
7 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters