Operating System - OpenVMS
1828239 Members
2213 Online
109975 Solutions
New Discussion

Re: Status of system task on openvms

 
SOLVED
Go to solution
Ronni_1
Occasional Contributor

Status of system task on openvms

Hi Everyone,

What does it mean the following tasks status in the openvms system:

HIB, COM, LEF

I need to start two tasks in order to start a particular system but when i check the tast status I see those task with an status of: LEF,

What does it mean?

Thanks in advance,

Ronni.
6 REPLIES 6
Jan van den Ende
Honored Contributor
Solution

Re: Status of system task on openvms

Ronni,

COM COMputable, ready to run as soon as CPU available
HIB HIBernating (compare SLEEP) waiting for "something" (maybe just a timer expiring) to re-awaken it
LEF LocalEventFlagwait waiting for some external event (usually, but not exclusively) an interrupt by a periferal device (a keyboard key hit, an IO request satisfied..)

Hth,

Proost.

Have one on me.

jpe
Don't rust yours pelled jacker to fine doll missed aches.
Uwe Zessin
Honored Contributor

Re: Status of system task on openvms

HIB = hibernated - it's a voluntarily entered wait state, because the process called he SYS$HIBER() system service.

COM = computable - the process is waiting to be scheduled on a CPU

LEF = local event flag wait - can be many things - you would have to dive into the process' control structures to find out what the process is waiting for (e.g. the process could be at the command prompt waiting for user input)
.
Ronni_1
Occasional Contributor

Re: Status of system task on openvms

Jan and Uwe,

Thanks a lot for helping me.

Regards,

Ronni.
Mike Reznak
Trusted Contributor

Re: Status of system task on openvms

Hi,

some more states ;o)

CEF (Common event flag wait)
COLPG (Collided page wait)
COM (Computable)
COMO (Computable but outswapped)
CUR (Current)
FPG (Free page wait)
HIB (Hibernating)
HIBO (Hibernating and outswapped)
LEF (Local event flag wait)
LEFO (Local event flag wait and outswapped)
MUTEX 1 (Miscellaneous wait)
PFW (Page fault wait)
PSXFR (POSIX fork wait)
RWAST (AST wait)
RWBRK (Waiting for BROADCAST to finish) RWCAP (CPU capability required)
RWCLU (Cluster transition wait)
RWCSV (Cluster server)
RWIMG (Image activation lock)
RWLCK (Lock ID database)
RWMBX (Mailbox full)
RWMPB (Modified page writer busy)
RWMPE (Modified page list empty)
RWNPG (Nonpaged pool)
RWPAG (Paged pool)
RWPFF (Page file full)
RWQUO (Pooled quota)
RWSCS (SCS wait)
RWSWP (Swapfile spacelist empty)
SUSP (Suspended)
SUSPO (Suspended and outswapped)

Mike
...and I think to myself, what a wonderful world ;o)
Ian Miller.
Honored Contributor

Re: Status of system task on openvms

LEF is local event flag wait. You can determine which event flag by looking in SDA at the event flag wait mask

ANAL/SYS
SDA> SHOW PROCESS/ID=pid

and look for 'Waiting EF Cluster' and 'event flag wait mask' (you may need to press return for more). The event flag wait mask has a bit clear for each flag for which the process is waiting. The Waiting EF Cluster tells you which set of 32 event flags.

You may find this useful
ftp://ftp.process.com/vms-freeware/fileserv/pwait_sda.zip


Determining what is going to set the event flag is the problem as it may be any system service that can set an event flag. Its often an I/O request (look for busy channels in SHOW PROC/CHAN) or a lock request (look at locks with SHOW LOCK/WAITING).
____________________
Purely Personal Opinion
Ronni_1
Occasional Contributor

Re: Status of system task on openvms

Mike & Ian,

Thanks a lot for helping me with it.

Your comments are really helpfull.

Regards,

Ronni.