Paging Space
-
What is Paging Space:
-
Its a secondary storage area for
-
Inactive memory
-
Over-committed memory
-
Hold the Inactive pages on disk
-
It is the substitute for real memory
Commands for Paging Space
-
Checking the Paging space
-
User lsps command with options -a (details information about paging) and -s (summary of paginig space)
-
Adding a Paging Space
- We can add the pagging space by using mkps command or by using smit mkps
Example: mkps [-a] [-n] [-t type]
-s NumLPs Vgname [PVnames]
-
Options Used:
-
-s NumLPs : Set the size of the new paging in logical partitions
-
-a : Activate the aging space at next restart (adds it to /etc/swapsspaces)
-
-n : Activate the paging space immediately
-
-t type : Specifies the type of paging space (lv or nfs)
mkps -s 5 -n -a rootvg hdisk0
-
Changing Paging Space:
-
We can change the Paging space using command chps or smit chps
Example : chps [-s] [-d] [number of PP] [Paging
name]
-
Options Used:
-
-d : delete the logical PP from given Paging space
-
-s : add the LPS to the Paging space
chps -d 1 paging00 ---It
will delete 1 LP from Paging space
chps -s 1 paging00 ---It
will add 1 LP to paging space
-
Removing the Paging Space: We can remove the paging space by using rmps command
-
Syntax : rmps
-
Example rmps paging01
No comments:
Post a Comment