Sponsored Content
Operating Systems Solaris Multiple swap spaces after refresh Solaris 11.3 install on Sparc T5-2 Post 302984637 by jasonu on Friday 28th of October 2016 11:13:38 AM
Old 10-28-2016
The below are the output of swap -l and swap -s

Code:
root@solaris:/# swap -l -h
swapfile             dev    swaplo   blocks     free
/dev/zvol/dsk/rpool/swap 303,1        8K     4.0G     4.0G

root@solaris:/# swap -s -h
total: 776M allocated + 51M reserved = 824M used, 242G available



Quote:
Originally Posted by jlliagre
I'm afraid you are misinterpreting the statistics.

Please post "swap -l" and "swap -s" output.

It would also help readability if you fix the initial posting with the correct "df" and "zfs list" outputs. They should be properly aligned.


Moderator's Comments:
Mod Comment Please use CODE tags as required by forum rules!

Last edited by RudiC; 10-28-2016 at 12:48 PM.. Reason: Added CODE tags.
 

10 More Discussions You Might Find Interesting

1. Solaris

how to install wget on Solaris sparc 9

hi, i downloaded wget-1.9.1-sol9-sparc-local.gz for solaris sparc 9. but do not know how to install it. anybody help me. many thanks tinhlx (3 Replies)
Discussion started by: tinhlx
3 Replies

2. Solaris

Solaris 10 install fails on sparc

I'm trying to do an upgrade/install from Solaris 8 to Solaris 10 on a SUN Sparc system. I halt the system, as documented, but when I attempt to boot off the distribution DVD; i.e. halt : : OK> boot cdrom The system indicates that the device is 'unrecognizable' These are SUN... (5 Replies)
Discussion started by: imagtek
5 Replies

3. UNIX for Dummies Questions & Answers

can I emulate solaris/sparc on virtualbox? Or other emulator to run solaris for sparc in my win7 PC?

Hi Gurus can I emulate solaris/sparc on virtualbox? Or other emulator to run solaris for sparc in my win7 PC? regards, Israel. (9 Replies)
Discussion started by: iga3725
9 Replies

4. Solaris

64 Bit SPARC Solaris 10 Install

I downloaded the iso image from here and burnt it on DVD. But when I tried installing it..it said boot device not availiable. Do I have to make it bootable? Is there any other component that I need to write on DVD other than the image? Moreover the DVD which I received from my admin for... (5 Replies)
Discussion started by: sumeet
5 Replies

5. Solaris

How to Install EIS DVD for SPARC (solaris 10)

hello, i need to install eis dvd (recommanded patches) dvd for a client, but i don't know the procedure, can you please help? (1 Reply)
Discussion started by: feg
1 Replies

6. Solaris

How to make Multiple partitions in a slice (solaris sparc 10)?

I am using Solaris Sparc 10,and facing some issues. HD:80gb ; Root = 11gb(currently using) , I have made a parttition in the c0t0d0s2 slice(which is of 60gb & the partition tag is 'usr'),and I have done newfs on -> /dev/dsk/c0t0d0s2 which is mounted on /export (having ufs filesystem). Now... (6 Replies)
Discussion started by: big_zer0
6 Replies

7. UNIX for Dummies Questions & Answers

Install SCSI Jaz drive in Sparc Solaris

I recently got a Sun Sparc 10 Ultra with Solaris 10 installed on it. Now I'm trying to connect my SCSI Jaz drive to it. I moved my Adaptec AHA-2940U PCI SCSI card from my XP PC (where it was working OK) to the Sun and that's about as far as I got. I did a probe-scsi-all and got nothing back,... (0 Replies)
Discussion started by: Michele31416
0 Replies

8. Solaris

Need to install /usr/lib/libiconv.so.2 Solaris Sparc 64 bit package

Hi, Can anyone help me out in getting download the below required package for Solaris 10 SPARC 64-bit machine. Thanks in advance. (3 Replies)
Discussion started by: prash358
3 Replies

9. Solaris

SPARC M10 - Install Solaris 10

Hi, This machine does not have CDROM/DVDROM. I try to boot using external usb. Issue command: show-disks does not show any external cdrom. How to install OS? Is it can be install using usb pendrive? Thanks. (5 Replies)
Discussion started by: mzainal
5 Replies

10. Solaris

How to install Solaris 10 5/09 on sparc T4-1?

