• Skip to primary navigation
  • Skip to content
  • Skip to footer
alexdyas
  • Posts
  • Categories
  • Tags
  • About
    Alex Dyas

    Alex Dyas

    Dyas Ex Machina

    • Website
    • GitHub
    • Mastodon

    Linux - Pause and restart process

    less than 1 minute read

    Very useful trick, pause and restart a Linux process:

    Pause the process :

    kill -STOP <pid>
    

    Restart it:

    kill -CONT <pid>
    

    I’ve found this useful testing web services for problematic behaviour, pause nginx, test the result, restart nginx.

    Tags: linux

    Categories: technical

    Updated: December 13, 2022

    Share on

    X Facebook LinkedIn Bluesky
    Previous Next

    You May Also Enjoy

    Copy last command in shell history to clipboard

    less than 1 minute read

    More command line clipboard functionality. This shell function copies the last line in your shell history to the clipboard. # Copy last command from shell hi...

    Command line path copy to clipboard

    less than 1 minute read

    Two functions to be included in your .zshrc to copy the current path to the clipboard. These use xlcip, I’m sure there are alternatives or other tools for yo...

    One imagePullBackoff reason amongst many

    less than 1 minute read

    I stumbled across a new to me reason for the irritating imagePullBackoff error in Kubernetes. Amongst the many well documented reasons this can happen, bad c...

    vim - Remove carriage returns on save

    less than 1 minute read

    I’ve been copying and pasting a lot from Windows sessions into vim recently, and often I get carriage returns copied with the text. I save all my files in vi...

    • Mastodon
    • GitHub
    • Feed
    © 2026 alexdyas. Powered by Jekyll & Minimal Mistakes.