[Lazarus] Process ID

Ian Godman ian at gravytrain.co.uk
Wed Sep 12 18:22:48 CEST 2012

You can use the ps command to list process status. Many option so try
man ps or info ps for further information.

To get process info for other users you need root privilege, sudo ps
should do that.

Also top will tell you the running processes and how much memory / cpu
each is using. Use q to exit.


On 12/09/12 15:59, Antonio Fortuny wrote:
> Hi list.
> Which function to use in Linux (if any) to get the process ID of a
> running process which is not mine. GetProcessID retrieves my own process
> ID.
> I'm using OpenProcess in Win
> Antonio.
> -- 
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

More information about the Lazarus mailing list