hi everyone, good day to all. I need help to fix an issue which we encounter while installing the Alcatel -lucent 5620 NM on a solaris 10 OS. The Alcatel lucent 5620 NM release 9 software is only recommended OS to work with Solaris 10 release 5/09 but when we try to install the same... (9 Replies)
Discussion started by: Anjo Antony
9 Replies
swap(1M)                                                  System Administration Commands                                                  swap(1M)

NAME
swap - swap administrative interface SYNOPSIS
/usr/sbin/swap -a swapname [swaplow] [swaplen] /usr/sbin/swap -d swapname [swaplow] /usr/sbin/swap -l /usr/sbin/swap -s DESCRIPTION
The swap utility provides a method of adding, deleting, and monitoring the system swap areas used by the memory manager. OPTIONS
The following options are supported: -a swapname Add the specified swap area. This option can only be used by the super-user. swapname is the name of the swap file: for example, /dev/dsk/c0t0d0s1 or a regular file. swaplow is the offset in 512-byte blocks into the file where the swap area should begin. swaplen is the desired length of the swap area in 512-byte blocks. The value of swaplen can not be less than 16. For example, if n blocks are specified, then (n-1) blocks would be the actual swap length. swaplen must be at least one page in length. The size of a page of memory can be determined by using the pagesize command. See pagesize(1). Since the first page of a swap file is automatically skipped, and a swap file needs to be at least one page in length, the minimum size should be a multiple of 2 pagesize bytes. The size of a page of memory is machine dependent. swaplow + swaplen must be less than or equal to the size of the swap file. If swaplen is not specified, an area will be added starting at swaplow and extending to the end of the designated file. If neither swaplow nor swaplen are specified, the whole file will be used except for the first page. Swap areas are normally added automatically during system startup by the /sbin/swapadd script. This script adds all swap areas which have been specified in the /etc/vfstab file; for the syntax of these specifications, see vfstab(4). To use an NFS or local file-system swapname, you should first create a file using mkfile(1M). A local file-system swap file can now be added to the running system by just running the swap -a command. For NFS mounted swap files, the server needs to export the file. Do this by performing the following steps: 1. Add the following line to /etc/dfs/dfstab: share -F nfs -o rw=clientname,root=clientname path-to-swap-file 2. Run shareall(1M). 3. Have the client add the following line to /etc/vfstab: server:path-to-swap-file - local-path-to-swap-filenfs --- local-path-to-swap-file -- swap --- 4. Have the client run mount: # mount local-path-to-swap-file 5. The client can then run swap -a to add the swap space: # swap -a local-path-to-swap-file -d swapname Delete the specified swap area. This option can only be used by the super-user. swapname is the name of the swap file: for example, /dev/dsk/c0t0d0s1 or a regular file. swaplow is the offset in 512-byte blocks into the swap area to be deleted. If swaplow is not specified, the area will be deleted starting at the second page. When the command completes, swap blocks can no longer be allocated from this area and all swap blocks previously in use in this swap area have been moved to other swap areas. -l List the status of all the swap areas. The output has five columns: path The path name for the swap area. dev The major/minor device number in decimal if it is a block special device; zeroes otherwise. swaplo The swaplow value for the area in 512-byte blocks. blocks The swaplen value for the area in 512-byte blocks. free The number of 512-byte blocks in this area that are not currently allocated. The list does not include swap space in the form of physical memory because this space is not associated with a particular swap area. If swap -l is run while swapname is in the process of being deleted (by swap -d), the string INDEL will appear in a sixth column of the swap stats. -s Print summary information about total swap space usage and availability: allocated The total amount of swap space in bytes currently allocated for use as backing store. reserved The total amount of swap space in bytes not currently allocated, but claimed by memory mappings for possi- ble future use. used The total amount of swap space in bytes that is either allocated or reserved. available The total swap space in bytes that is currently available for future reservation and allocation. These numbers include swap space from all configured swap areas as listed by the -l option, as well swap space in the form of physical memory. USAGE
On the 32-bit operating system, only the first 2 Gbytes -1 are used for swap devices greater than or equal to 2 Gbytes in size. On the 64-bit operating system, a block device larger than 2 Gbytes can be fully utilized for swap up to 2**63 -1 bytes. ENVIRONMENT VARIABLES
See environ(5) for descriptions of the following environment variables that affect the execution of swap: LC_CTYPE and LC_MESSAGE. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
pagesize(1), mkfile(1M), shareall(1M), getpagesize(3C), vfstab(4), attributes(5), largefile(5) WARNINGS
No check is done to determine if a swap area being added overlaps with an existing file system. SunOS 5.10 20 Jan 2004 swap(1M)
All times are GMT -4. The time now is 05:06 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy