Sponsored Content
Full Discussion: change priority of stream
Operating Systems Solaris change priority of stream Post 302097787 by gogogo on Tuesday 28th of November 2006 01:47:19 PM
Old 11-28-2006
change priority of stream

Is it possible to change priority of stream process ?
Original source: stream ./javawebserver

Desired change is kind of: nice --10 of (stream ./javawebserver)
 

10 More Discussions You Might Find Interesting

1. Programming

Changing the priority of a program

I have the following code in a file: task ph_cause_sound() { char sys_call; int ret_val; sprintf (sys_call, "/usr/local/bin/test_sound "); ret_val = system(sys_call); } test_sound is a script file that contains one line: nice --20 /usr/local/bin/vmod4dSOUND What is... (2 Replies)
Discussion started by: maddog0606
2 Replies

2. UNIX for Dummies Questions & Answers

change priority of packages

Hi, I am running a CS:S gameserver and for some reason it gives all packages from the outside network priority over packages from the internal network (which is where I am). I would like to know how I can get my linux box to accept packages coming from 10.0.0.100 first, then packages from the... (0 Replies)
Discussion started by: RellioN
0 Replies

3. Shell Programming and Scripting

Please Help me with this ..High Priority!

Hi, I am a nw bie to Schell Scripting, i have a same king of requirement as posted above. my input file is also a log file as below..... 28.05.2008 07:02:56,105 INFO Validation request recieved 28.05.2008 07:03:57,856 INFO 0:01:13.998 Response sent with: <?xml version="1.0"... (0 Replies)
Discussion started by: balaji_gopal
0 Replies

4. UNIX for Advanced & Expert Users

Priority of rules in Makefile!!!

Consider in a makefile i have the target defined as: pgm: a.o b.o cmd; To build .o, 2 rules are defind .pc.o: cmds .c.o: cmds My question is which rule will take priority for compiling a.o and b.o when the target pgm is built. Despite the positoning of the 2 rules, .c.o... (1 Reply)
Discussion started by: quintet
1 Replies

5. Programming

kill priority

hello everybody! i would like to post a question. If i embed in my C code the command kill(9,pid) inside an if command. Is this command(kill) executed in any way. Both if the if is true and false. Does kill have greater priority than the if command. thanx in advance! (5 Replies)
Discussion started by: nicos
5 Replies

6. AIX

priority for process

hi how to change the priority of a process for eg.if a,b,c these there process are running and if i have to give the b process as high priority and high severe level what should i do (3 Replies)
Discussion started by: senmak
3 Replies

7. Red Hat

DNS priority

Hi All, Is this correct on DNS searching? (1st priority) /etc/hosts (2nd p.) /etc/resolv.conf Are there more things that I didn't know? Thank you for any comments you may add. (5 Replies)
Discussion started by: itik
5 Replies

8. Shell Programming and Scripting

[Video stream] network stream recording with mplayer

Hi I used this command: mplayer http://host/axis-cgi/mjpg/video.cgi -user root -passwd root \ -cache 1024 -fps 25.0 -nosound -vc ffh264 \ -demuxer 3 -dumpstream -dumpfile output.avi It's ok but... Video Playing is very fast! Why? Is it a synch problem? What parameter I have to use for... (1 Reply)
Discussion started by: takeo.kikuta
1 Replies

9. Emergency UNIX and Linux Support

Low priority file????

Hi all, which file has the low priority while linux booting?. I just want to run a script in background with low priority while linux boots up.(I need to include that script to be called from that file) as am a newbie to linux. Any help is appreciated. Thanks, SMNK (2 Replies)
Discussion started by: SMNK
2 Replies

10. Red Hat

The priority of the log

Hi, I can't find the priority in my logs, which under the catalogue of /var/log/lmessages. For example, if the log below occur on my machine, there is no <30>. What should I do if I want to see <30> . <30>Oct 9 22:33:20 hlfedora auditd: The audit daemon is exiting. (0 Replies)
Discussion started by: zhaoyy
0 Replies
bcanput(9F)						   Kernel Functions for Drivers 					       bcanput(9F)

NAME
bcanput - test for flow control in specified priority band SYNOPSIS
#include <sys/stream.h> int bcanput(queue_t *q, unsigned char pri); INTERFACE LEVEL
Architecture independent level 1 (DDI/DKI). PARAMETERS
q Pointer to the message queue. pri Message priority. DESCRIPTION
bcanput() searches through the stream (starting at q) until it finds a queue containing a service routine where the message can be enqueued, or until it reaches the end of the stream. If found, the queue containing the service routine is tested to see if there is room for a message of priority pri in the queue. If pri is 0, bcanput() is equivalent to a call with canput(9F). canputnext(q) and bcanputnext(q, pri) should always be used in preference to canput(q->q_next) and bcanput(q->q_next, pri) respectively. RETURN VALUES
1 If a message of priority pri can be placed on the queue. 0 If the priority band is full. CONTEXT
bcanput() can be called from user or interrupt context. SEE ALSO
bcanputnext(9F), canput(9F), canputnext(9F), putbq(9F), putnext(9F) Writing Device Drivers STREAMS Programming Guide WARNINGS
Drivers are responsible for both testing a queue with bcanput() and refraining from placing a message on the queue if bcanput() fails. SunOS 5.10 11 Apr 1991 bcanput(9F)
All times are GMT -4. The time now is 01:56 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy