Lines Matching refs:signal
36 #include <signal.h>
307 /* Determine what signal the given string parses to. */
308 int parse_signal(const char *input, int *signal, const char **signame)
311 *signal = SIGABRT;
317 *signal = SIGSTOP;
323 *signal = SIGTERM;
329 *signal = SIGKILL;
341 "Monitors the system for high load and sends a signal to (hopefully)\n"
352 int signal;
356 /* Determine which signal to send. */
358 signal = SIGSTOP;
361 int error = parse_signal(argv[1], &signal, &signame);
389 int error = kill(d.worst_pid, signal);