I need clarification on whether it is okay to set socket options on a listening socket
simultaneously when it is being used in an accept() call?
Following is the scenario:-
-- Task 1 - is executing in a loop - polling a listen socket, lets call it 'fd', (whose file descriptor is global)... (2 Replies)
I need to download songs from website using shell script.I have written script for that. The code is
curl "http://www.songs.pk/$1.html" >tmp_page 2>tmp_error
grep songid tmp_page|cut -d'"' -f2 > song_links
while read link; do
curl "$link" >tmp_song 2>tmp_err... (1 Reply)
hello to all , i have a problem , actually i download realplayer and play a song ,
my problem is that, when i start my speaker , and play a song , i m not getting any sound , and song goes on without any sound
i have fedora 9 ,
if any one can solve my problem then
thanx very... (0 Replies)
Hi I want to implement the nice command in the shell that I am building. I came to know that there is a corresponding nice() system call for the same. But since I will be forking different processes to run different commands typed on the command prompt, is there any way I can make a command... (2 Replies)
NICE(1) User Commands NICE(1)NAME
nice - run a program with modified scheduling priority
nice [OPTION] [COMMAND [ARG]...]
Run COMMAND with an adjusted niceness, which affects process scheduling. With no COMMAND, print the current niceness. Nicenesses range
from -20 (most favorable scheduling) to 19 (least favorable).
add integer N to the niceness (default 10)
--help display this help and exit
output version information and exit
NOTE: your shell may have its own version of nice, which usually supersedes the version described here. Please refer to your shell's docu-
mentation for details about the options it supports.
Written by David MacKenzie.
Report nice bugs to email@example.com
GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
General help using GNU software: <http://www.gnu.org/gethelp/>
Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
SEE ALSO nice(2)
The full documentation for nice is maintained as a Texinfo manual. If the info and nice programs are properly installed at your site, the
info coreutils 'nice invocation'
should give you access to the complete manual.
GNU coreutils 7.1 July 2010 NICE(1)