Michael A. Haines wrote:
> I would also like to use the fixed-priority scheduler rather than the
> default time-sharing scheduler. How do/should I add the following?
> 
> priocntl -s -c FX $$
> 

You can change the start method to include priocntl

e.g.

# svcs -p svc:/system/system-log:default
STATE          STIME    FMRI
online         Sep_18   svc:/system/system-log:default
                Sep_18        397 syslogd
# ps -c -p 397
    PID  CLS PRI TTY         TIME CMD
    397  FSS  59 ?           0:05 syslogd

# svccfg -s svc:/system/system-log
svc:/system/system-log> setprop start/exec = astring: \
"priocntl -e -c FX /lib/svc/method/system-log"
svc:/system/system-log> exit

# svcadm refresh svc:/system/system-log:default
# svcadm restart svc:/system/system-log:default

# svcs -p svc:/system/system-log:default
STATE          STIME    FMRI
online         11:33:30 svc:/system/system-log:default
                11:33:30     7815 syslogd
# ps -c -p 7815
    PID  CLS PRI TTY         TIME CMD
   7815   FX   0 ?           0:00 syslogd

-- Renaud
-------------- next part --------------
A non-text attachment was scrubbed...
Name: renaud.manus.vcf
Type: text/x-vcard
Size: 218 bytes
Desc: not available
URL: 
<http://mail.opensolaris.org/pipermail/smf-discuss/attachments/20060925/84bfc1fb/attachment.vcf>

Reply via email to