> > Im trying to write some scripts to record some times for creating > > graphs. Im trying to use the time command and have it output to a > > file. In the man page it gives details of how one can use the -o and > > -a switches to output to and append to a file. However the utility > > does not seem to recognise these switches. It does mention that these > > are GNU options but I thought the version I had was the GNU version. > > Any help is greatly appreciated. > > > You may find it easier to use /usr/bin/date in your scripts......
Date won't give him the same stats as time (time shows the different usage of kernel & user times, etc.). For the OP, the man page is probably from the generic man pages ebuild, but the time you have is probably the built-in shell version (verify by typing "which time" and you'll probably get the 'no time in ...' response). You can find the gnu version of time at http://www.gnu.org/software/time/time.html. Dave -- [email protected] mailing list
