Page 1 of 1

How to monitor multithreading

Posted: Fri Jul 24, 2015 2:44 pm
by moldster101
Hi,

I'm an Oracle developer so have very little OO knowledge. What's the easiest way when OO is running to determine if it is running multi threaded?

ps -ef |grep ooo just shows the java class looks like it's defined to thread
/usr/bin/java -jar /opt/oooserver/ooo_server1_1_1.jar -l 12000 -s 22000 -b 10.123.26.23:21000 -r 21001-21004 -t 120 -log

top shows me soffice process, which sometimes seems to spawn more of itself.

Any tips would be most welcome.

Cheers
C

Re: How to monitor multithreading

Posted: Sat Jul 25, 2015 7:03 pm
by Hagar Delest
Hi and welcome to the forum!

This is a rather technical question and I doubt that a user in this forum can reply. You should ask the AOO dev mailing list.

Re: How to monitor multithreading

Posted: Sat Jul 25, 2015 7:18 pm
by Villeroy
moldster101 wrote:top shows me soffice process, which sometimes seems to spawn more of itself.
AFAIK, this should never happen.

Re: How to monitor multithreading

Posted: Sat Jul 25, 2015 8:55 pm
by B Marcelly
On Windows, at least :
if you have several "users" running OpenOffice on the same computer, you will have as many soffice.exe and soffice.bin.
In OpenOffice, each user has a specific profile where its configuration is stored.

To start soffice for a particular user, search help on "command line parameters":
Help wrote:-env
Sets another environment for the program start.
Use soffice -env:UserInstallation=$(URL) where $(URL) is the URL of a folder that contains the "user" folder.