02-26-2010
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
how can i increase the number of nfs deamons that get started at boot time.I know that the default in HP UX is 16 and it can be increased in /etc/rc.config.d/nfsconf, and then restart the nfs client process.....How can i do the same thing in solaris? (1 Reply)
Discussion started by: i2admin
1 Replies
2. HP-UX
i more than one hp-ux 11.0 application server. some of these application server has an xterminal attached to them. ncd900 and ncd400. i would like to know how many xterm is connected to an application server. without physically checking each xterm, can i identify how many xterm?
thanks alot. (0 Replies)
Discussion started by: inquirer
0 Replies
3. Shell Programming and Scripting
I have a variable (say $A) and while passing it gets either a number or some other string. Now how can test (with if else) whether the variable is just a ne or something else ?
Thanks a lot to all in advance
C Saha (2 Replies)
Discussion started by: csaha
2 Replies
4. Programming
Is it possible to run the following Unix command in a C program and obtain results as to whether the job is running or not?
ps -ef | grep 'job_name' | grep -v grep
I'm fairly new at C and need to know what code I'd need in the C program.
Thanks, in advance, for your assistance. (12 Replies)
Discussion started by: BCarlson
12 Replies
5. Shell Programming and Scripting
I am pretty new to unix, and I have a project to do.
Part of the project asks me to determine the number of processes running and assign it to a variable. I know how to every part of the project but determine the number of processes running.
How can I get just the number of processes... (4 Replies)
Discussion started by: wayne1411
4 Replies
6. Solaris
Is there any command to find
1) the number of threads running
2) kernel boot mode
in solaris box (2 Replies)
Discussion started by: vickylife
2 Replies
7. Shell Programming and Scripting
Hi ,
Please help me
shell script to determine the active processes on the system which are running since long time (2 Replies)
Discussion started by: itian2010
2 Replies
8. Shell Programming and Scripting
Here is a weird question :)
i am trying to create a script written in bash that will create configuration files for nagios. As some of you aware is has to be written in the below format:
define service{
option1 value1
option2 value2... (6 Replies)
Discussion started by: ppolianidis
6 Replies
9. UNIX for Dummies Questions & Answers
Hi
There are numerous mounts on my local system from various other remote machines.
I was looking for some way to determine the time stamp when the drives are mounted.
like say if there is a mount name backup on local system. I want to determine the timestamp when it was mounted.
any... (3 Replies)
Discussion started by: rakeshkumar
3 Replies
10. UNIX for Advanced & Expert Users
I have a machine which has 32 processor but i am really not sure how many threads are running. It has hyperthreading enabled. Is there a way i can find that all 32 processors are being used and how many threads are there in my linux box. Its a 64 bit processor. I am having very high load average... (3 Replies)
Discussion started by: Moon1234
3 Replies
LEARN ABOUT HPUX
nfs4_max_threads
nfs4_max_threads(5) File Formats Manual nfs4_max_threads(5)
NAME
nfs4_max_threads - control the number of kernel threads that perform asynchronous I/O for the NFS version 4 client
VALUES
Failsafe
Default
Allowed values
Recommended values
A warning will be issued at runtime if the tunable is set to a value greater than 256 threads since this is beyond the tested limit. This
is not a serious warning but just an information message for the administrator.
DESCRIPTION
controls the number of kernel threads that perform asynchronous I/O for the NFS version 4 client. Since NFS is based on RPC and RPC is
inherently synchronous, separate execution contexts are required to perform NFS operations that are asynchronous from the calling thread.
The operations which can be executed asynchronously are read for read-ahead, readdir for readdir read-ahead, and write for putpage and
pageio requests.
Who Is Expected to Change This Tunable?
The distributed file system administrator should examine this value depending on the network bandwidth available.
Restrictions on Changing
The tunable is dynamic; however, the number of threads for a file system is set when the file system is mounted. To affect a particular
file system, unmount and mount the file system after changing this parameter.
When Should the Value of This Tunable Be Raised?
If the network is very high bandwidth and the client and server have sufficient resources, increase this value to more effectively utilize
the available network bandwidth, the client resources, and the server resources.
What Are the Side Effects of Raising the Value?
An increase in the system resources and the possibility that (see nkthread(5)) may need to be increased. The total number of asynchronous
threads for NFS version 4 mount points cannot exceed 20% of the available threads defined by NFS mounts will fail if the NFS mount command
cannot guarantee the ability to create the maximum number of threads for that mount point.
When Should the Value of This Tunable Be Lowered?
In a very low bandwidth network, decrease this value so that the NFS client does not overload the network.
What Are the Side Effects of Lowering the Value?
Decreasing this value may impact NFS performance.
WARNINGS
All HP-UX kernel tunable parameters are release specific. This parameter may be removed or have its meaning changed in future releases of
HP-UX.
Installation of optional kernel software, from HP or other vendors, may cause changes to tunable parameter values. After installation,
some tunable parameters may no longer be at the default or recommended values. For information about the effects of installation on tun-
able values, consult the documentation for the kernel software being installed. For information about optional kernel software that was
factory installed on your system, see at
AUTHOR
was developed by Sun Microsystems, Inc.
SEE ALSO
kctune(1M), sam(1M), gettune(2), settune(2), nfs2_max_threads(5), nfs3_max_threads(5), nkthread(5).
Tunable Kernel Parameters nfs4_max_threads(5)