The minimum items for data capture are:
ps -ef
ipcs -a
lsof
This command is available from third-party UNIX tool suppliers.
It is important that the data capture process is non-destructive, that is, does not damage a healthy system, and that it is non-blocking, that is, does not wait on anything that may not complete in a sick system.