/ast/src/lib/libcoshell/ |
H A D | cowait.c | 55 * 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 D | cokill.c | 52 co->running--; 59 co->running--;
|
H A D | coclose.c | 59 if (co->running > 0)
|
H A D | coshell.h | 97 Coshell_t* coshell; /* running in this coshell */ 114 int running; /* number of running jobs */ member in struct:Coshell_s
|
H A D | coexec.c | 443 co->running++;
|
/ast/src/cmd/coshell/ |
H A D | job.c | 46 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 D | shell.c | 174 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 D | service.h | 251 short running; member in struct:__anon62 319 int running; member in struct:__anon66
|
H A D | schedule.c | 46 #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 D | command.c | 532 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 D | main.c | 41 "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 D | atd.c | 70 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 D | name.h | 104 short running; /* function is running */ member in struct:Ufunction
|
/ast/src/cmd/pax/ |
H A D | tar.sh | 74 running the tar program, rather than those on tarfile.]
|
/ast/src/cmd/ie/ |
H A D | editlib.c | 67 * If you are running with case 1, then just call read() in the usual
|
/ast/src/cmd/ksh93/sh/ |
H A D | nvdisc.c | 358 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 D | jobs.c | 623 /* 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 D | xec.c | 3487 np->nvalue.rp->running += 2; 3528 np->nvalue.rp->running -= 2;
|
H A D | name.c | 2497 np->nvalue.rp->running |= 1;
|
/ast/src/cmd/ksh93/bltins/ |
H A D | typeset.c | 1255 else if(isfun && !(np->nvalue.rp && np->nvalue.rp->running))
|