This information includes:
Process state, environment, arguments and flags
CPU usage
Scheduling
I/O usage
Virtual memory status
Pagefaults
Capabilities
Signals
psinfo is useful for providing a detailed view of the current state of an application when diagnosing issues or performance problems.
INSTALLATION
psinfo requires Linux kernel 2.6.0 or greater.
Download psinfo from here and compile and install it using following command:
# make
# make install
psinfo can be run as an orindary user but certain features (environment, executable, current working directory and root directory) require root rights and are marked n/a in output otherwise.
source:http://linuxpoison.blogspot.com/2010/08/13578167752739.html