Searched refs:running (Results 1 - 20 of 20) sorted by relevance

/ast/src/lib/libcoshell/
H A Dcowait.c55 * the number of running+zombie jobs
123 n += (co->outstanding + co->svc_outstanding) - (co->running + co->svc_running);
167 errormsg(state.lib, 2, "coshell %d zombie wait %lu timeout=%d outstanding=<%d,%d> running=<%d,%d>", co->index, serial, timeout, co->outstanding, co->svc_outstanding, co->running, co->svc_running);
169 if ((co->outstanding + co->svc_outstanding) > (co->running + co->svc_running))
179 errormsg(state.lib, 2, "coshell %d zombie wait %lu timeout=%d outstanding=<%d,%d> running=<%d,%d> reap job %d", co->index, serial, timeout, co->outstanding, co->svc_outstanding, co->running, co->svc_running, cj->id);
190 if (co->running > 0)
225 errormsg(state.lib, 2, "coshell %d wait %lu.%d timeout=%d outstanding=<%d,%d> running=<%d,%d>", co->index, serial, loop, timeout, co->outstanding, co->svc_outstanding, co->running, c
[all...]
H A Dcokill.c52 co->running--;
59 co->running--;
H A Dcoclose.c59 if (co->running > 0)
H A Dcoshell.h97 Coshell_t* coshell; /* running in this coshell */
114 int running; /* number of running jobs */ member in struct:Coshell_s
H A Dcoexec.c443 co->running++;
/ast/src/cmd/coshell/
H A Djob.c46 if (state.con[fd].info.user.running)
98 * check the job table for hogs running on busy shells
172 if (state.running < (state.perserver + state.jobwait) && state.con[jp->fd].info.user.running < (state.peruser + 1) && (sp == &state.wait || sp->running < ((state.perhost ? state.perhost : sp->cpu * state.percpu) + 1)))
183 else if (!state.busy || !state.running) cswakeup(state.wakeup = 0L);
230 else if (jp->shell->running)
232 jp->shell->running--;
233 if (!--state.running)
243 state.con[jp->fd].info.user.running
[all...]
H A Dshell.c174 for (jp = state.job; sp->running && jp <= state.jobmax; jp++)
179 sp->running--;
238 if (state.running >= (state.perserver + state.jobwait) || con[fd].info.user.running >= state.peruser)
288 if (!state.running++)
293 con[fd].info.user.running++;
298 sp->running++;
H A Dservice.h251 short running; member in struct:__anon62
319 int running; member in struct:__anon66
H A Dschedule.c46 #define RNK(p,a) (((p)->mode&SHELL_DISABLE)?INT_MAX:((p)->flags&IGN)?(INT_MAX/2):((((p)->stat.load/(p)->scale)+((p)->running*BIAS+CPU((p)->cpu,(a)->bias)))*(p)->bias*(((p)==state.home&&(p)->cpu==1)?400:100)/(p)->rating))
259 if (!ap->running && !ap->home)
281 if (v < sv && ap->running < (state.perhost ? state.perhost : ap->cpu * state.percpu) && (!state.maxload || (ap->stat.load / ap->scale) < state.maxload) && (!sp || bypass || IDLE(ap->stat.idle, ap->idle) || !IDLE(sp->stat.idle, sp->idle)))
295 if (!xp->running && (nopen - xp->cpu >= state.pool + noverride || state.open - xp->cpu >= state.fdtotal / 2 || xp == dp && cs.time > dt && (!xm || !mp || mp->rank < PCT(xp->rank, H_RANK))))
456 if (sp->running) jobcheck(sp);
H A Dcommand.c532 sfprintf(state.string, " running %-6d ", state.running);
739 , sp->running
760 tot.running = state.running;
779 if (state.running)
786 sfsprintf(num[2], sizeof(num[2]), "%d/%d", tot.running, state.jobs);
799 sfprintf(state.string, "%3d%6d%5d%6d %-28s %s\n", n, con[n].info.user.pid, con[n].info.user.running, con[n].info.user.total, cspath(con[n].info.user.fds[2], 0), con[n].info.user.attr.label);
H A Dmain.c41 "processes running on the home host have access to the server. The "
57 "[+?The server is started by running \acoshell +\a. The command exits "
439 if (sp && sp->running)
584 state.con[fd].info.user.running = 0;
884 if (errno == ENOENT) error(3, "%s: server not running", state.service);
/ast/src/cmd/at/
H A Datd.c70 int running; member in struct:__anon33
83 int running; member in struct:__anon34
99 int running; member in struct:__anon35
155 int running; /* total running jobs */ member in struct:__anon39
523 job->owner->running--;
524 job->owner->user->running--;
533 job->queue->running--;
534 state->running--;
625 if ((que->nproc <= 0 || que->running < qu
[all...]
/ast/src/cmd/ksh93/include/
H A Dname.h104 short running; /* function is running */ member in struct:Ufunction
/ast/src/cmd/pax/
H A Dtar.sh74 running the tar program, rather than those on tarfile.]
/ast/src/cmd/ie/
H A Deditlib.c67 * If you are running with case 1, then just call read() in the usual
/ast/src/cmd/ksh93/sh/
H A Dnvdisc.c358 if(nq && nq->nvalue.rp->running==1)
360 nq->nvalue.rp->running=0;
420 if(nq && nq->nvalue.rp->running==1)
422 nq->nvalue.rp->running=0;
H A Djobs.c623 /* no job control when running with MPX */
749 register int count = 0, running = 0; local
764 running++;
778 else if(running && shp->login_sh)
H A Dxec.c3487 np->nvalue.rp->running += 2;
3528 np->nvalue.rp->running -= 2;
H A Dname.c2497 np->nvalue.rp->running |= 1;
/ast/src/cmd/ksh93/bltins/
H A Dtypeset.c1255 else if(isfun && !(np->nvalue.rp && np->nvalue.rp->running))

Completed in 63 milliseconds