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
fwide(3C)																 fwide(3C)

NAME
fwide() - set stream orientation SYNOPSIS
DESCRIPTION
The function determines the orientation of the stream pointed to by stream. If mode is greater than zero, the function first attempts to make the stream wide-oriented. If mode is less than zero, the function first attempts to make the stream byte-oriented. Otherwise, mode is zero and the function does not alter the orientation of the stream. If the orientation of the stream has already been determined, does not change it. Because no return value is reserved to indicate an error, an application wishing to check for error situations should set to 0, then call then check and if it is non-zero, assume an error has occurred. APPLICATION USAGE
A call to with mode set to 0 can be used to determine the current orientation of a stream. The prototype of this function is available to applications if they are: a. conformant. b. Compiled with macro with a value >=500. c. Compiled with macro with a value >= 200112. RETURN VALUE
The function returns a value greater than zero if, after the call, the stream has wide-orientation, a value less than zero if the stream has byte-orientation, or zero if the stream has no orientation. ERRORS
The function may fail if: The stream argument is not a valid stream. AUTHOR
was developed by HP and Mitsubishi Electric Corporation. SEE ALSO
orientation(5), thread_safety(5). fwide(3C)
All times are GMT -4. The time now is 06:31 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy