What I want to know is if the user has started new sessions in a defined interval. This sessions can be closed at the time I want to know the first free pid.
The purpose is to check user activity.
It will be a background session running at certain intervals and check if the users has started new sessions. This sessions could be closed in this cut or opened; I only want to Know if pids are getting higher.
I have tried this:
Global variable with value max.pid starting with this process pid.
Each 15 seconds, use get.var(max.pid + counter,"prog.name$",str.prog.name)
and counter descending till get.var returns 1.
It is not a start of the art method, but I do not find any better.
Tahnak's
|