11-13-2007
Hi,
Thanks for all the details.
Yes, i used the Top command and when i sum up the memory usage shown (such as 'res' or 'size') is becoming more than the RAM size. So i am not sure how to calculate the RAM usage be each processes..
Thanks,
Bsraj.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
we are running red hat ES4 and i would like to know if there is anyway of restrcting the maximum amount of memory that a process can get? I have a single preocess that is taking >13GB.
Thanks,
Frank (4 Replies)
Discussion started by: frankkahle
4 Replies
2. Shell Programming and Scripting
hi all,
i want to write a script that checks the memory usage of processes and send a mail with the name of the process witch is using more then 300mb RAM.
dose anybody have a sample script or an idea how i can make it ?
PROCCESSES="snmpd sendmail"
for myVar in $PROCCESSES
do
... (7 Replies)
Discussion started by: tafil
7 Replies
3. Red Hat
Hi,
On server 64bit Hw Arch , Linux 5.0(32bit) is installed it is showing only 3gb of ram though physical is 16gb
can u give me idea why? (4 Replies)
Discussion started by: manoj.solaris
4 Replies
4. HP-UX
I use pstat API to get Process Infomation
I would like to get a process
1.process owner
2.how many physical memory and virtual memory and total memory used(KB) and usage(%)
3.a process excution file create time
4.a process excution file access time
I do't know which attribute it i need
... (3 Replies)
Discussion started by: alert0919
3 Replies
5. AIX
Hi,
I have AIX 5.3TL8 two node cluster using HACMP and have 10g database using RAW devices. I am seeing gradual increase in comp% memory everyday and it reaches 100% and evicts the node, we had 4 evictions in 40days.
I am pasting vmstat and vmo output, anyone seen this issue?
... (5 Replies)
Discussion started by: navin7386
5 Replies
6. UNIX for Advanced & Expert Users
Hi Guys,
I work on a AIX environment and I'm trying to write a script where I can collect all the memory used by a process. Basically I'm executing the command 'ps -fu userid' to get all the process ids and then executing the 'ps v PID' to get all the memory allocated by PPID. My question is... (2 Replies)
Discussion started by: arizah
2 Replies
7. HP-UX
Hi all,
Is there any command which shows the virtual memory usage of a particular process in HP-UX machine.
I have tried with ps, top but could not get what I want.
Kindly provide me a solution.
Thanks in Advance
ARD (4 Replies)
Discussion started by: ard
4 Replies
8. UNIX for Advanced & Expert Users
Experts,
I have been trying to figure out what is the total physical memory used from this output:
And what is the free memory available for the application or any programs.
The answer has to be in this format:
1. Physical Memory Used= xx.xx%
2. Physical Memry available= yy.yy%
... (5 Replies)
Discussion started by: rveri
5 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I will be creating a process myself and I want to know the average CPU and RAM used by the process over the lifetime of the process. I see that there are various tools available(pidstat) for doing , I was wondering if it possible to do it in a single command while creation.
Thanks in... (3 Replies)
Discussion started by: koustubh
3 Replies
10. Solaris
hi all gurus:
I want to find out Solaris process memory usage, but got a bit confused, see if any one can provide me some guidance.
i tend to use prstat -a to get total memory consumption by user (I know prstat likely have a bug that simply sum up the memory, regardless if the memory being... (5 Replies)
Discussion started by: oakville
5 Replies
LEARN ABOUT REDHAT
rootflags
RDEV(8) Linux Programmer's Manual RDEV(8)
NAME
rdev - query/set image root device, RAM disk size, or video mode
SYNOPSIS
rdev [ -rvh ] [ -o offset ] [ image [ value [ offset ] ] ]
rdev [ -o offset ] [ image [ root_device [ offset ] ] ]
ramsize [ -o offset ] [ image [ size [ offset ] ] ]
vidmode [ -o offset ] [ image [ mode [ offset ] ] ]
rootflags [ -o offset ] [ image [ flags [ offset ] ] ]
DESCRIPTION
With no arguments, rdev outputs an /etc/mtab line for the current root file system. With no arguments, ramsize, vidmode, and rootflags
print usage information.
In a bootable image for the Linux kernel on i386, there are several pairs of bytes which specify the root device, the video mode, and the
size of the RAM disk. These pairs of bytes, by default, begin at offset 504 (decimal) in the kernel image:
498 Root flags
(500 and 502 Reserved)
504 RAM Disk Size
506 VGA Mode
508 Root Device
(510 Boot Signature)
rdev will change these values.
Typical values for the image parameter, which is a bootable Linux kernel image, might be:
/vmlinux
/vmunix
/boot/bzImage-2.4.0
/dev/fd0
/dev/fd1
When using the rdev command, the root_device parameter might be something like:
/dev/hda1
/dev/hdf13
/dev/sda2
/dev/sdc4
/dev/ida/c0d0p1
One may also specify the device by a comma-separated pair of decimal integers major,minor.
For the ramsize command, the size parameter specifies the size of the RAM disk in kilobytes.
For the rootflags command, the flags parameter contains extra information used when mounting root. Currently the only effect of these
flags is to force the kernel to mount the root filesystem in readonly mode if flags is non-zero.
For the vidmode command, the mode parameter specifies the video mode:
-3 = Prompt
-2 = Extended VGA
-1 = Normal VGA
0 = as if "0" was pressed at the prompt
1 = as if "1" was pressed at the prompt
2 = as if "2" was pressed at the prompt
n = as if "n" was pressed at the prompt
If the value is not specified, the image will be examined to determine the current settings.
OPTIONS
-r Causes rdev to act like ramsize.
-R Causes rdev to act like rootflags.
-v Causes rdev to act like vidmode.
-h Provides help.
BUGS
The rdev utility, when used other than to find a name for the current root device, is an ancient hack that works by patching a kernel image
at a magic offset with magic numbers. It does not work on architectures other than i386. Its use is strongly discouraged. Use a boot
loader like SysLinux or LILO instead.
HISTORY
At offset 502 there used to be the device number of the swap device (in Linux 0.12), and "rdev -s" or "swapdev" would set this. However,
since Linux 0.95 this constant is not used any longer, and the swap device is specified using the swapon() system call.
AUTHORS
Originally by Werner Almesberger (almesber@nessie.cs.id.ethz.ch)
Modified by Peter MacDonald (pmacdona@sanjuan.UVic.CA)
rootflags support added by Stephen Tweedie (sct@dcs.ed.ac.uk)
Linux 0.99 20 November 1993 RDEV(8)