Hi Solaris gurus: I encountered a issue that running ps -p on java process running very slow, it took almost 2 seconds to complete.
I issued a truss on the "ps -p <pid>" command, the following is part of the output: /1: 0.0001 fstat(1, 0xFFFFFFFF7FFFE1F0) = 0 /1: 0.0000 write(1, " U I D P".., 55) = 55 /1: 0.0002 open("/proc/19299/psinfo", O_RDONLY) = 3 /1: 1.3170 read(3, "02\0\0\0\0\0\011\0\0 K c".., 416) = 416 /1: 1.2401 close(3) = 0 /1: 0.0002 stat("/dev/tty", 0xFFFFFFFF7FFFE830) = 0 It seems that the read() spent the most time. Anyone can help? This message posted from opensolaris.org _______________________________________________ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org