Searched refs:idle (Results 1 - 17 of 17) sorted by relevance

/ast/src/lib/libcs/
H A Dcsnote.c54 unsigned long idle; local
59 idle = -sp->up;
64 idle = sp->idle;
72 a = (encode(up) << 16) | encode(idle);
74 error(-1, "csnote: <%lu,%lu> load=%lu:%lu pctsys=%lu:%lu pctusr=%lu:%lu users=%lu:%lu idle=%lu:%lu", sp->load, ((m >> 24) & 0xff) << 3, sp->pctsys, (m >> 16) & 0xff, sp->pctusr, (m >> 8) & 0xff, sp->users, m & 0xff, sp->idle, sp->users ? ((a & 0x7ff) << ((a >> 11) & 0x1f)) : ~0, a, m);
77 return touch(name, (encode(up) << 16) | encode(idle), (((sp->load >> 3) & 0377) << 24) | ((sp->pctsys & 0377) << 16) | ((sp->pctusr & 0377) << 8) | (sp->users & 0377), -1);
H A Dcsstat.c120 sp->idle = sp->users ? ((a & 0x7ff) << ((a >> 11) & 0x1f)) : ~0;
H A Dgenlocal.sh184 $server) idle= ;;
185 *) idle=15m ;;
187 print $host" "type=$type" "${rating}${idle:+" idle=$idle"}${cpu:+" cpu=$cpu"}
H A Dcs.h73 #define CS_STAT_IGNORE (24*60*60) /* ignore user after . idle */
167 unsigned long idle; /* min user idle secs */ member in struct:__anon335
/ast/src/cmd/coshell/
H A Dschedule.c31 #define R_IDLE 4 /* idle range factor */
32 #define W_IDLE (X_RANK/15) /* idle weight */
222 * non-busy shells failing idle criteria are marked for close
254 if (ap != state.shell && (ap->override || !IDLE(ap->stat.idle, ap->idle) && (!ap->bypass || !(bypass = miscmatch(ap, ap->bypass)))))
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)))
287 else if (!ap->fd && (!mp || ap->rank < mp->rank) && (IDLE(ap->stat.idle, a
[all...]
H A Dcotest.c81 if (state.home->idle)
83 state.home->idle = 0;
H A Dservice.h55 char* bypass; /* idle bypass expression */ \
65 int idle; /* min # login idle secs */ \
66 int idle_override; /* restore idle override */ \
149 #define SETIDLE (1<<10) /* idle was set */
197 int idle; member in struct:__anon58
H A Djob.c123 if (sp->idle)
125 if (sp->stat.idle < state.busy && (!sp->bypass || !miscmatch(sp, sp->bypass)))
H A Dshell.c161 sp->idle = sp->idle_override;
H A Dcommand.c703 if (sp->idle)
704 sfprintf(state.string, " idle=%s", fmtelapsed(sp->idle, 1));
732 , fmtelapsed(sp->idle, 1)
743 , fmtelapsed(sp->stat.up < 0 ? -sp->stat.up : sp->stat.idle, 1)
744 , sp->stat.up < 0 ? '-' : (sp->mode & SHELL_DISABLE) ? '$' : (sp->mode & SHELL_DENIED) ? '!' : sp->idle && sp->stat.idle < sp->idle ? (sp->home ? '~' : '*') : ' '
H A Dmain.c54 "jobs. Job scheduling is based on load and idle time information "
171 if (!state.indirect.con && state.home->idle)
173 state.home->idle = 0;
/ast/src/lib/libtk/library/demos/
H A Ddialog2.tcl7 after idle {
H A Ddialog1.tcl7 after idle {.dialog1.msg configure -wraplength 4i}
/ast/src/cmd/ss/
H A Dssd.c245 static unsigned long idle; local
258 if (now > next || ss->idle < idle)
266 idle = ss->idle;
447 strcpy(cmd + strlen(cmd), ".idle");
461 ss.idle = 4 * 60 * 60;
486 * find the min user idle time
492 * check idle command
509 ss.idle
[all...]
H A Dss.c47 "[i:idle?Sort by user idle time.]"
149 if (a->stat.idle < b->stat.idle)
151 if (a->stat.idle > b->stat.idle)
248 sfprintf(sfstdout, "%-12s%4s%7s,%3d user%s idle%7s, load%3d.%02d, %%usr%3d, %%sys%3d\n", sp->name, sp->stat.up < 0 ? "down" : "up", fmtelapsed(sp->stat.up < 0 ? -sp->stat.up : sp->stat.up, 1), sp->stat.users, sp->stat.users == 1 ? ", " : "s,", sp->stat.idle > sp->stat.up ? "%" : fmtelapsed(sp->stat.idle, 1), sp->stat.load / 100, sp->stat.load % 100, sp->stat.pctusr, sp->stat.pctsys);
/ast/src/lib/libtk/library/
H A Dconsole.tcl36 after idle {.console configure -font {Monaco 9 normal}}
H A Dtkfbox.tcl882 # Creates an idle event handler which updates the dialog in idle
893 set data(updateId) [after idle tkFDialog_Update $w]
907 # This proc may be called within an idle handler. Make sure that the

Completed in 57 milliseconds