File: pe_task.sh

package info (click to toggle)
gridengine 8.1.9%2Bdfsg-10
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 56,880 kB
  • sloc: ansic: 432,689; java: 87,068; cpp: 31,958; sh: 29,429; jsp: 7,757; perl: 6,336; xml: 5,828; makefile: 4,701; csh: 3,928; ruby: 2,221; tcl: 1,676; lisp: 669; yacc: 519; python: 503; lex: 361; javascript: 200
file content (6 lines) | stat: -rwxr-xr-x 252 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
#!/bin/sh
unset SGE_DEBUG_LEVEL
printf "petask %3d with pid %8d started on host %s\n" $1 $$ $HOSTNAME
printf "NSLOTS %3d NHOSTS %3d NQUEUES %3d\n" $NSLOTS $NHOSTS $NQUEUES
sleep $2
printf "petask %3d with pid %8d finished on host %s\n" $1 $$ $HOSTNAME