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

Process monitoring/shaare/s-WYKA

  • 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 by pattern

top Command

  • top -u username → Show only that user's processes
  • top +d c → Absolute path
  • top +d k → Kill by PID
  • top +d M or +d 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
3 months ago Permalink
cluster icon
  • Crontab / at : Crontab Basics crontab -e → edit crontab crontab -l → list crontab entries crontab -r → remove crontab entries systemctl status crond → check crond s...
  • 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...
  • User management : Essential Commands: useradd, groupadd, userdel, groupdel, usermod Modify 3 files: /etc/passwd, /etc/group, /etc/shadow Create User with Custom O...
  • Shell Scripting Basics : First Line of Script #!/bin/bash → defines the shell interpreter Comments Use # for commenting Common Elements Commands: echo, cp, etc. Statement...
  • Screen & Tmux : Screen (Terminal Multiplexer) Multi-terminal sessions in one window Alt+A | → split vertical Alt+A Shift+S → split horizontal Alt+A Tab → switch wind...


(19)
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