New answers tagged

13

WARNING DO NOT ATTEMPT TO RUN THIS ON A PRODUCTION MACHINE. JUST DON'T. Warning: To try any "bombs" make sure ulimit -u is in use. Read below[a]. Let's define a function to get the PID and date (time): bize:~$ d(){ printf '%7s %07d %s\n' "$1" "$BASHPID" "$(date +'%H:%M:%S')"; } A simple, non-issue bomb function for the new user (protect yourself: read ...


-1

It means your swap area has run out. either increase swap size or find the application that consumes all the swap space and kill -9 it. you can also increase or add more swap space.


0

I'm not certain what you are looking for, but you can build simple services using socat to listen on a port and get it to run a shell script for example on each connection. You can limit the max simultaneous connections. Eg create a bash script ./myscript holding: #!/bin/bash read message echo "hello. got $message" sleep 10 echo "bye" Then launch socat on ...


0

Traditionally, inetd(8). Most Linux distributions package xinetd.


2

Depending on the system you might get an error message such as: No command 'fork' found, did you mean: Command 'forg' from package 'forg' (universe) Command 'gfork' from package 'globus-gfork-progs' (universe) Command 'pork' from package 'pork' (universe) Command 'forw' from package 'nmh' (universe) Command 'forw' from package 'mailutils-mh' (universe) ...



Top 50 recent answers are included