On Tue, Mar 1, 2011 at 7:25 PM, Joerg Schilling <joerg.schill...@fokus.fraunhofer.de> wrote: > Kishore Kumar Pusukuri <kish...@cs.ucr.edu> wrote: > >> Hi, >> Using either uptime(1) command or getloadavg(3) system call, we can measure >> average system load with minutes resolution. However, I would like to >> measure average system load (average number of active threads) with >> milliseconds resolution. > > BTW: I am looking for suggestions on how to implement a "parallel make" that > is allowed to call up to say 4 concurrent jobs. WOuld it be sufficient to > check > the loadaverage by calling getloadavg(3) to be <= 4? >
I found this link which might throw more light on these questions: http://solarisinternals.com/wiki/images/2/28/Technocrat-util.pdf In addition the following BigAdmin article describes how to use DTrace to collect run-queue size with millisecond precision: http://www.sun.com/bigadmin/jsp/descFile.jsp?url=descAll/runqueue_d_collect_ Regards, Moinak. -- ================================ http://www.belenix.org/ http://moinakg.wordpress.com/ _______________________________________________ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org