[Info-vax] vms base priority watch

VAXman- at SendSpamHere.ORG VAXman- at SendSpamHere.ORG
Sun Jul 24 22:12:16 EDT 2011


In article <paul.nospam-822E90.14463124072011 at pbook.sture.ch>, Paul Sture <paul.nospam at sture.ch> writes:
>In article <00AB2C94.A89B1D8F at SendSpamHere.ORG>,
> VAXman-  @SendSpamHere.ORG wrote:
>
>> In article <j0e4tb$tmm$1 at news.albasani.net>, Jan-Erik Soderholm 
>> <jan-erik.soderholm at telia.com> writes:
>> >Paul Sture wrote 2011-07-23 06:56:
>> >> In article
>> >> <602ebbf9-1168-4123-9f7c-007d9f9c9f13 at glegroupsg2000goo.googlegroups.com
>> >>> ,
>> >>   "pcoviello at gmail.com"<pcoviello at gmail.com>  wrote:
>> >>
>> >>> no it wasn't base hence my confusion... just trying to translate PID to
>> >>> username with above info...
>> >>
>> >> Try this, substituting the desired PID as necessary
>> >>
>> >> $ write sys$output f$getjpi("0005FDE1" ,"username")
>> >>                               ^^^^^^^^
>> >>
>> >> See HELP LEXICALS F$GETJPI for mor details.
>> >>
>> >> You will need WORLD privilege to do this for users not in the same group
>> >> as your process (or GROUP privilege if they are in the same group as
>> >> your process).
>> >>
>> >
>> >Or shorter :
>> >
>> >$ sho proc/id=0005FDE1
>> >
>> >Shows both "username" and "base prioroty" at the same time...
>> 
>> ...and a "$ SHOW PROCESS/CONTINUOUS/ID=0005FDE1" would allow monitoring
>> of both the current and base priority.
>
>FWIW I usually define this as a foreign command in my LOGIN.COM:
>
>$ inf*o :== SHOW PROCESS/CONTINUOUS/ID='p1'
>
>WHy "info"?  Because that was the name of the utility that was 
>superseded by SHOW PROCESS/CONTINUOUS.
>
>Incidentally I have just noticed that the following has appeared in the 
>help for SHOW PROCESS/CONTINUOUS, at some point since 7.3:. 
>
>Key        Action
>
>E          Exits the continuous display.
>Q          Dynamically displays process quotas.
>T          Displays information for threads in the process. Press
>           the T key repeatedly to cycle through multiple threads.
>V          Displays a map of the pages in the virtual address
>           space of the process.
>
>           Each character displayed in the map represents the type
>           of page. If the current program counter is in the page,
>           the page type is indicated by an at sign (@). Pages
>           locked in the working set are indicated by the lette
>           L. Global pages are indicated by the letter G. Other
>           valid pages in the working set are indicated by an
>           asterisk (*).
>Space      Returns to the default display.
>bar

The V and E have been there for a long time; the T and Q were more recent
additions.

-- 
VAXman- A Bored Certified VMS Kernel Mode Hacker    VAXman(at)TMESIS(dot)ORG

All your spirit rack abuses, come to haunt you back by day.
All your Byzantine excuses, given time, given you away.



More information about the Info-vax mailing list