sge_work (1) - Linux Manuals

sge_work: do some work for testing purposes

NAME

work - do some work for testing purposes

SYNTAX

$SGE_ROOT/utilbin/$ARCH/work [-f n] [-w n] [-in fname] [-out fname] [-stackK n] [-stackM n] [-mallocK n] [-mallocM n] [-block_sigxcpu] [-block_sigxfsz] [-change_pgrp] [-daemonize] -daemonize ]

DESCRIPTION

This is a utility program intended to be run under xxQS_NAMExx for testing purposes. It can, for instance, run for a certain amount of time, allocate a certain amount of memory, fork, and daemonize.

OPTIONS

-f n
Do work n times using n processes, default 1 process
-w n
Work n seconds, default 100 seconds
-in fname
Read from file fname
-out fname
Write to file fname
-stackK n
Force stack size with at least n KB
-stackM n
Force stack size with at least n MB
-mallocK n
Force malloc(3) with n KB
-mallocM n
Force malloc(3) with n MB
-block_sigxcpu
Ignore signal SIGXCPU
-block_sigxfsz
Ignore signal SIGXFSZ
-change_pgrp
Change process group
-daemonize
Daemonize

SEE ALSO