[Sunhelp] How to allocate more cpu to a job

Gregory Leblanc GLeblanc at cu-portland.edu
Sun Jun 11 22:59:20 CDT 2000


> -----Original Message-----
> From: Nitin R Gizare [mailto:nitin.gizare at wipro.com]
> Sent: Sunday, June 11, 2000 7:41 PM
> To: sunhelp at sunhelp.org
> Subject: [Sunhelp] How to allocate more cpu to a job
> 
> Hi all ,
> 
> A user is running a job  in solaris 2.6 m/.c ,Top shows me 
> following o/p
> 
>   PID USERNAME THR PRI NICE  SIZE   RES STATE   TIME    CPU
> COMMAND
>  8368 guest        1      10    0   90M       87M cpu0   16.7H
> 49.96%     par
> 
> What shall I do so that user can get 80% of the cpu ?

I'd suggest that you check out the man pages for top and for 'nice'.  Nice
will let you give programs a higher priority number, if you are root.  If
you aren't root, then you can only lower the programs priority.
	Greg





More information about the SunHELP mailing list