11-19-2004
No, you should carefully read your docs for whatever os you are using. The names of kernel tunables are not controlled by a standard.
10 More Discussions You Might Find Interesting
1. Programming
I am looking for a way to have a program listen on a port (example: 8000) for communication I will be sending via that port to it(Linux Kernel machine). Once it recieves an appropiate command I need it to run a .bat file in linux.
I know what I need to do but I am running into a few problems:... (8 Replies)
Discussion started by: bigB8210
8 Replies
2. Programming
I'm new to sockets programming and I have a few questions:
Is the a maximum limit that you can use for the send and receive buffers via a call to setsockopt()? Does it differ on different OSs? If it does, how do I find out the max limit?
What is the advantage to setting the buffers to be... (1 Reply)
Discussion started by: jalburger
1 Replies
3. Programming
Hai,
How cani declare socket and collect the data in a string varialbe.
Since i am new to this i am asking this.
Can we connect multiple port.
Thank you. (6 Replies)
Discussion started by: arunkumar_mca
6 Replies
4. Solaris
Is there a way to see what sockets are in use? The developers here are getting some defunct processes and they would like to get a socket list.
This is on a Solaris 8 machine.
Thanks! (1 Reply)
Discussion started by: kjbaumann
1 Replies
5. Programming
anyone and teach me how to save standard output to a file in a client/server socket. I know how to read them to the screen but i'm not quite sure how to save them to a file.
my read to screen file code:
memset(line, 0x0, LINE_ARRAY_SIZE);
while (recv(connectSocket, line, MAX_MSG, 0) >... (1 Reply)
Discussion started by: crunchyuser
1 Replies
6. Programming
Hello everyone. I have a question regarding select() function. Imagine i had passed a fd_set* as the readfds parameter. Can i add some fd to the fd_set, using FD_SET, while the thread is blocked in the select call(obviously from another thread), and will that select call monitor those fd, even if... (2 Replies)
Discussion started by: adadon
2 Replies
7. Programming
if i have a server which wants to connect to exactly 5 clients, does that mean i need 5 socket file descriptors and use
listen(socket_fd,1);
for each one
or just do
listen(socket_fd,5)
also whats the second parameter number mean? what happens if i put 0 there?
also if i am connected... (28 Replies)
Discussion started by: omega666
28 Replies
8. Red Hat
hai guys,
I'm doing a project in which one server communicates with several clients. How can i do it when i have different port numbers???:confused: (0 Replies)
Discussion started by: rajeshb6
0 Replies
9. IP Networking
Hi -
I've written an app that, among other things, accepts a telnet connection (made via the "telnet" command from a terminal) and converses with it. I'd like to make this work so that only one client at a time can connect. Currently, when a second user tries to connect, the incoming messages... (2 Replies)
Discussion started by: mzimmers
2 Replies
10. Programming
Hi, i am student, think learning about c++, someone has a example the how establish a conection with sockets :b::b: (1 Reply)
Discussion started by: mmartinez
1 Replies
dbc_max_pct(5) OBSOLETED dbc_max_pct(5)
NAME
dbc_max_pct, dbc_min_pct, bufcache_max_pct, bufpages, nbuf - OBSOLETED kernel tunable parameter
DESCRIPTION
These tunables have been obsoleted and removed. Do not make any changes to these tunables, as they have no effect on the kernel.
Use the file cache tunables and (see filecache_max(5)).
In previous releases, the tunables and were used to set limits to the dynamic buffer cache, and the tunables and were used for tuning the
buffer cache when a static cache was desired.
This release of HP-UX offers improved file caching technology and improved physical memory control associated to caching file I/O data.
The number of tunable parameters used to control file caching memory usage is reduced from five to two, and previous usability issues are
addressed.
Restrictions on Changing
These tunables should not be modified. Attempting to tune any of the obsolete buffer cache tunables, or results in an error.
Use the tunables and to set limits on the file cache. Note that, on a any given system, the optimum values of these two new tunables are
not necessarily equivalent to the optimum values of the obsolete buffer cache tunable values in the older systems. You should first deter-
mine if the new default values yield acceptable performance on your system, before attempting to change the values of the new file cache
tunables.
AUTHOR
and were developed by HP.
SEE ALSO
filecache_max(5).
Kernel Tunable Parameter dbc_max_pct(5)