How to monitor multithreading

Java, C++, C#, Delphi... - Using the UNO bridges
Post Reply
moldster101
Posts: 1
Joined: Fri Jul 24, 2015 2:40 pm

How to monitor multithreading

Post 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
buildid=320m12(Build:9483)
ExtensionUpdateURL=http://updateext.services.openoffice.or ... eck.Update
OOOBaseVersion=3.2
ProductBuildid=9483

LINUX
User avatar
Hagar Delest
Moderator
Posts: 32627
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: How to monitor multithreading

Post 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.
LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10
User avatar
Villeroy
Volunteer
Posts: 31269
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: How to monitor multithreading

Post by Villeroy »

moldster101 wrote:top shows me soffice process, which sometimes seems to spawn more of itself.
AFAIK, this should never happen.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
B Marcelly
Volunteer
Posts: 1160
Joined: Mon Oct 08, 2007 1:26 am
Location: France, Paris area

Re: How to monitor multithreading

Post 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.
Bernard

OpenOffice.org 1.1.5 / Apache OpenOffice 4.1.1 / LibreOffice 5.0.5
MS-Windows 7 Home SP1
Post Reply