prstat -L takes a long time if a process has large number of LWPs

(Doc ID 2187031.1)

Last updated on OCTOBER 05, 2017

Applies to:

Solaris Operating System - Version 11.1 and later
Solaris x64/x86 Operating System - Version 11.1 and later
Information in this document applies to any platform.


"prstat -L" can take hours to complete.

Truss of "prstat -L" shows the last PID that it is examining, and after that it is continuously calling brk(2) to allocate more and more memory.

Example of truss output:




Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms