If you run the process from a script then sleep(1) is what you want. Start the process, sleep for 30 minutes and then check for the process using pgrep(1) or similar.
A simple way could be to:
Identify the process to monitor and create a trigger for monitoring it (such as a shell script) that are armed when the process time exceeds 30 min, and then do the paging.
Check the "IBM.Program" resource class and "Processes" resource: "IBM.Program Each resource of this class represents a program that is running on the host. " (Resource classes defined by the host resource manager)