Untitled attachment
https://files.mastodon.social/media_attachments/files/113/519/641/382/674/468/original/a4bd967db5bf3279.png
Want to easily find and work on specific processes in top or htop? 🔎 Let's say you need to check on your nginx processes or keep an eye on firefox. Try:
htop -p "$(pgrep -d, nginx)"
top -p "$(pgrep -i -d, firefox)"
This trick uses pgrep to grab the process IDs and feeds them directly to top or htop. See https://www.cyberciti.biz/faq/linux-find-process-name/ and https://www.cyberciti.biz/faq/show-all-running-processes-in-linux/ for more info and examples.
076萌SNS is a social network, courtesy of 076. It runs on GNU social, version 2.0.2-beta0, available under the GNU Affero General Public License.
All 076萌SNS content and data are available under the Creative Commons Attribution 3.0 license.