I have many application running on LINUX box, RAM allocated on this box is 15GB
I want to know how much memory is consumed by Applications and OS
OK, now we're talking.
From the output you provided i read it like this:
You have 15G or RAM, of which ~14G are in (various) use, ~650M are unused. Of the 14G of used RAM ~2.5G are used for buffers and cache, leaving ~11.5G for kernel and applications. When you say ~8G are used for applications that would leave ~3.5G to the kernel. I don't know the Linux kernel well enough to say if the file cache is included in this figure or not.
You can check the memory footprint of running processes by using the -o vsz parameter to the ps-command (SystemV-version). i.e.
will show all processes with the allocated memory (virtual+physical, in KB) and the command lines to invoke them. You need to add the shared memory segments which you can find out about with the ipcs command:
to get the complete memory used by applications.
Refer to the man pages of the named commands for details.
hello
I am new to the UNIX I want to know what command is used
1.To know the Memory consumed by a process at a time .
2.To know the How many CPU's in a server.
3.To know the RAM size.
4.To know the Hard Disk size. (3 Replies)
Hello AIX gurues...
In order to present the statistics of real memory usage I need to know how much real memory is used by the AIX 5L kernel. No the exact figures of course but some close to the reality.
The AIX is running in a 7GB real machine, it has a HACMP configuration and my concern is... (1 Reply)
Hi,
I am looking for acoomand on HP where by i can see the CPU increasing for a given process ... I know i can see this from top/prstat ..
But it will give for all the processes - I want something like say ps where i can call it from a shell script a few times and check if it is has increased... (0 Replies)
Hi! I am new to HP-UX. :o
By using the command glance, I found the user memory usage was very high. I would like to know is there any command can show the process which consume most available memory ? (Just like the command top, but order by memory, not CPU) (1 Reply)
Hi!!!
how can I obtain the consumed memory of a process?
nowadays i'm using ps -efo pid, pmem, comm,args ....
but the information is in percentage, is that correct?
so, i want to know how can obtain the consumed memory of a process in mb?
thanks in advance!
Richard (3 Replies)
I need to log the size of physical/virtual memory consumed by any given given process using c/c++ code running on solaris and aix without using the proc filesystem. Please advise. (1 Reply)
Hi,
Below is the code snippet I use on Linux (Centos) to retrieve the Process Name, PID and memory consumed on Linux (Centos) host:-
top -b -n 1 | awk -v date="$tdydate" -v ip="$ip" 'NR>7 {print date","ip","$12,","$1,","$10}'
Any idea how the same can be retrieved on an AIX host? This... (1 Reply)
Discussion started by: Vipin Batra
1 Replies
LEARN ABOUT MOJAVE
footprint
FOOTPRINT(1) BSD General Commands Manual FOOTPRINT(1)NAME
footprint -- gathers memory information about one or more processes
SYNOPSIS
footprint [-j path] [-f bytes|formatted|pages] [-p name|pid] [-x name|pid] [-t] [-s] [-v] [-y] [-w] [--swapped] [--wired] [-a] process-name |
pid | memgraph [...]
footprint -h, --help
DESCRIPTION
The footprint utility gathers and displays memory consumption information for the specified processes or memory graph files.
footprint will display all addressable memory used by the specified processes, but it emphasizes memory considered 'dirty' by the kernel for
purposes of accounting. If multiple processes are specified, footprint will de-duplicate multiply mapped objects and will display shared
objects separately from private ones.
footprint must be run as root when inspecting processes that are not owned by the current user.
OPTIONS -a, --all
target all processes (will take much longer)
-j, --json path
also save a JSON representation of the data to the specified path
-f, --format bytes|formatted|pages
textual output should be formatted in bytes, pages, or human-readable formatted (default)
-p, --proc name
target the given process by name (can be used multiple times)
-p, --pid pid
target the given process by pid (can be used multiple times)
-x, --exclude name/pid
exclude the given process by name or pid (can be used multiple times)
often used with --all to exclude some processes from analysis
-t, --targetChildren
in addition to the supplied processes, target their children, grandchildren, etc.
-s, --skip
skip processes that are dirty tracked and have no outstanding XPC transactions (i.e., are "clean")
-v display vmmap-like output of address space layout
-y, --summary
print only regions with dirty memory, and condense __TEXT, __DATA, and __LINKEDIT regions into 'Other' subtotal
-w, --wide
show wide output with all columns (implies --swapped --wired)
--swapped
show swapped/compressed column, a subset of 'dirty'
--wired
show wired memory column, a subset of 'dirty'
-h, --help
display help and exit
SAMPLE USAGE
footprint Mail WindowServer
OS X January 29, 2018 OS X