Thank you very much, as you said, the redirected files appeared in the
output folder that I specified.

On Tue, Jan 16, 2024 at 10:16 PM Eliot Moss via gem5-users <
gem5-users@gem5.org> wrote:

> On 1/16/2024 1:15 AM, sun2k23 via gem5-users wrote:
> >
> > I think maybe you can try /sbin/m5  utility, using the writefile option.
> Then you can redirect the virtual OS
> > environment files to local Hosts.
> > The command format is like below:
> >
> >
> > S2K
> >
> >
> >
> > At 2024-01-16 11:41:57, "hu miao via gem5-users" <gem5-users@gem5.org>
> wrote:
> >
> >     Hi:
> >          First of all, I am very, very grateful to Hao Nguyen, who
> answered me another question about full system
> >     simulation the other day, because I don't know much about gem5 user
> lists, and clicking on the reply below always
> >     shows a connection error, so I haven't been able to reply.
> >          I still want to ask a question today about whole-system
> simulation. I'm using a full system simulation to test
> >     the MachSuite benchmark, MachSuite contains a lot of algorithms, and
> I want to know how long each algorithm runs. I
> >     let the running time of each algorithm be printed to the output
> .txt, which makes it easier for me to organize the
> >     data, but I found that the directory that exists after logging in
> with m5term localhost 3456 is [root@gem5-host],
> >     and the file is also under this environment, how can I save the
> output .txt file in my own server directory or how
> >     can I retrieve the output.txt file from [root@gem5-host].
> >     If someone could answer my question, I would greatly appreciate it.
>
> Actually, you can set the output directory from the command line to gem5.
> I do that so that each run goes into a different directory.  I'm sure that
> people have written all kinds of shell scripts wrappers (as I have) to
> handle this.
>
> Eliot Moss
> _______________________________________________
> gem5-users mailing list -- gem5-users@gem5.org
> To unsubscribe send an email to gem5-users-le...@gem5.org
>
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org

Reply via email to