我在天马彩票平台输了三十万

Questions tagged [signals]

A signal is a message which can be sent to a running process. Signals can be initiated by programs, users, or administrators.

Filter by
Sorted by
Tagged with
2
votes
1answer
59 views

How can I prevent Ctrl+C from “going outwards”?

I want to run an interactive tool that can either exit by itself (when the tasks are done) or by me hitting Ctrl+C. In this example, the tool consists of an echo and a sleep (thus it is not really ...
0
votes
0answers
22 views

missing SIGINT from script?

I am experiencing very strange behaviour when I attempt to send SIGINT from a bash script: #!/bin/bash ./executable 6 & PID=$! sleep 2 kill -s SIGINT $PID sleep 2 if wait $PID; then echo "...
1
vote
1answer
42 views

Termination of ssh with Ctrl-C trap in bash script

When I press Ctrl+C with the first script, it works as I expect, Ctrl+C doesn't have any effect #!/bin/bash trap '' INT ssh user@server 'svn checkout ...' echo "done" But with the second script Ctrl+...
2
votes
1answer
35 views

What’s the difference between SIGALRM and SIGVTALRM?

I do understand that both are used to raise a signal according to the time elapsed… But what’s the difference then ? In my case, I want to raise such signal against specific thread time where the ...
1
vote
2answers
102 views

less stops my script; why is that and how to avoid?

I have this Bash script named as s in current directory: #!/bin/bash pipe_test() { ( set -m; ( $1 ); set +m ) | ( $2 ) } pipe_test "$1" "$2" If I call e.g. ./s yes ...
0
votes
1answer
23 views

How do linux syscalls implementations handle a caught signal?

I understand how signals work in general and I understand that syscalls are changing the task state to TASK_INTERRUPTIBLE or TASK_UNINTERRUPTIBLE to prevent signal interruption on critical sections. ...
0
votes
1answer
53 views

Why does grep return SIGPIPE (signal 13) here?

I have to create a program where i have P0 as parent process and P1,...,PN children processes. Every child has to perform grep in a file and return the output in a pipe. Then P0 has to read the ...
0
votes
0answers
29 views

Kill a hanging process which is in kernel mode

I had a process attached to a debugger session, and, by mistake, I kill the debugger. Now, I'm trying to kill the process I was debugging but I can't because it's probably in Kernel Mode now, maybe ...
2
votes
1answer
33 views

How come `while true; do echo y; done | true` dies on its own, but `while true; do echo y | cat; done | true` doesn't?

To be clear with the title question, I understand why the former dies. I don't understand why the latter doesn't, just for adding a | cat to the loop body. Also maybe related, while true; do echo y; ...
2
votes
1answer
43 views

Debugging sporadic 141 shell script errors

While running a script on CI (Gitlab, Docker container running Alpine Linux), I am getting sporadic failures with signal 141 which seems to indicate a "SIGPIPE". But I do not understand which step is ...
0
votes
1answer
33 views

File descriptor from `signalfd(2)` is never ready to read

I have a fairly big application under care. As part of its job it spawns some child processes and needs to monitor their state (running, crashed). Child process deaths were detected by setting signal ...
1
vote
1answer
89 views

Without nohup on csh, background job still running after ssh exits

I'm trying to understand the need for using nohup with background commands in ssh. My shell is csh on CentOS. The background command below continues running even after ssh exits. I was expecting this ...
0
votes
2answers
36 views

xargs and zcat: silence errors

Suppose I have: ** EDIT TO HAVE CLOSER CORRESPONDENCE TO ACTUAL USAGE ** find ... -regex ... | head -n 1 | xargs -I {} zcat {} | head -n 1 # next, I do some other things now, everything works ...
3
votes
0answers
51 views

Why does CTRL-C work in one user account but not another?

I have a bash script which is supposed to run a command every X seconds, until the operator interrupts it. Like this: test.sh #!/bin/bash while true; do echo Doing a thing... sleep 3 & ...
3
votes
1answer
471 views

Why is the integer value of SIGRTMIN (first real-time signal) 34 and not 32? [duplicate]

Examining the output of kill -l command $ kill -l 1) SIGHUP 2) SIGINT 3) SIGQUIT 4) SIGILL 5) SIGTRAP 6) SIGABRT 7) SIGBUS 8) SIGFPE 9) SIGKILL 10) SIGUSR1 11) SIGSEGV 12) SIGUSR2 13) ...

15 30 50 per page
1
2 3 4 5
33
怎么样进入赌单双软件 手机棋牌输了几百万 怎么购买手机赌博软件 我爱彩票邀请码是多少 我想查查彩票开奖结果 快钱彩票官网 快乐棋牌游戏 手机版彩票过滤工具 怎么下载波克棋牌 快乐12任5遗漏数据