mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Software (https://www.mersenneforum.org/forumdisplay.php?f=10)
-   -   Getting mprime output on console window. (https://www.mersenneforum.org/showthread.php?t=24860)

storm5510 2019-11-29 15:58

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?

pepi37 2019-11-29 16:17

[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

paulunderwood 2019-11-29 16:41

[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.

storm5510 2019-11-29 17:29

[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.