If I remember correctly, sp_who2, is just like sp_who from MS-SQL right?
Well, if so, issuing the < onstat -g ses > Informix command,
will get you the same info from sp_who2:
The system process ID.
The status of the process (e.g., RUNNABLE, SLEEPING).
Login name of the user.
Machine name of the user.
Name of database the process is using.
The command currently being executed (e.g., SELECT, INSERT)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.