Skip to content
  • About’n’Search
  • Datenschutzerklärung // Privacy Declaration

bytes and bones

stuff that matters

Tag: process

Written by #xxaxxelxxJanuary 20, 2022January 20, 2022

nginx + long lasting php process (zip): Bad Gateway

PHP (script himself): NGINX (http section): NGINX (location ~ \.php):

Written by #xxaxxelxxMay 4, 2016May 4, 2016

BASH | get command line from pid

ps -p PID -o args=

Written by #xxaxxelxxApril 11, 2016

MySQL | show connected machines and processes

mysql> show processlist;

Written by #xxaxxelxxOctober 6, 2015

LINUX | keep a process alive

supervisord.org

Written by #xxaxxelxxApril 28, 2015

daemonizing shell scripts | catch crashed processes | eternal run

#!/bin/bash if [ $# -lt 1 ]; then exit 1 fi main() { while true; do $@ done } main $@ & exit

Blog at WordPress.com.
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Follow Following
    • bytes and bones
    • Join 95 other followers
    • Already have a WordPress.com account? Log in now.
    • bytes and bones
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar