home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Pier Shareware 6
/
The_Pier_Shareware_Number_6_(The_Pier_Exchange)_(1995).iso
/
035
/
cenvi29.zip
/
PROCLIST.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1994-03-08
|
682b
|
18 lines
EXTPROC CEnvi
/***************************************************************************
*** ProcList.cmd - CEnvi program to list the names of processes running ***
*** ver.1 and the ID of each process. ***
***************************************************************************/
PList = ProcessList()
assert( NULL != PList )
Count = 1 + GetArraySpan(PList)
printf(" ID Parent name FullName\n");
printf("---- ------ -------- -------------\n");
for ( i = 0; i < Count; i++ ) {
printf(" %-6d%-7d%-10s%s\n",
PList[i].id,PList[i].parent,
SplitFileName(PList[i].name).name,PList[i].name)
}