Here are the "nuggets" that we use the most:
| :magnet "-f@.src fopen -c -l -e" | {search @.src for "fopen", any case} |
| :magnet "hpta" | {find lowercase 'hpta' in logon group} |
| :magnet "-f@.@-@.pub fopen" | {search all groups except pub} |
Here is some typical output from the Status command:
Memory size: 24,576 logical pages (96 MB)
9,284 Dirty, 17,528 Referenced, 338 Unused, 5,099 Frozen.
(5,715 Dirty, 12,721 Referenced of the unfrozen pages)
State of in-use pages:23,975 Present,0 IMI,81 ROC,133 Absent.
Memory usage by "type" of Object Class:
Class LogicalPages MB % total
------------- ------------- --- -------
SYSTEM_CODE 3,817 14 15.5%
SYSTEM_DATA 8,409 32 34.2%
RESERVED 49 0 0.2%
UNUSED 338 1 1.4%
TURBO_DATA 1,685 6 6.9%
USER_CODE 6,162 24 25.1%
USER_DATA 234 0 1.0%
USER_STACK 1,359 5 5.5%
USER_FILE 2,523 9 10.3%
Totals: 24,576 96 100.0%
"User" pages are 50.1% of memory (49 MB out of 96 MB)
COUNT the
number of logical
pages
currently in memory, FETCH
the entire file into memory, FREEZE it in
memory, and THAW it
out of memory (Freeze and Thaw require
Privileged Mode capability).
Here is a sample Cseq run showing the parameters of the ASCII intrinsic and giving you tips:
NM: Function ASCII (
word : UInt16 ; {R26}
base : int16 ; {R25}
string : anyvar record ) {R24}
:= #chars : int16 {r28}
{Bases: 10, 8, -10, and (MPE/XL base 16 }
{Note: bases 8 and 16 return wrong character count}
{Note: -10 moves backward }
uncheckable_anyvar
Thus, ASCII is a Function that returns a 16-bit signed integer value
in register 28.
Word is an unsigned 16-bit integer value passed
in register 26. Base is a signed 16-bit integer in R25 and String
passes in R24 the address of a record of any data type. The caller does not
pass any hidden size parameters to describe "anyvar"
parameters (uncheckable_anyvar).
If you see extensible 2 that means the number of actual parameters
is passed as a hidden value in R26 and that at least the first 2
parameters are required.