Delete Set public Set private Add tags Delete tags
  Add tag   Cancel
  Delete tag   Cancel
  • • DevOps notes •
  •  
  • AI
  • Tags
  • Login
2 results tagged monitoring

Systemctl, process management/shaare/VSEluw

  • RHCSA
  • systemctl
  • process
  • nohup
  • fg
  • bg
  • nice
  • pkill
  • jobs
  • linux
  • shell
  • sysadmin
  • monitoring
  • uptime
  • RHCSA
  • systemctl
  • process
  • nohup
  • fg
  • bg
  • nice
  • pkill
  • jobs
  • linux
  • shell
  • sysadmin
  • monitoring
  • uptime

Basic System Info Commands

  • uptime → time, uptime, users, load average
  • hostname → current hostname
  • ip hostname → show IP & hostname
  • uname -a → current OS and kernel info
  • which command → path to a command
  • cal → calendar for current month/year

    • cal 2025 → full year
  • bc → basic calculator

System Monitoring

  • systemctl → interact with systemd system manager
  • ps → view current processes
  • top → dynamic view of process usage

Systemctl Usage

  • systemctl start|stop|status servicename.service → manage service state
  • systemctl enable servicename.service → start service at boot
  • systemctl restart|reload servicename → restart or reload service
  • systemctl list-units --all → list all units
  • To add a service:

    • Create a unit file in /etc/systemd/system/servicename.service

Process Management

  • Start a process in the background:

    • Ctrl + Z then jobs → suspend and background
    • bg → continue in background
    • fg → bring back to foreground
  • Run process detached from terminal:

    • nohup process & → keep running after logout
    • nohup process > /dev/null 2>&1 & → suppress all logs/output

Killing and Prioritizing

  • pkill name → kill process by name
  • nice → start process with a priority (range -20 to 19)

    • lower = higher priority
    • nice -20 top

Jobs Monitoring

  • jobs → list background/foreground job states
2 weeks ago Permalink
cluster icon
  • Process monitoring : 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 detai...
  • Vi Editor : Vi Editor Commands i → insert mode I → insert at line start ESC → escape to command mode R → replace mode x → delete character dd → delete line yy → ...
  • Crontab / at : Crontab Basics crontab -e → edit crontab crontab -l → list crontab entries crontab -r → remove crontab entries systemctl status crond → check crond s...
  • SED: Stream Editor for Text Manipulation : Basic Replace Syntax: sed -i 's/KENNY/LENNY/g' filename Substitute all occurrences of "KENNY" with "LENNY" Delete Line Containing String: s...
  • User management : Essential Commands: useradd, groupadd, userdel, groupdel, usermod Modify 3 files: /etc/passwd, /etc/group, /etc/shadow Create User with Custom O...

Process monitoring/shaare/s-WYKA

  • RHCSA
  • linux
  • process
  • monitoring
  • signals
  • ps
  • top
  • kill
  • RHCSA
  • linux
  • process
  • monitoring
  • signals
  • ps
  • top
  • kill

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
2 weeks ago Permalink
cluster icon
  • Systemctl, process management : Basic System Info Commands uptime → time, uptime, users, load average hostname → current hostname ip hostname → show IP & hostname uname -a → current...
  • Linux File Ownership, ACLs, and I/O Redirects : File Ownership chown → Change ownership chgrp → Change group Access Control List (ACL) setfacl → Set file ACL getfacl → Get file ACL Add Permissi...
  • Navigating File System / Linux filetypes : ls -l → List pwd → Print working directory dr-xr-xr-x | directories -rw-r--r-- | file Linux File Types Symbol Type - Regular file d Dire...
  • Crontab / at : Crontab Basics crontab -e → edit crontab crontab -l → list crontab entries crontab -r → remove crontab entries systemctl status crond → check crond s...
  • SED: Stream Editor for Text Manipulation : Basic Replace Syntax: sed -i 's/KENNY/LENNY/g' filename Substitute all occurrences of "KENNY" with "LENNY" Delete Line Containing String: s...


(14)
Links per page
  • 20
  • 50
  • 100
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