[0.17.x] Process name in linux is "Main"

This subforum contains all the issues which we already resolved.
Post Reply
fstd
Burner Inserter
Burner Inserter
Posts: 10
Joined: Sat Apr 28, 2018 11:42 am
Contact:

[0.17.x] Process name in linux is "Main"

Post by fstd »

In 'top', the name of the factorio process is "Main". This leads to pgrep not working. In 'ps', it's the path to the binary (which seems okay to me)

consider:

$ ps auxww | grep factorio
fstd 21028 43.6 57.0 11913472 9337328 pts/26 RLl+ Mar09 784:27 ./bin/x64/factorio
$ pgrep -l factorio
$ pgrep -l Main
21028 Main
$

I don't know whether this is due to setproctitle(3) or setprogname(3). Could you change that so it reads 'factorio' instead?

Oxyd
Former Staff
Former Staff
Posts: 1428
Joined: Thu May 07, 2015 8:42 am
Contact:

Re: [0.17.x] Process name in linux is "Main"

Post by Oxyd »

Thanks, fixed in 0.17.11.

Post Reply

Return to “Resolved Problems and Bugs”