10-07-2010
Use HP-UX "GlancePlus". It is pay software which is also available for short-term free use.
Once you have "GlancePlus" you can quickly look at the relevant kernel parameters (and their current load values) under option "t" (system tables) which will guide you towards increasing kernel parameters such as "maxusers" (which increases "nfile" and more). You can also drill down on any particular process and find out how many files it has open concurrently.
As a rule of thumb setting "maxusers" to four times the actual number of users gives you some decent leeway.
10 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
Hi,
I'm getting an error with my filesystems.
After
/dev/dsk/c0t0d0s7.......................100%............/export/home
and
#ls -l
drwxr----.......................512......TT_DB
drw..............................8192.....lost+found
drw...............................512......oracle... (10 Replies)
Discussion started by: bacanaks
10 Replies
2. UNIX for Advanced & Expert Users
I'm trying to install Urchin5 log analyzer and I get the following message:
Sadly, I'm not all that good at lib tracing and troubleshooting, but I did attempt a few things. First, since this is a VPS, I can compare to the baseline fileset, and other servers on which this works. I used MD5 as a... (3 Replies)
Discussion started by: treesloth
3 Replies
3. Shell Programming and Scripting
#!/bin/sh
echo Enter the multiplication number required:
read number
for i in 1 2 3 4 5 6 7 8 9 10
do
echo "$number * $i = expr $number \* $i"
done
I am not getting the output for this multiplication table. (4 Replies)
Discussion started by: vinodpaw
4 Replies
4. Shell Programming and Scripting
I have high values (such as ˙˙˙˙) in a text file contained in an Unix AIX server. I need to identify all the records
which are having these high values and also get the position/column number in the record structure if possible. Is there
any Unix command by which this can be done to :
1.... (5 Replies)
Discussion started by: devina
5 Replies
5. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
6. Shell Programming and Scripting
Hi,
I have hundreds of files "*.out" located in one folder,
and I want to:
1. Identify the good files containing "Normal termination" (grep "Normal termination" *.out )
2. Compress the good files into a tar.gz file (tar cvfz good.tar.gz *.goog.out )
Is there a way I can automate this... (4 Replies)
Discussion started by: rockytodd
4 Replies
7. UNIX for Dummies Questions & Answers
I am trying to find lines in a text file larger than 3 Gb that start with a given string. My command looks like this:
$ look "string" "/home/patrick/filename.txt"
However, this gives me the following message:
"look: /home/patrick/filename.txt: File too large"
So, I have two... (14 Replies)
Discussion started by: shishong
14 Replies
8. UNIX for Dummies Questions & Answers
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies
9. Shell Programming and Scripting
This is a script I got off the web for transferring Safari's "reading list" to the Pocket app. I ran it in terminal with the command bash exportsafarireadinglist.sh and got syntax error: unexpected end of file. Thanks for any help! The code:
#!/bin/bash
# Script to export Safari's reading... (2 Replies)
Discussion started by: kdog126
2 Replies
10. Shell Programming and Scripting
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
ninode(5) File Formats Manual ninode(5)
NAME
ninode - maximum number of HFS file system open inodes that can be in memory
VALUES
Failsafe
Default
The default value is computed at runtime and depends on the amount of physical memory on the system. For small memory systems (less than
1GB), the default is 4880. For systems with more than 1GB of memory, the default is 8192, or 8K.
Allowed values
The minimum value allowed is 14. The maximum value allowed is memory limited.
Specify a positive integer value.
DESCRIPTION
The tunable defines the number of slots in the HFS inode table. This number limits the number of open inodes that can be in memory for HFS
file systems at any given time. The inode table is used as a cache memory. For performance reasons the most recent (number of) open
inodes are kept in main memory. The table is hashed.
Each unique open file has an open inode associated with it. Therefore, the larger the number of unique open files, the larger should be.
Who Is Expected to Change This Tunable?
This tunable is only relevant on systems where there are HFS file systems mounted. Note that the use of HFS file systems is being depre-
cated in HP-UX.
Restrictions on Changing
This tunable is static. Any changes to the value of this tunable will require system reboot to take effect.
When Should the Value of This Tunable Be Raised?
This value of many need to be raised on systems running applications that expect large numbers of open files on HFS file systems.
What are the Side Effects of Raising the Value?
The HFS inode table is statically allocated, therefore will consume more memory if the value of this tunable is raised.
When Should the Value of This Tunable Be Lowered?
The value of can be lowered on systems with small or no mounted HFS file systems, to reduce memory consumption.
What are the Side Effects of Lowering the Value?
The number of open HFS inodes that can be kept in memory is bound to the new lower limit.
What Other Tunable Values Should Be Changed at the Same Time?
None.
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.
The tunable is relevant only on systems with HFS file systems. Note that the use of HFS file systems is being deprecated in HP-UX. This
and other HFS related tunable parameters may be removed from future HP-UX releases.
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 HP.
SEE ALSO
kctune(1M), sam(1M), gettune(2), settune(2).
Tunable Kernel Parameters ninode(5)