当一个emacs被冻结时,调试多个emacs的指定emacs
我的机器上正在运行两个emacs服务器当一个emacs被冻结时,调试多个emacs的指定emacs,emacs,Emacs,我的机器上正在运行两个emacs服务器 $ ps -ef |grep emacs | sed "s/$USER/me/g" me 4010 1 6 13:52 ? 00:02:58 /snap/emacs/25/usr/bin/emacs --daemon=orging me 4538 1 3 13:52 ? 00:01:45 /snap/emacs/25/usr/bin/emacs --daemon=coding me 4622
$ ps -ef |grep emacs | sed "s/$USER/me/g"
me 4010 1 6 13:52 ? 00:02:58 /snap/emacs/25/usr/bin/emacs --daemon=orging
me 4538 1 3 13:52 ? 00:01:45 /snap/emacs/25/usr/bin/emacs --daemon=coding
me 4622 1 0 13:52 pts/1 00:00:00 /snap/emacs/25/usr/bin/emacsclient /home/me/ORG/os.org -c -s orging
me 4623 1 0 13:52 pts/1 00:00:00 /snap/emacs/25/usr/bin/emacsclient /home/me/ORG/algorithms.org -c -s coding
me 8945 3548 0 14:38 pts/1 00:00:00 grep --color=auto emacs
“orging”的那个被冻结了
读了之后,我得到了答案
pkill -SIGUSR2 emacs
如何将该操作应用于指定的emacs,称为“组织”?使用
kill
命令并指定所需emacs实例的pid,在本例中为4010
:
kill -SIGUSR2 4010
使用
kill
命令并指定所需emacs实例的pid,在本例中为4010
:
kill -SIGUSR2 4010