1

我正在使用具有 MIPS 架构的 linux 2.6.32.13-Cavium-Octeon。当我按 ctrl+c 终止进程时,在终端上;什么都没发生。如何在我的内核中跟踪它以处理它的问题? stty -a输出是:

`speed 115200 baud; rows 0; columns 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;
eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R;
werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0;
-parenb -parodd cs8 hupcl -cstopb cread clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon ixoff
-iuclc -ixany -imaxbel
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt
echoctl echoke`

tty有什么问题吗?因为当我make menuconfig没有“启用 tty”选项并且命令bind -v也不起作用时。

谢谢

4

1 回答 1

1

1.) You can press Ctrl+z to put the process to sleep
2.) Then do "kill -9 process-pid", where you find the process's pid with 'ps' and other tools. On Bash (and possibly other shells) you can do "kill -9 %1" (or '%N' in general) which is easier.
3.) If Ctrl+z doesn't work, you'll have to open another terminal and kill from there.

于 2013-09-04T10:09:31.970 回答