06-13-2008
I need a script which sends a mail when paging is happening and which process is causing paging?
10 More Discussions You Might Find Interesting
1. Programming
Hi,
My problem is next....
How can I work with physical memory in the Unix FreeBSD 2.2 or hight?
What is the "mem" & "kmem" drivers?
P.S./ writing device driver for UNIX FreeBSD 2.2 :D (2 Replies)
Discussion started by: Alex_T
2 Replies
2. UNIX for Dummies Questions & Answers
It is just a general question....is there a limit on the memory? I am looking into a process to store image files on the unix server which will be accessed by the application, and I just wonder if there is any limit regarding the physical or virtual memory. I am very new to unix, so thanks for... (1 Reply)
Discussion started by: cchien
1 Replies
3. Shell Programming and Scripting
What command can i use to get the physical and virtual memory of a database? (7 Replies)
Discussion started by: tads98
7 Replies
4. UNIX for Advanced & Expert Users
vmstat -P commands gives me an output as shown at the end of this message.
my first question is about the difference between "total physical memory" and "total physical memory use"
"Total Physical Memory" -"Total Physical Memory Use"
524288 pages-524026 pages= 262 pages
does it mean... (0 Replies)
Discussion started by: gfhgfnhhn
0 Replies
5. Solaris
HI
Please help me how to check the physical memory, model name and hardisk information. (5 Replies)
Discussion started by: jeelans
5 Replies
6. Solaris
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
7. Solaris
Is it possible to restrict physical memory in solaris zone with zone.max-locked-memory just like we can do with rcapd ? I do not want to used rcapd (1 Reply)
Discussion started by: fugitive
1 Replies
8. AIX
IBM says we cannot expand our physical memory on our 570's without upgrading all the existing DIMMS since all slots are currently full. Is it really so difficult for IBM to build servers that leave a couple vacant slots for future expansion? A technical explanation would be greatly appreciated.... (2 Replies)
Discussion started by: 1computerman
2 Replies
9. UNIX for Dummies Questions & Answers
I am currently running unix open server 6.0 on a Dell Power Edge R720. The system will be running fine when the blue screen appears and states the system has performed a physical memory dump in # of ticks. I reboot the system and all looks well. Running diagnostics does not show anything wrong. The... (1 Reply)
Discussion started by: rformt
1 Replies
10. Solaris
Below is Physical Memory result :
-bash-3.00$ prtconf | grep "Memory size"
Memory size: 36854 Megabytes
-bash-3.00$ vmstat 1 2 | tail -1
0 0 0 28220616 1318888 15 143 0 0 0 0 0 253 2 15 0 5215 14989 5917 7 0 93
and the script i have to calculate this in Percentage is :
#!/bin/sh... (3 Replies)
Discussion started by: mjoshi010207
3 Replies
LEARN ABOUT REDHAT
swapoff
SWAPON(8) Linux Programmer's Manual SWAPON(8)
NAME
swapon, swapoff - enable/disable devices and files for paging and swapping
SYNOPSIS
/sbin/swapon [-h -V]
/sbin/swapon -a [-v] [-e]
/sbin/swapon [-v] [-p priority] specialfile ...
/sbin/swapon [-s]
/sbin/swapoff [-h -V]
/sbin/swapoff -a
/sbin/swapoff specialfile ...
DESCRIPTION
Swapon is used to specify devices on which paging and swapping are to take place. Calls to swapon normally occur in the system multi-user
initialization file /etc/rc making all swap devices available, so that the paging and swapping activity is interleaved across several
devices and files.
Normally, the first form is used:
-h Provide help
-V Display version
-s Display swap usage summary by device. Equivalent to "cat /proc/swaps". Not available before Linux 2.1.25.
-a All devices marked as ``swap'' swap devices in /etc/fstab are made available. Devices that are already running as swap are silently
skipped.
-e When -a is used with swapon, -e makes swapon silently skip devices that do not exist.
-p priority
Specify priority for swapon. This option is only available if swapon was compiled under and is used under a 1.3.2 or later kernel.
priority is a value between 0 and 32767. See swapon(2) for a full description of swap priorities. Add pri=value to the option field
of /etc/fstab for use with swapon -a.
Swapoff disables swapping on the specified devices and files. When the -a flag is given, swapping is disabled on all known swap devices
and files (as found in /proc/swaps or /etc/fstab).
NOTE
You should not use swapon on a file with holes. Swap over NFS may not work.
SEE ALSO
swapon(2), swapoff(2), fstab(5), init(8), mkswap(8), rc(8), mount(8)
FILES
/dev/hd?? standard paging devices
/dev/sd?? standard (SCSI) paging devices
/etc/fstab ascii filesystem description table
HISTORY
The swapon command appeared in 4.0BSD.
Linux 1.x 25 September 1995 SWAPON(8)