397 liens privés
"""
The first version of USB Killer was consist of a DC/DC converter, a few caps and an FET. When plugged into a system, the converter in the USB Killer would charge the caps up to -110V, apply that voltage to signal lines of the USB interface, and repeat the entire process until everything possible in the computer is broken down.
However, the second version of USB Killer dump -220V directly onto the signal lines of the USB interface, which is powerful enough to damage practically any computer with a USB port.
Another major improvement in the new version of USB Killer is the reaction rate. Once plugged into a computer, USB Killer 2.0 takes only a few seconds for the PC to shut down and stop working.
"""
loi WTF laxiste + nature humaine = ça
"""
psDooM is a process monitor and manager for *nix systems. It could be considered a graphical interface to the 'ps', 'renice', and 'kill' commands. psDooM is based on XDoom, which is based on id Software's 'Doom'.
"""
Chaque personnage est associé à un process unix.
Le tuer revient à faire un kill -9 dessus.
Je pense que si tu tues le PID 1 t'as perdu (ou gagné. Ca dépend comment tu vois les choses). ;)
Screenshots: http://psdoom.sourceforge.net/screenshots.html
EDIT: haha sourceforge.net appartient maintenant à la blacklist "Badware risks" qui est notamment utilisée par uBlock origin.
"""
No no no. Don't use kill -9.
It doesn't give the process a chance to cleanly:
1) shut down socket connections
2) clean up temp files
3) inform its children that it is going away
4) reset its terminal characteristics
and so on and so on and so on.
Generally, send 15, and wait a second or two, and if that doesn't
work, send 2, and if that doesn't work, send 1. If that doesn't,
REMOVE THE BINARY because the program is badly behaved!
Don't use kill -9. Don't bring out the combine harvester just to tidy
up the flower pot.
"""
rappel sur les signaux: http://www.tutorialspoint.com/unix/unix-signals-traps.htm
"""
SIGHUP 1 Hang up detected on controlling terminal or death of controlling process
SIGINT 2 Issued if the user sends an interrupt signal (Ctrl + C).
SIGQUIT 3 Issued if the user sends a quit signal (Ctrl + D).
SIGFPE 8 Issued if an illegal mathematical operation is attempted
SIGKILL 9 If a process gets this signal it must quit immediately and will not perform any clean-up operations
SIGALRM 14 Alarm Clock signal (used for timers)
SIGTERM 15 Software termination signal (sent by kill by default).
"""
Je pense qu'il y a plus simple:
- killall - kill processes by name
- pgrep, pkill - look up or signal processes based on name and other attributes
$ killall vlc
$ pkill vlc