home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 11 Util
/
11-Util.zip
/
yap.zip
/
yap.doc
next >
Wrap
Text File
|
1995-06-16
|
2KB
|
68 lines
Yap displays currently running OS/2 processes and a host of information
about them. There are a myriad of options and if you like, you can save
your favorite options permanently into your own customized copy of yap.
USAGE: yap [processname] [options] where options are
+thread - show thread information
radix=<10 or 16>
+color - use ANSI color
+kill - kill processes (asks first)
-query - don't ask before killing
[processname] will display any process which contains this string.
Each column of data that YAP displays is called a field. You can specify
which fields you want displayed. You can sort the display by any of the
fields and you may specify particular values and display only processes
that fit those values.
The fields are
pid Process id
ppid Parent pid
ty Process type
st Process status
ss Session
time CPU time
utime User time
pri Priority of highest priority thread
+<field> - turns on display of a field
-<field> - suppresses display of a field
sort=<field> - to sort on a particular field
<field><operator><value>
Where operators are
} greater than or equal to
{ less than or equal to
= equal to
! not equal to
CUSTOMIZING YAP
save=<exe file name>
Save current settings to custom version of yap. Note you cannot save
yap.exe back to itself. You must make up your own new name. OS/2 will
not permit a file that is open for execution (YAP.EXE) to be written to.
EXAMPLES
yap ppid=10 os2
Show all processes with parent pid equal to 10 (ppid=10) and which
contain os2 as part of their name.
yap sort=time
Show all processes and sort them in order of CPU utilization
(sort=time)
yap +kill pri}300 -query save=KILL.EXE
Kill processes (+kill) running at priority 300 or above (pri}300) and
don't ask before killing (-query). Save these options into a file
called KILL.EXE (save=KILL.EXE). Now KILL.EXE is its own utility that
when executed kills processes running at priority 300 or above.
yap PM*.EXE +thread +color
List all processes that fit the name PM*.EXE, show their individual
threads (+thread) and use color in the display (+color)