Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Is swap and Shared memory the same ? Post 302815171 by kraljic on Friday 31st of May 2013 05:56:41 AM
Old 05-31-2013
Info you've asked for

Code:
# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.4 (Tikanga)

# uname -a
Linux stomper189 2.6.18-164.el5 #1 SMP Tue Aug 18 11:51:48 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux


# mount
/dev/mapper/rootvg-rootvol on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/mapper/rootvg-varvol on /var type ext3 (rw,nosuid)
/dev/mapper/rootvg-homevol on /home type ext3 (rw,nosuid)
/dev/mapper/rootvg-sharedvol on /shared type ext3 (rw,nosuid)
/dev/sda1 on /boot type ext3 (rw,nosuid)
tmpfs on /dev/shm type tmpfs (rw,nosuid)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
/dev/mapper/datavg-prodloadvol on /pkms/prod/load type ext3 (rw)
/dev/mapper/datavg-crmprodloadvol on /crm/prod/load type ext3 (rw)
/dev/mapper/datavg-dboraclevol on /db/oracle type ext3 (rw)
/dev/mapper/datavg-pkmsarchive on /pkms/pkmsdb/archive type ext3 (rw)
/dev/mapper/datavg-pkmssystem on /pkms/pkmsdb/system type ext3 (rw)
/dev/mapper/datavg-pkmstbsdata01 on /pkms/pkmsdb/dbs/tbs_data01 type ext3 (rw)
/dev/mapper/datavg-pkmstbsindexvol on /pkms/pkmsdb/dbs/tbs_index01 type ext3 (rw)
/dev/mapper/datavg-crmtbsdata01 on /crm/crmdb/dbs/tbs_data01 type ext3 (rw)
/dev/mapper/datavg-crmtbsindexvol on /crm/crmdb/dbs/tbs_index01 type ext3 (rw)
/dev/mapper/datavg-dbcontrolvol on /db/control type ext3 (rw)
/dev/mapper/datavg-dbadminvol on /db/admin type ext3 (rw)
/dev/mapper/datavg-dbredovol on /db/redo type ext3 (rw)
/dev/mapper/datavg-tempvol on /temp type ext3 (rw)
/dev/mapper/datavg-pkmsfivol on /data/pkmsfi type ext3 (rw)
/dev/mapper/datavg-pkmsd01vol on /pkms/d01 type ext3 (rw)
/dev/mapper/datavg-crmd01vol on /crm/d01 type ext3 (rw)
/dev/mapper/datavg-datacrmdfvol on /usr/oracle type ext3 (rw)

 

10 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

Total Memory/Swap Memory

I need to put a program together to determine the total, available memory and total and available swap on unix machines. I have been searching for weeks and I seem to run into dead ends. Every unix platform I look at has a different way to determine memory info. Any sugggestions or new... (4 Replies)
Discussion started by: ghe1
4 Replies

2. Solaris

swap memory

Hi Can any help me on setting the swap memory ? I would like to set swap memory for installing oracle 9i software. RAM - 512 Mb HDD - 40 Gb OS - Sun Solaris 5.9 (6 Replies)
Discussion started by: sivaramat
6 Replies

3. UNIX for Advanced & Expert Users

Shared memory shortage but lots of unused memory

I am running HP-UX B.11.11. I'm increasing a parameter for a database engine so that it uses more memory to buffer the disk drive (to speed up performance). I have over 5GB of memory not being used. But when I try to start the DB with the increased buffer parameter I get told. "Not... (1 Reply)
Discussion started by: cjcamaro
1 Replies

4. Programming

memory sharing - not shared memory -

hi, this is the problem: i want to swap a linked list between 4 processes (unrelated), is there any way i can do that just by sending a pointer to a structure? //example typedef struct node { int x; char c; struct node *next; } node; or i should send the items ( x,c ) by... (9 Replies)
Discussion started by: elzalem
9 Replies

5. Programming

Shared memory in shared library

I need to create a shared library to access an in memory DB. The DB is not huge, but big enough to make it cumbersome to carry around in every single process using the shared library. Luckily, it is pretty static information, so I don't need to worry much about synchronizing the data between... (12 Replies)
Discussion started by: DreamWarrior
12 Replies

6. Programming

Shared memory for shared library

I am writing a shared library in Linux (but compatible with other UNIXes) and I want to allow multiple instances to share a piece of memory -- 1 byte is enough. What's the "best" way to do this? I want to optimize for speed and portability. Obviously, I'll have to worry about mutual exclusion. (0 Replies)
Discussion started by: otheus
0 Replies

7. UNIX for Dummies Questions & Answers

swap memory

Hi, I want to see used swap memory I know that for this there is command free -m but this shows Swap: 16383 4529 11854 by top command while load is 1.05 max CPU % 24 mysqld why used swap shows 4529 either it is not flushed there is other command... (2 Replies)
Discussion started by: kaushik02018
2 Replies

8. Programming

Shared library with acces to shared memory.

Hello. I am new to this forum and I would like to ask for advice about low level POSIX programming. I have to implement a POSIX compliant C shared library. A file will have some variables and the shared library will have some functions which need those variables. There is one special... (5 Replies)
Discussion started by: iamjag
5 Replies

9. HP-UX

How much Swap memory do i have ?

here is the output of swapinfo command ==> swapinfo Kb Kb Kb PCT START/ Kb TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME dev 8192000 0 8184000 0% 0 - 1 /dev/vg00/swap reserve - 8184000 -8184000 memory ... (5 Replies)
Discussion started by: mohtashims
5 Replies

10. Red Hat

Swap memory

Hi team, Is there any ability to force the system to use the swap memory for a specific service? And prevent another service of using the swap memory? Thanks (2 Replies)
Discussion started by: leo_ultra_leo
2 Replies
swapmem_on(5)							     OBSOLETE							     swapmem_on(5)

NAME
swapmem_on - OBSOLETE kernel tunable parameter DESCRIPTION
The tunable is obsolete. Processes will always be allowed to use pseudo-swap space if it is available. In previous versions of HP-UX, system configuration required sufficient physical swap space for the maximum possible number of processes on the system. This is because HP-UX reserves swap space for a process when it is created, to ensure that a running process never needs to be killed due to insufficient swap. This was difficult, however, for systems needing gigabytes of swap space with gigabytes of physical memory, and those with workloads where the entire load would always be in core. This tunable was created to allow system swap space to be less than core memory. To accomplish this, a portion of physical memory is set aside as "pseudo-swap" space. While actual swap space is still available, processes still reserve all the swap they will need at fork or execute time from the physical device or file system swap. Once this swap is completely used, new processes do not reserve swap, and each page which would have been swapped to the physical device or file system is instead locked in memory and counted as part of the pseudo-swap space. WARNINGS
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 swapmem_on(5)
All times are GMT -4. The time now is 10:27 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy