File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -146,10 +146,10 @@ echo "Wired: Essential system memory that cannot be moved to disk.";
146146echo "Compressed: Memory zipped to save space; much faster than using SSD swap.";
147147echo "Free: Empty RAM doing nothing (Wasted RAM).";
148148'
149-
149+
150150# # get top process eating memory
151- alias psmem=' ps auxf | sort -nr -k 4 '
152- alias psmem10=' ps auxf | sort -nr -k 4 | head -10'
151+ alias psmem=' ps -A -o pid=PID,pmem=%MEM,comm=COMMAND | tail -n +2 | sort -nr -k 2 '
152+ alias psmem10=' ps -A -o pid=PID,pmem=%MEM,comm=COMMAND | tail -n +2 | sort -nr -k 2 | head -10'
153153
154154# # get top process eating cpu ##
155155alias pscpu=' ps auxf | sort -nr -k 3'
Original file line number Diff line number Diff line change 5050 " lnav" # A robust log colorizer to tail logs: tail -f your_log_file.log | ccze -A
5151 # "hugo" # Configurable fastest static site generator
5252 " graphviz" # Convert dot files to images
53+ " ripgrip" # Render markdown in terminal with interactive preview
5354 " dockutil" # Command line tool for manipulating macOS Dock items
5455)
5556
@@ -187,4 +188,4 @@ brew cleanup
187188# set_env_vars comment this as jenv manages versions
188189verify_installations
189190
190- printf " \n\n👌 Awesome, all set.\n"
191+ printf " \n\n👌 Awesome, all set.\n"
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ $cliTools = @(
2727 @ { Id = " sharkdp.bat" ; Description = " Clone of cat(1) with syntax highlighting and Git integration" },
2828 @ { Id = " OpenJS.NodeJS" ; Description = " Cross-platform JavaScript runtime environment" },
2929 @ { Id = " JohnMacFarlane.Pandoc" ; Description = " Swiss-army knife of markup format conversion" },
30+ @ { Id = " ripgrip" ; Description = " Render markdown in terminal with interactive preview" ; FallbackName = " ripgrip" },
3031 @ { Id = " GitHub.Copilot.CLI" ; Description = " GitHub Copilot CLI - AI pair-programmer in the terminal" },
3132 @ { Id = " Graphviz.Graphviz" ; Description = " Convert dot files to images" }
3233)
You can’t perform that action at this time.
0 commit comments