diff --git a/client.js b/client.js index 58dd0689..8310c9bf 100644 --- a/client.js +++ b/client.js @@ -33,6 +33,11 @@ if (!fs.existsSync("./sharedMods/")) { const instance = process.argv[3]; const instancedirectory = './instances/' + instance; const command = process.argv[2]; + +// Set the process title, shows up as the title of the CMD window on windows +// and as the process name in ps/top on linux. +process.title = "clusterioClient "+instance; + var instanceInfo = {}; // function to handle sending commands into the game diff --git a/master.js b/master.js index 1e642f13..25d47a5e 100644 --- a/master.js +++ b/master.js @@ -1,3 +1,7 @@ +// Set the process title, shows up as the title of the CMD window on windows +// and as the process name in ps/top on linux. +process.title = "clusterioMaster"; + // configgy stuff debug = false;