[Lazarus] Process ID

ik idokan at gmail.com
Wed Sep 12 19:36:52 CEST 2012


On Wed, Sep 12, 2012 at 7:22 PM, Ian Godman <ian at gravytrain.co.uk> wrote:
> 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.

"pidof" is much more effective for it.

>
> Also top will tell you the running processes and how much memory / cpu
> each is using. Use q to exit.
>
>
> Ian
>
> 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
>>
>>
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus




More information about the Lazarus mailing list