Delete Set public Set private Add tags Delete tags
  Add tag   Cancel
  Delete tag   Cancel
  • • DevOps notes •
  •  
  • AI
  • Tags
  • Login

Process monitoring/shaare/AX4RkQ

  • linux
  • linux

ps Command

  • ps → Current shell process status
  • ps -e → All running processes
  • ps aux → All in BSD style with details
  • ps -ef → Running process with details
  • ps -u root → Processes of specific user
  • ps -ef | grep ? → Find process with specific id

top Command

  • top -u username → Show only that user's processes
  • top then c → Absolute path
  • top then k → Kill by PID
  • top then m or then p → Sort by memory or process usage

kill Commands

  • kill -l → List all signals
  • kill PID → Default terminate
  • kill -1 → Restart
  • kill -2 → Equivalent to Ctrl+C
  • kill -9 → Force kill
  • kill -15 → Graceful kill
  • killall → Kill all processes by name
  • pkill → Kill by process name
8 months ago Permalink
cluster icon
  • Basic File Commands / File Search Commands : touch one two three → Create 3 files mkdir folder → Make directory mv -R / cp -R → Move or copy folder including subfolders find . -name "geor...
  • Podman and Docker : Containers → Podman Podman → manage pods and container images Buildah → building/pushing/signing container images Skopeo → copy/inspect/delete/signin...
  • Apache and Nginx : Apache Web Server dnf install httpd nano /etc/httpd/conf/httpd.conf nano /var/www/html/index.html systemctl restart httpd systemctl stop firewalld N...
  • Package Management : System Updates & Software Install dnf (yum) → RedHat → /etc/yum.repos.d apt-get → Debian rpm → RedHat package management standalone package to ...
  • Firewall : Enable firewall firewall-config → GUI for options add ports firewall-cmd → CLI cat /etc/sysconfig/iptables-config cat /etc/firewalld/firewalld.co...


(97)
Filter untagged links
Fold Fold all Expand Expand all Are you sure you want to delete this link? Are you sure you want to delete this tag? The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community