![]() |
Getting mprime output on console window.
Hi,
I run mprime on ubuntu. Since I put it in the startup folder to run when my machine starts, I don't get any output. I'd like to know what ms/iter I'm getting. Is there anything I can do? Will |
mprime -d
|
I've tried putting the command
mprime/mprime -d as the command run on boot. The thing is, because the program isn't started [B]from[/B] the console, there's nothing to see. If I run mprime -d after boot, mprime says there's another mprime running so nothing happens. |
This is my crontab entry:
[CODE]@reboot screen -S mprime -d -m /home/george/Prime95/mprime -d[/CODE] Screen -r lets me see mprime's output whenever I'm in the mood. |
Does ubuntu have crontab file or whatever it is? All I know how to do is enter a command in a window box called startup applications.
|
[QUOTE=wildrabbitt;528365]Does ubuntu have crontab file or whatever it is? All I know how to do is enter a command in a window box called startup applications.[/QUOTE]
Yes, Ubuntu should have a crontab, To list use [C]crontab -l[/C] and to edit it use [C]crontab -e[/C]. Then insert the "@reboot" line like the one given by Prime95 and remove the "startup" method you did. |
[QUOTE=Prime95;528364]This is my crontab entry:
[CODE]@reboot screen -S mprime -d -m /home/george/Prime95/mprime -d[/CODE] Screen -r lets me see mprime's output whenever I'm in the mood.[/QUOTE] For Mlucas runs, I just do '[i]tail -2 [path to run directory]/*stat && date[/i]'. As each assignment finishes I move its pXXX* files (every-10Miter persistent savefiles and .stat file) into an archive directory, so there is once again a unique .stat file in the rundir, which is a requirement for 'tail' with any non-default line-display count to work. |
Thanks very much guys. I've got crontab to do what I needed. Thanks.
|
Hi guys,
I've got into a bit of trouble. My crontab file has these two lines in @reboot screen -S mprime -d -m \home\william\mprime\mprime -d @reboot pactl load-module module-loopback When I type in screen -r I'm told there's no screen to resume. Is there anything obviously wrong? |
[QUOTE=wildrabbitt;530444]Hi guys,
I've got into a bit of trouble. My crontab file has these two lines in @reboot screen -S mprime -d -m \home\william\mprime\mprime -d @reboot pactl load-module module-loopback When I type in screen -r I'm told there's no screen to resume. Is there anything obviously wrong?[/QUOTE] Use forward slashes. |
Thanks.
|
I decided to put Ubuntu onto my HP, and everything seems to be working. Thanks to this thread, I have an output on the screen.
My question: Is using Ctrl-Z a proper way to stop [I]mprime[/I] or is it better to simply close the terminal window? |
[QUOTE=storm5510;531692]I decided to put Ubuntu onto my HP, and everything seems to be working. Thanks to this thread, I have an output on the screen.
My question: Is using Ctrl-Z a proper way to stop [I]mprime[/I] or is it better to simply close the terminal window?[/QUOTE] I use top, find process ID and kill it |
[QUOTE=pepi37;531693]I use top, find process ID and kill it[/QUOTE]
That is one way. Or you can see if is running with (process ID) [c]pidof mprime[/c] and the stop it completely with [c]killall mprime[/c] ^C (Ctrl-c) in a terminal running it will stop it too. ^Z (Ctrl-z) merely suspends it and you can use [c]fg[/c] to resume it. |
[QUOTE=paulunderwood;531695]That is one way. Or you can see if is running with (process ID) [c]pidof mprime[/c] and the stop it completely with [c]killall mprime[/c]
^C (Ctrl-c) in a terminal running it will stop it too. ^Z (Ctrl-z) merely suspends it and you can use [c]fg[/c] to resume it.[/QUOTE] [c]Ctrl-Break[/c] does not work. When I would restart, it would say that [I]mprime[/I] was already running. I would go to the System Monitor, find it in a long list, and kill it from there. I remember using ^C in the past, but did not think of it in this instance. Linux, whatever flavor, is mentioned here a lot and I am determined to learn it. I feel I have made a tiny bit of progress in just a few hours. I am quite pleased with how it [[I]mprime[/I]] is running. [U]Thank you[/U]! :smile: |
| All times are UTC. The time now is 18:30. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.