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. 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 > [email protected] > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus > > -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
