Possible to change the process name?

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
Vorkbaard
Newbie
Newbie
Posts: 22
Joined: August 13th, 2011, 5:43 pm

Possible to change the process name?

Post by Vorkbaard »

I'm running multiple instances (for mutiple users) of SABnzbd 0.6.9 on Windows Server 2008 R2 64-bit. I would like to be able to see which SABnzbd.exe process belongs to which user. Apart from changing the executable name, is there any way to distinguish between the processes?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Possible to change the process name?

Post by shypike »

No, because the OS doesn't know who is actually using a session,
assuming you don't run the sessions under different OS user accounts.
Renaming the EXE file is the only solution.
Vorkbaard
Newbie
Newbie
Posts: 22
Joined: August 13th, 2011, 5:43 pm

Re: Possible to change the process name?

Post by Vorkbaard »

Thanks for your reply. I had a little hope there'd be a forgotten command line parameter.

I *could* start the processes using "run as" of course...
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Possible to change the process name?

Post by shypike »

If the task manager shows you the parameters used to start the process, there may be an alternative.
SABnzbd.exe john -f c:\path\to\john.ini
The first "john" parameter will be ignored by SABnzbd.
Vorkbaard
Newbie
Newbie
Posts: 22
Joined: August 13th, 2011, 5:43 pm

Re: Possible to change the process name?

Post by Vorkbaard »

It doesn't show the parameters and SAB doesn't seem to work when started that way, although the process is started. It doesn't really matter, SABnzbd is quite stable and I rarely need to manage the process from the process manager. When necessary I'll fix up a script that finds out the newly started process id.

Thanks for your answer anyway :)
Vorkbaard
Newbie
Newbie
Posts: 22
Joined: August 13th, 2011, 5:43 pm

Re: Possible to change the process name?

Post by Vorkbaard »

I found a solution to my problem. In Windows Task Manager, go to View > Select Columns and check 'Command Line'.

Image
Post Reply