Sponsored Content
Operating Systems Solaris Swap completely used with memory free Post 302966958 by jlliagre on Thursday 18th of February 2016 08:59:12 AM
Old 02-18-2016
You should state how much RAM is allocated to the VM, if you have capped the ZFS ARC (if ZFS is used), what commands you run to identify the RAM and swap usage and their output.
 

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 Dummies Questions & Answers

How do I find out how much swap and memory is free?

In Solaris 2.6 and 8 How do I find out how much swap and memory is free? Also how can I see how much memory each process is consuming? Thanks in advance (2 Replies)
Discussion started by: expos
2 Replies

4. UNIX for Dummies Questions & Answers

Add SWAP to free slice

I'm interested in adding more swap space to my current workstation (Solaris 10). I currently have 2 hard drives installed, however the system was only created with 512MB for swap that resides on drive 1. This drive is already sliced up and all slices are being used. The second drive has two... (3 Replies)
Discussion started by: here2learn
3 Replies

5. Solaris

How to find Total and Free Physical Memory and Logical Memory in SOLARIS 9

Hi, Im working on Solaris 9 on SPARC-32 bit running on an Ultra-80, and I have to find out the following:- 1. Total Physical Memory in the system(total RAM). 2. Available Physical Memory(i.e. RAM Usage) 3. Total (Logical) Memory in the system 4. Available (Logical) Memory. I know... (4 Replies)
Discussion started by: 0ktalmagik
4 Replies

6. Solaris

how to get the more memory free space (see memory free column)

Hi all, Could please let me know how to get the more memory free space (not added the RAM) in local zone. -bash-3.00# vmstat 2 5 kthr memory page disk faults cpu r b w swap free re mf pi po fr de sr s0 s1 s1 s1 in sy cs us sy... (3 Replies)
Discussion started by: murthy76
3 Replies

7. UNIX for Advanced & Expert Users

Out of Memory error when free memory size is large

I was running a program and it stopped and showed "Out of Memory!". at that time, the RAM used by this process is around 4G and the free memory size of the machine is around 30G. Does anybody know what maybe the reason? this program is written with Perl. the OS of the machine is Solaris U8. And I... (1 Reply)
Discussion started by: lilili07
1 Replies

8. UNIX for Dummies Questions & Answers

[Query] Confusion of the Swap when using 'free -m' command

Hi All, I have just installed my first Linux server ( Ubuntu 11.10 ). I am sure I didn't allocate /swap , and double check by 'df -h', yes really no /swap but when I use 'free -m' , returned a "Swap" line as below. total used free shared buffers cached Mem: ... (3 Replies)
Discussion started by: joaming
3 Replies

9. Shell Programming and Scripting

Swap usage by top and free command doesn't match

Its rather confusing, the output of top command is below: The "swap" field of top is described by the manpage as: "The swapped out portion of a task's total virtual memory image." But the output of free command suggests something else and it does tally with the output of swapon... (3 Replies)
Discussion started by: proactiveaditya
3 Replies

10. 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
VMF(3)							     Library Functions Manual							    VMF(3)

NAME
vminit, vmopen, vmclose, vmmapseg, vmmodify, vmlock, vmunlock, vmclrseg, vmflush, - disk based virtual memory routines SYNOPSIS
#include <vmf.h> struct vspace { int v_fd; /* file for swapping */ off_t v_foffset; /* offset for computing file addresses */ int v_maxsegno; /* number of segments in this space */ }; struct vseg { /* structure of a segment in memory */ struct dlink s_link; /* for linking into lru list */ int s_segno; /* segment number */ struct vspace *s_vspace; /* which virtual space */ int s_lock_count; int s_flags; union { int _winfo[WORDSPERSEG]; /* the actual segment */ char _cinfo[BYTESPERSEG]; } v_un; }; #define s_winfo v_un._winfo #define s_cinfo v_un._cinfo int vminit(nseg); int nseg; int vmopen(space, filename); struct vspace *space; char *filename; struct vseg *vmmapseg(space, segno); struct vspace *space; int segno; void vmlock(seg); struct vseg *seg; void vmunlock(seg); struct vseg *seg; void vmclrseg(seg); struct vseg *seg; void vmmodify(seg); void vmflush(); void vmclose(space); struct vspace *space; DESCRIPTION
This library provides a standard set of routines for managing large virtual memory spaces. It supports creation of multiple concurrent virtual spaces, mapping of virtual pages into real memory, a lock/unlock mechanism, and a capability to clear specified virtual pages. vminit - This routine initializes the virtual memory system by setting up the pool of in-memory segment buffers. The argument to this function is the number of memory segments to allocate (typically 4 to 8 but can be higher as long as memory can be malloc'd). It must be called before any other "libvmf" routine is called. vmopen - For each virtual space that a program uses, the program must allocate an instance of the space structure ('struct vspace'). This routine is used to initialize a virtual space structure using the specified address of a space structure and the name of the file that will serve as swap file for the space. If the second argument is NULL an invisible temporary file is used rather than a named (permanent) file. vmclose - This routine is used to close the UNIX file descriptor associated with the swap file for a virtual space. Any modified in-memory segments belonging to the specified address space are flushed to the paging file. vmmapseg - This routine is the primary interface to the virtual memory mechanism. It is executed with a specified virtual space address and a segment number (between 0 and 511), and returns a pointer to an in-memory page containing the specified segment. vmmodify - Whenever a program modifies the data of a segment, it is the program's responsibility to inform the virtual memory system of the modification. This function is also available as a macro (VMMODIFY) for use in-line. vmlock - This routine increments the lock count of the specified segment buffer. A buffer with a nonzero lock count is locked and cannot be swapped out. vmunlock - This routine decrements the lock count of the specified buffer. It is a serious error to decrement the count below zero (lock underflow). vmclrseg - This routine clears the user data area (page) of the specified segment buffer. vmflush - This routine simply swaps out all seg- ments that are marked as modified. BUGS
Not as transparent (or as fast) as a larger hardware address space. There is no automatic segment crossing capability, the application must check if a virtual address crosses page/segment boundaries and per- form a vmmapseg call. SEE ALSO
There is a nroff document (using the -ms macros) in the libvmf source directory which goes into more details about the vm functions. 4.3 Berkeley Distribution September 24, 1993 VMF(3)
All times are GMT -4. The time now is 09:33 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy