On 02/09/2016 04:10 AM, Bo Berglund wrote:
On Mon, 8 Feb 2016 23:24:35 +0100, [email protected] wrote:

I am using Lazarus 1.6RC2 and FPC 3.0.0 on Raspbian Jessie.
reboot ist not needed on linux
use a console and kill command
Ctrl-Alt-F1 for console

Or use the terminal icon on the taskbar, right?
But then what? How do I use kill to shut down Lazarus?
I am used to Windows Task Manager where the running programs are
listed and one can stop it, but how do I get a corresponding list in
which to select Lazarus in Linux?

i generally use something like this

  ps aux | grep -Ei -e "[l]azarus"

the square braces around the first letter in the grep cause grep to find the real occurrence and not a second one which would be itself...

one can also use the system monitor or top or numerous other tools that show what programs and services are running... most all of those will show the pid...

i was also thinking that there might be a pid file for lazarus... they're generally found in /var/run but i don't see one in there... IF there were one, one could use a command similar to this...

  kill -TERM `cat /var/run/Lazarus.pid`

OR

  kill -TERM `pgrep Lazarus`


note that there is case sensitivity at play with the file name of the PID... and once again, lazarus apparently does not have a pid file...

--
 NOTE: No off-list assistance is given without prior approval.
       *Please keep mailing list traffic on the list* unless
       private contact is specifically requested and granted.

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to