Home
last modified time | relevance | path

Searched refs:SECONDS (Results 1 – 25 of 35) sorted by path

12

/illumos-gate/usr/src/cmd/acct/
H A Dprctmp.sh33 MAJ/MIN CONNECT SECONDS START TIME SESSION START
/illumos-gate/usr/src/cmd/ast/libshell/common/tests/
H A Dsun_solaris_cr_6881017_background_process_in_subshell_hangs_caller.sh71 (( tstart=SECONDS ))
73 (( tstop=SECONDS ))
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dreadcf.c23 #define SECONDS macro
4624 TimeOuts.to_connect = (time_t) 0 SECONDS;
4625 TimeOuts.to_aconnect = (time_t) 0 SECONDS;
4626 TimeOuts.to_iconnect = (time_t) 0 SECONDS;
4639 TimeOuts.to_ident = (time_t) 5 SECONDS;
4641 TimeOuts.to_ident = (time_t) 0 SECONDS;
4643 TimeOuts.to_fileopen = (time_t) 60 SECONDS;
/illumos-gate/usr/src/cmd/svr4pkg/pkgadm/
H A Dlock.c80 #define SECONDS(x) ((unsigned int)(x)) macro
85 #define WAITER_INITIAL SECONDS(1)
86 #define WAITER_MAX SECONDS(60)
126 #define LOCK_SLEEP_INTERVAL SECONDS(2)
/illumos-gate/usr/src/contrib/ast/src/cmd/INIT/
H A DRELEASE715 package.sh: add $SECONDS to the DEBUG trace prompt
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/
H A DRELEASE1585 07-11-14 A bug in which creating a local SECONDS variable with typeset in
2225 02-10-21 A bug which could cause a core dump when a local SECONDS variable
H A DRELEASE88353 x. The SECONDS variable now displays elapsed time in floating
H A Dsh.memo974 .B \s-1SECONDS\s+1
980 .B \s-1SECONDS\s+1
985 \f5typeset\ -F\fP\fIplaces\fP\f5\ SECONDS\fP.
993 .B \s-1SECONDS\s+1
1002 (( SECONDS=$(date '+3600*%H+60*%M+%S') ))
1003 _s='_x1=(SECONDS/3600)%24,_x2=(SECONDS/60)%60,_x3=SECONDS%60,0'
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/include/
H A Dvariables.h58 #define SECONDS (shgd->bltin_nodes+28) macro
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dinit.c1703 …if(np==IFSNOD || np==PATHNOD || np==SHELLNOD || np==FPATHNOD || np==CDPNOD || np==SECONDS || np==E… in nv_cover()
1898 nv_stack(SECONDS, &ip->SECONDS_init.hdr); in nv_init()
1900 nv_putval(SECONDS, (char*)&d, NV_DOUBLE); in nv_init()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/tests/
H A Dbasic.sh365 myfilter() { x=$(print ok | cat); print -r -- $SECONDS;}
425 float s=SECONDS
430 (( (SECONDS-s) < 4)) && err_exit '"command | while read...done" finishing too fast'
431 s=SECONDS
437 (( (SECONDS-s) < 2 )) || err_exit 'early termination not causing broken pipe'
471 float start=$SECONDS end
475 done | { read; $bintrue; end=$SECONDS ;}
476 (( (SECONDS-start) < 1 )) && err_exit "pipefail not waiting for pipe to finish"
484 then float t0=SECONDS
486 (( (SECONDS-t0) < 1 )) && err_exit 'time not waiting for pipeline to complete'
[all …]
H A Dbuiltins.sh513 typeset -F3 start_x=SECONDS total_t delay=0.02
519 (( total_t = SECONDS - start_x ))
534 float sec=$SECONDS del=4
538 (( sec = SECONDS - sec ))
H A Dcoprocess.sh136 SECONDS=0 count=0
140 if (( SECONDS > 8 ))
141 then err_exit "$cat coprocess read -p hanging (SECONDS=$SECONDS count=$count)"
H A Doptions.sh513 float start=SECONDS toolong=3
524 (( (SECONDS-start) > (toolong-0.5) )) && err_exit "pipefail causes script to hang"
530 float t1=SECONDS
537 (( (SECONDS-t1) > .5 )) && err_exit 'pipefail should not wait for background processes'
H A Dsignal.sh272 then float s=$SECONDS
275 ((s = SECONDS))
301 SECONDS=0
307 (( SECONDS > 3.5 )) && err_exit "took $SECONDS seconds, expected around 2"
309 SECONDS=0
315 (( SECONDS > 3.5 )) && err_exit "took $SECONDS seconds, expected around 2"
317 SECONDS=0
323 (( SECONDS > 3.5 )) && err_exit "took $SECONDS seconds, expected around 2"
325 SECONDS=0
333 SECONDS=0
[all …]
H A Dsubshell.sh442 float t1=$SECONDS
447 (( (SECONDS-t1) > 4 )) && err_exit '/bin/sleep& in subshell hanging'
448 ((t1=SECONDS))
451 (( (SECONDS-t1) > 4 )) && err_exit 'sleep& in subshell hanging'
H A Dvariables.sh45 if (( SECONDS < 2 ))
46 then err_exit SECONDS variable not working
590 ((SECONDS=3*4))
591 seconds=SECONDS
616 for v in EDITOR VISUAL OPTIND CDPATH FPATH PATH ENV LINENO RANDOM SECONDS _
/illumos-gate/usr/src/stand/lib/tcp/
H A Dtcp.c174 #define SECONDS (1000 * MS) macro
175 #define MINUTES (60 * SECONDS)
184 static int tcp_conn_grace_period = 0 * SECONDS;
190 static int tcp_ip_notify_cinterval = 10 * SECONDS;
191 static int tcp_ip_notify_interval = 10 * SECONDS;
197 static int tcp_rexmit_interval_initial = 3 * SECONDS;
198 static int tcp_rexmit_interval_max = 60 * SECONDS;
/illumos-gate/usr/src/test/zfs-tests/include/
H A Dlibtest.shlib1799 typeset t0=$SECONDS
1805 if ((SECONDS - t0 > $timeout)); then
/illumos-gate/usr/src/test/zfs-tests/tests/functional/features/async_destroy/
H A Dasync_destroy_001_pos.ksh81 t0=$SECONDS
83 while [[ $((SECONDS - t0)) -lt 10 ]]; do
100 [[ $((SECONDS - t0)) -gt 180 ]] && \
/illumos-gate/usr/src/test/zfs-tests/tests/functional/mmp/
H A Dmmp.kshlib264 SECONDS=0
268 if [[ $SECONDS -gt $max_duration ]]; then
270 check (${SECONDS}s gt $max_duration)"
282 SECONDS=0
286 if [[ $SECONDS -le $min_duration ]]; then
288 (${SECONDS}s le min_duration $min_duration)"
/illumos-gate/usr/src/tools/scripts/
H A Dnightly1183 SECONDS=0
2044 elapsed_time=$SECONDS
H A Dxref.sh82 ((seconds = SECONDS))
228 SECONDS=0
255 SECONDS=0
/illumos-gate/usr/src/ucbcmd/shutdown/
H A Dshutdown.c78 #define SECONDS macro
137 1 MINUTES, 30 SECONDS,
138 0 SECONDS, 0 SECONDS
543 else if (delay > 95 SECONDS) { in warn()
588 } else if (delay > 95 SECONDS) { in rwarn()
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip.c9253 ipst->ips_ip_reassembly_timeout) * SECONDS; in ill_frag_timer_start()

12