"pts/6" 或 "?" 是什么意思?ps 输出的平均值

jsd*_*jsd 5 server 12.04 ps

我在不同的端口运行比特币、莱特币、狗狗币、极光币和匿名币服务器。当我 grep 时,每个硬币都有不同的配置,如下所示。我无法理解问号是什么,什么是 pts。跟着这里的东西。我配置对了吗??

$ ps -ef | grep bitcoin
1001     18662 18279  2 17:34 pts/6    00:00:02 bitcoind
1001     18751 18279  0 17:35 pts/6    00:00:00 grep bit
$ ps -ef | grep lite
1001     18712 18279  2 17:35 pts/6    00:00:01 ./litecoin-d/src/litecoind
1001     18754 18279  0 17:36 pts/6    00:00:00 grep lite
$ ps -ef | grep doge
1001     18719     1  6 17:35 ?        00:00:03 ./dogecoin-d/src/dogecoind
1001     18756 18279  0 17:36 pts/6    00:00:00 grep doge
$ ps -ef | grep auro
1001     18522     1  0 17:24 ?        00:00:06 ./auroracoin-d/src/auroracoind
1001     18758 18279  0 17:36 pts/6    00:00:00 grep auro
$ ps -ef | grep anon
1001     18743 18279  3 17:35 pts/6    00:00:01 ./anoncoin-d/src/anoncoind
1001     18762 18279  0 17:36 pts/6    00:00:00 grep anon
Run Code Online (Sandbox Code Playgroud)

psu*_*usi 5

第六个字段指示运行命令的终端。就您的 grep 命令而言,它在 pts/6 或 6 号伪终端上运行,这恰好是分配给您打开的终端窗口的伪终端。守护进程不附加到任何终端;它们只是在没有人为交互的情况下在后台运行,因此出现“?”。