Date: Wed, 15 May 2002 10:46:09 -0700 From: Alfred Perlstein <bright@mu.org> To: Zhihui Zhang <zzhang@cs.binghamton.edu> Cc: Terry Lambert <tlambert2@mindspring.com>, Doug White <dwhite@resnet.uoregon.edu>, freebsd-hackers@FreeBSD.ORG Subject: Re: Collect process sleeping statistics Message-ID: <20020515174609.GK1585@elvis.mu.org> In-Reply-To: <Pine.SOL.4.21.0205151325290.17622-100000@onyx> References: <3CE1F48A.532F0649@mindspring.com> <Pine.SOL.4.21.0205151325290.17622-100000@onyx>
next in thread | previous in thread | raw e-mail | index | archive | help
* Zhihui Zhang <zzhang@cs.binghamton.edu> [020515 10:33] wrote: > > Basically I have a program that does a lot of I/O and alloctes/frees a lot > of memory. The time command gives result like this: > > 6.239u 19.329s 7:59.76 5.3% 310+775k 3993+246io 7pf+0w > > I want to know why CPU is running only 5.3% of the total time. I just > want know how long it is waiting for memory and how long it is waiting for > I/O. No other process is running at the same time. When not condending against other processes, almost all time not spent on CPU is waiting for IO. -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020515174609.GK1585>