in reply to Resource Hog

If your application is I/O bound, which from your description it appears to be, then nice won't do much for you. The OS is already handing cycles to other processes while waiting for I/O opperations. Although the high CPU utilization would point to some serious CPU cycles being spent somewhere. I can't tell from your description where that would be. A better indication of system load can be had with the uptime command.

You don't say what unix you're running on. It makes a difference as System V multitasks different than BSD.


s//----->\t/;$~="JAPH";s//\r<$~~/;{s|~$~-|-~$~|||s |-$~~|$~~-|||s,<$~~,<~$~,,s,~$~>,$~~>,, $|=1,select$,,$,,$,,1e-1;print;redo}

Replies are listed 'Best First'.
Re^2: Resource Hog
by tc1364 (Beadle) on Apr 07, 2005 at 18:12 UTC
    Sun Microsystems Inc. SunOS 5.8 Generic February 2000 Sun Ultra 60

      SunOS is BSD based. BSD was written to see the activity on STDIO and modifiy the job priorities accordingly. I can't speak to what tweeks SUN has made.


      s//----->\t/;$~="JAPH";s//\r<$~~/;{s|~$~-|-~$~|||s |-$~~|$~~-|||s,<$~~,<~$~,,s,~$~>,$~~>,, $|=1,select$,,$,,$,,1e-1;print;redo}