[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: a question about program compilation and disk io
On Mon, Oct 08, 2001 at 04:27:01PM +0800, Zou Min wrote :
> Hi,
>
> I would like to ask a question regarding to the number of disk reads
> over a compilation workload in Linux.
>
> For example, if the workload is "g++ -c xxx.c", except that "g++" program
> and source code "xxx.c" will be loaded into memory, what else will be read
> from disk?
>
> Thanks in advance!
>
Look at strace.
man strace
strace g++ -c xxx.c
--
Stéphane LIST -- <stephane.list@fr.alcove.com>
Alcôve, l'informatique est libre -- <http://www.alcove.com/>
-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
IRC Channel: irc.openprojects.net / #kernelnewbies
Web Page: http://www.kernelnewbies.org/