python在linux中用setproctitle自定义进程名 在linux中,如果想用python自定义进程名,需要用到第三方库setproctitle。 #coding:utf8 import setproctitle setproctitle.setproctitle("进程别名")