Sponsored Content
Operating Systems HP-UX Oracle not accepting new connections Post 87133 by Perderabo on Thursday 20th of October 2005 09:58:40 AM
Old 10-20-2005
We need the "swapinfo -t" output. The -a output is worse than useless, it's misleading. "Used" means paging has occurred...something was written to the swap area. "Reserved" means needed for stuff in core now in case of paging. If you cannot reserve, you are out of vm.
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Accepting User Input

I'm just starting out with UNIX and have figured some stuff out. I just need some help with accepting user input on the command line. For instance, I created a number counter that counts down from any positive hard coded number. But, I want the commnad line line to read "Countdown 20" where 20... (1 Reply)
Discussion started by: scott78
1 Replies

2. Shell Programming and Scripting

Not able to display the value I am accepting as an argument

Hi, I am new to UNIX. I am facing some problem here. #! /usr/bin/ksh currDate = $1 export currDate; echo " Date is $currDate" when I run this script, it says : currDate not found. Can anybody point out the mistake please. --mahek (3 Replies)
Discussion started by: mahek_bedi
3 Replies

3. UNIX for Dummies Questions & Answers

accepting input date

I how do i accept a input date in script which is lesser than a specified day? ex: to accept a date less than or equal to 100 days(from today).?:( Thanks for the help in advance.:) (1 Reply)
Discussion started by: abhi_123
1 Replies

4. Shell Programming and Scripting

How to check if a Port is accepting connections.

Hi, I need to create a script which checks the availability of a particular service on a particular Port on HP-Unix. Is there any command in unix wherein we can check if any port is accepting the connections now. Thanks, Vihang. (5 Replies)
Discussion started by: vikings.svnit
5 Replies

5. Shell Programming and Scripting

Accepting A-Za-Z

Is there a way accept A-Za-z0-9 from the user from a parameter? EX. I want to take the parameter from the user even if its hEu or H3y and store it as a parameter ( $1 ) (18 Replies)
Discussion started by: puttster
18 Replies

6. Shell Programming and Scripting

Help with Accepting Directories as an Argument

I'm doing a script where you are suppose to start off in accepting one or more directory as an argument. How do i do this? Sorry for the nub question. (2 Replies)
Discussion started by: LinuxUser232331
2 Replies

7. Shell Programming and Scripting

Accepting Input regardless of Case

Hi I am trying to get my script to accept input regardless if the person enters a or A. here is the portion of the code where I get the input. echo -n 'Please enter your choice:' # prompt user for input. read reply # read input echo case $reply in #... (2 Replies)
Discussion started by: DualPandas
2 Replies

8. Shell Programming and Scripting

script accepting password

Hi friends, I am very new to Unix scripting and having some difficulty in my first shell script. I have written a simple shell script to upload an artifact to a remote machine on the network. echo "Uploading the artifact" scp app.war username@remotemochine.domainname.net:/home/deployables... (3 Replies)
Discussion started by: prashdeep
3 Replies

9. Shell Programming and Scripting

Parameter not accepting in awk

In below script parameterwhich i am passing to awk function is not working.Not sure why its not accepting parameter.Please tell me how to pass parameter to the awk function.Please check the below script. #!/bin/ksh dummy_file=/etlapps/dev/data/sub_servicer_data/ScriptLogs/emp.txt fields=5... (2 Replies)
Discussion started by: katakamvivek
2 Replies
swapon(2)							System Calls Manual							 swapon(2)

NAME
swapon() - add swap space for interleaved paging and swapping SYNOPSIS
Remarks The ANSI C "" construct denotes a variable length argument list whose optional and required members are given in the associated comment DESCRIPTION
The system call makes a block device or a directory named path available to the system for paging and swapping. priority indicates the order in which the swap space from the device or file system is used. It has a range of 0 (highest) to 10 (lowest). Space is taken from the lower-numbered systems first. can be used only by users who have appropriate privileges. If path names a block device file makes it available to the system at the specified priority for allocation for paging and swapping. In this form, takes only two arguments: the path to the block device file, and the priority. The device associated with path can be a device already known to the system, defined at system configuration time, or it can be a previ- ously unspecified device. If the device was already defined at system configuration time and also has a start and/or size defined for that swap device, these values are used. Otherwise, if a filesystem exists on the device, swap is added following the filesystem, or if no filesystem exists, the complete device is used for swap. See the appropriate system administrator's manual for information on how the size of the swap area is calculated. If path names a directory makes the blocks on the file system rooted at path available for paging and swapping. The min, limit, and reserve arguments are passed and used only if the path argument names a directory. min indicates the number of file system blocks to take from the file system when is called. limit indicates the maximum number of file system blocks the swap system is allowed to take from the file system. reserve indicates the number of file system blocks that are saved for file system use only. For a pre-existing directory swap, a value of -1 for min, limit, reserve, or priority will keep the value unchanged. This can be used to change selective values without affecting others. For example, if priority of a pre-existing directory swap needs to be changed without affecting the values of min, limit, or reserve, one can specify the new priority value and pass -1 for other arguments. The size for the file system blocks mentioned above is the preferred file system block size. The preferred file system block size can be obtained by the call. The value of min, limit, or reserve is rounded up to the tunable size. ERRORS
If fails, is set to one of the following values. A component of the path prefix denies search permission. One of priority, min, limit, or reserve arguments is invalid. The device associated with path already has swap turned on. The device associated with path is already in use. The device associated with path was specified at system configuration time to add swap at a specified location, but that location is within an existing file system on the device. The LIF header on the device associated with path contains inconsistent directory data. Unable to read the device associated with path. Too many symbolic links were encountered in translating the path name. The length of the specified path name exceeds bytes, or the length of a component of the path name exceeds bytes while is in effect. The device associated with path does not exist. The system-imposed limit on the number of swap file entries has been reached. There is is not enough available space on the specified file system or device. The device associated with path was specified at system configuration time to add swap following the file system, but no file system was found. The path argument is not a block special file or the root directory of a file system. A component of the path is not a directory. The device associated with path could not be opened. The effective user ID is not a user with appropriate privileges. The device associated with path is read-only. WARNINGS
On systems running VxVM 3.5, the swap volumes to be configured for system crash dumps should be created with the usage type as during the creation of the swap volume. Not doing so will cause a dump corruption. You could use the option of to do the same. No means is available to stop swapping to a device. The system allocates no less than the amount specified in min. However, to make the most efficient use of space, more than the amount requested might be taken from the file system. The actual amount taken will not exceed the number of file system blocks indicated in reserve. Swapping to a file system is usually slower than swapping to a device. Once file system blocks have been allocated for swap space, the file system can not be unmounted unless the system is rebooted. is the replacement for is to be obsoleted at a future date. AUTHOR
was developed by the University of California, Berkeley. SEE ALSO
swapon(1M), vxassist(1M), swapctl(2), privileges(5). TO BE OBSOLETED swapon(2)
All times are GMT -4. The time now is 12:59 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy