07-13-2013
Information about memory is different on different OS.
Linux command free is comparable with swap -s.
10 More Discussions You Might Find Interesting
1. Solaris
Hello
there are different opinions on how to get the swap space on Solaris.
some say: swap -s and the space= used + available
others say swap -l (donno how they get the swap size)
other say 'top' command
others say using format command (in print sub-command)
Could you please advise on... (1 Reply)
Discussion started by: melanie_pfefer
1 Replies
2. Red Hat
Hi,
I need to set a locale to my linux machine which has redhat enterprise linux 4
how should I do that.
And also when i did locale -a, I have got three versions for each locale type
with different .extensions like utf8,iso88951 and soon
which file should I use for setting locale.
... (1 Reply)
Discussion started by: eamani_sun
1 Replies
3. UNIX for Dummies Questions & Answers
There are two servers where my machine is connected. Is there any type of link formed between my machine and server machine? (1 Reply)
Discussion started by: palash2k
1 Replies
4. Programming
Hi,
I have written a c program to find cos() of a value , its not working, I am getting value of "val " as 0000.
#include<stdio.h>
#include<math.h>
main()
{
float val;
val = cosf( 1.570796);
printf("\nval = %f",val);
} (9 Replies)
Discussion started by: shashi
9 Replies
5. HP-UX
How do I check if the root and swap are mirrored on my HP9000 machine?
Thank you,
N. (33 Replies)
Discussion started by: NicoMan
33 Replies
6. UNIX for Dummies Questions & Answers
I tried using the mail command on one of our Linux machines to send email, and it works fine. I tried using the same command on another one of our Linux machines, and it didn't work (no error message was returned either).
The machine that works has the following version information:... (2 Replies)
Discussion started by: sllinux
2 Replies
7. Shell Programming and Scripting
Hi
I tried running the code
scrname=`whence $0 | sed -e 's/\.\///g'`
where $0 is substituted by cm_dsjobrun.sh
in unix env then the value it returns me is
SCRNAME=/data/ds/dpr_ebicm_uat/etl/cm3_0/scripts/shell/cm_dsjobrun.sh
whereas i ran the same code on linux env
The value... (9 Replies)
Discussion started by: vee_789
9 Replies
8. Shell Programming and Scripting
Hi All
I have fired a command in linux
table=`echo ${file_name} | awk '{FS="/"; print $NF}' | awk '{FS="."; print $1}'`
where file_name has
/data/ds/dpr_ebicm_uat/backfill/temp/etl_app_info.csv
/data/ds/dpr_ebicm_uat/backfill/temp/etl_app_jobs.csv ... (10 Replies)
Discussion started by: vee_789
10 Replies
9. Red Hat
I am using Linux RHEL5 64 bit and installed oracle 11g.
I want to check ODBC connection , i had modified odbc.ini file
when i use this command -isql
I am getting following error .
bash: isql: command not found
Kindly help (5 Replies)
Discussion started by: roopalidalvi231
5 Replies
10. UNIX for Beginners Questions & Answers
Hello,
I am on a Mac and trying to clean up some monthly files with a very simple SED:
sed '3,10d;/<ACROSS>/,$d' input.txt > output.txt
(from the input, delete lines 3 - 10; then delete from the line containing <ACROSS> to the end of the file)
then output to output.txt
Even when I try... (2 Replies)
Discussion started by: verbatim
2 Replies
LEARN ABOUT HPUX
allocate_fs_swapmap
allocate_fs_swapmap(5) File Formats Manual allocate_fs_swapmap(5)
NAME
allocate_fs_swapmap - determines when swapmap structures are allocated for filesystem swap
VALUES
Failsafe
Default
Allowed values
or
DESCRIPTION
The tunable is used to determine whether to allocate all needed filesystem swap structures during the initialization of the filesystem swap
device or wait until they are needed. Pre-allocation of all filesystem swap structures upon initialization saves time during later usage
of the filesystem swap, and prevents later allocation failure due to physical memory contention.
Dynamic allocation decreases the memory footprint of the filesystem swap system.
Who is Expected to Change This Tunable?
Anyone.
Restrictions on Changing
Changes to this tunable take effect at the next reboot.
When Should the Value of This Tunable Be Raised?
Systems under heavy memory load may not be able to acquire enough memory to hold the swap mapping structures for an addition of file system
swap. These calls to add swap would fail with the error though presumably they would be retried. Frequent failure on file system swap
addition with would merit enabling this tunable.
What Are the Side Effects of Raising the Value?
All the swap map structures for each file system swap device would be preallocated during swap initialization at kernel boot, increasing
the memory footprint of the kernel. The amount of increase depends on the number and size of file system swap devices.
When Should the Value of This Tunable Be Lowered?
Systems with limited memory available to the kernel that also have limited use of file system swap devices should disable this tunable to
decrease kernel memory usage.
What Are the Side Effects of Lowering the Value?
File system swap additions may fail with when memory contention is high.
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.
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.
Tunable Kernel Parameters allocate_fs_swapmap(5)