Sponsored Content
Full Discussion: Checking numeric value
Top Forums Shell Programming and Scripting Checking numeric value Post 302118940 by mahesh. on Friday 25th of May 2007 10:31:26 AM
Old 05-25-2007
Hello Iam new user , Can help me,

I want get system open file table value , Can u help.

Thanking you,
Mahesh
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Perl code to differentiate numeric and non-numeric input

Hi All, Is there any code in Perl which can differentiate between numeric and non-numeric input? (11 Replies)
Discussion started by: Raynon
11 Replies

2. Solaris

Using all numeric for username

Hello, We have a Solaris 9 machine and recently our client want to create username based on staff numbers (all numeric). Is there any limitation in Solaris regarding creating username with numeric values (eg: 13598029)? Thanks & Regards Aryawarman Mahzar (5 Replies)
Discussion started by: aryamahzar
5 Replies

3. Shell Programming and Scripting

Numeric Validation

Hi, How to check whether an input to a shell script contain only numeric values. Is there any way to check against the following characters. & ( ) | \ " ' < > ` I've used the following way. echo $1 | grep "\{2\}$" if then (12 Replies)
Discussion started by: sumesh.abraham
12 Replies

4. Shell Programming and Scripting

Numeric or not

Is there a simple way of determining whether a command line arguement is numeric or not?? I tried a search and didn't find anything similar... This is the 2nd time I've made this post.... It didn't appear that the first one showed up ?? Sorry if this is a duplicate... (1 Reply)
Discussion started by: harrisjl
1 Replies

5. Shell Programming and Scripting

Numeric or not?

Is there an easy way using a command or other routine for testing whether an argument on the command line is numeric? Just want to validate... I ran a search and didn't find a similar question.... Thx (3 Replies)
Discussion started by: harrisjl
3 Replies

6. UNIX for Dummies Questions & Answers

First argument is numeric or not

Hi everyone, I want my script to check if the first argument has only numbers or not. Im not sure what im doing wrong. This is how it looks like: if *") ] then echo 'The first arguement should only be in numeric' 1>&2 exit 1 else exit 0 fi (7 Replies)
Discussion started by: darkhider
7 Replies

7. Shell Programming and Scripting

Checking input for being numeric and integers

Hi, I'm trying to check to see that the arguments given to my script are both numeric and positive integers. I'm using tcsh. I figured out the positive part, but I am having trouble with the arguments being numeric and integers I have no idea where to get started with the checking them actually... (1 Reply)
Discussion started by: mistykz
1 Replies

8. UNIX for Dummies Questions & Answers

Find and Replace random numeric value with non-numeric value

Can someone tell me how to change the first column in a very large 17k line file from a random 10 digit numeric value to a non numeric value. The format of lines in the file is: 1702938475,SNU022,201004 the first 10 numbers always begin with 170 (6 Replies)
Discussion started by: Bahf1s
6 Replies

9. SCO

Stop boot system at "Checking protected password and checking subsystem databases"

Hi, (i'm sorry for my english) I'm a problem on boot sco unix 5.0.5 open server. this stop at "Checking protected password and checking subsystem databases" (See this image ) I'm try this: 1) http://www.digipedia.pl/usenet/thread/50/37093/#post37094 2) SCO: SCO Unix - Server hangs... (9 Replies)
Discussion started by: buji
9 Replies

10. Shell Programming and Scripting

Checking numeric expression in .ksh script

Gurus, Please need your help. I'm saving a filetimestamp into $filetimestamp and say....echo $filetimestamp gives 2015021612 I'm saving a cutoff_time into $cutoff_time say....echo $cutoff_time gives 2015021514 now my requirement is to check if $filetimestamp is greater than... (4 Replies)
Discussion started by: thummi9090
4 Replies
nfile(5)							File Formats Manual							  nfile(5)

NAME
nfile - maximum number of open files (system-wide) VALUES
Failsafe Default The default value for is (zero). The value of zero means that the system limit usually enforced by will be disabled (that is, the number of system-wide open files is limited only by available memory). Allowed values The allowed values for are either (zero) or values between the minimum and maximum (inclusive). The minimum value is The maximum value is the maximum 32-bit signed integer value that can be represented in the system. The value is further constrained in that it must be greater than or equal to two times the per-process open file hard limit (that is, Specify a positive integer value. DESCRIPTION
This tunable is now private and deprecated. It should no longer be used. The system open file table was restructured in 11iV3 to remove the architectural limitations on this value, and, therefore, is no longer needed. The recommended way to regulate the maximum number of open files on the system is to set the values of and appropriately; the theoretical system maximum can be assumed to be * The tunable defines the maximum number of slots in the system open file table. This number limits the cumulative number of open files by all processes in the system. In addition to named files (regular files, directories, links, device files, and so on), other objects that consume slots in the system open file table include pipes, FIFOs, sockets, and streams. Be aware that the and system calls consume entries in the per-process file tables but do not consume new slots in the system open file table. Who Is Expected to Change This Tunable? This tunable is not expected to be changed. Restrictions on Changing This tunable is dynamic; tuning will take effect immediately on the running system. When the value of is dynamically tuned it cannot be set to a value lower than the number of current open files in the running kernel. To allow an unlimited number of system-wide open files, the value should be set to the default. When Should the Value of This Tunable Be Raised? This tunable should only be set to a non-zero value to enforce a limit on the number of open files. What Are the Side Effects of Raising the Value? By setting this tunable to a positive, non-zero value, the system wide limit will be enforced. By requiring the system to enforce a global limit, performance of the system call and other related system calls may be impaired. When Should the Value of This Tunable Be Lowered? The value of rarely needs to be lowered. The value may be lowered to limit the number of open files on a system, and this may reduce mem- ory consumption. What Are the Side Effects of Lowering the Value? A lower limit may restrict an application's ability to allocate a new file descriptor or open a named file. What Other Tunable Values Should Be Changed at the Same Time? must be equal to or greater than two times the value of Kernel checks during tunable setting ensure this. WARNINGS
This tunable is obsolete and will be removed in a future release of HP-UX. 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 HP. SEE ALSO
kctune(1M), sam(1M), dup(2), dup2(2), gettune(2), open(2), settune(2), maxfiles(5), maxfiles_lim(5), nproc(5). OBSOLETE
Tunable Kernel Parameters nfile(5)
All times are GMT -4. The time now is 11:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy