yeoea1
23rd July 2003, 15:41
Hi,
Can any one show me how to use pstat?
I have tried the example script from the help and it give the following error when compiling?
Argument 1 for function 'pstat' should be call by reference
my pstat statement is as follow:
procid = pstat (-1, progname, info)
Actually what I am trying to do is to using pstat to get the pid for all the processes in my bshell and show it on a form. Just like running ps on the shell. I am trying to get the session name and pid currently active from the ps command in shell and display on a form. Is this possible?
Can any one show me how to use pstat?
I have tried the example script from the help and it give the following error when compiling?
Argument 1 for function 'pstat' should be call by reference
my pstat statement is as follow:
procid = pstat (-1, progname, info)
Actually what I am trying to do is to using pstat to get the pid for all the processes in my bshell and show it on a form. Just like running ps on the shell. I am trying to get the session name and pid currently active from the ps command in shell and display on a form. Is this possible?