Sponsored Content
Top Forums UNIX for Advanced & Expert Users How to relate ipcs id or cpid to process? Post 302900953 by Don Cragun on Friday 9th of May 2014 03:13:16 PM
Old 05-09-2014
Does the PID in the CPID or LPID columns in the ipcs output show up in the PID column of the output from ps -lea? If so, does the database instance show up in the CMD column output on any of those lines?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

ipcs command

Does anyone know how to set the variables with the ipcs command? I need to set the following variables: Shared memory segments message queues semaphore arrays all of these (1 Reply)
Discussion started by: Deuce
1 Replies

2. Programming

System V and POSIX IPCs

I am using SUN 0S 5.7. My application has a dozen programs running in this machine, each instance of a program having 2 POSIX message queues for itself. Totally around 90 POSIX message queues. Another small application uses a SYSTEM V shared memory and a message queue. We face a problem... (1 Reply)
Discussion started by: Deepa
1 Replies

3. UNIX for Advanced & Expert Users

Question relate to AWK

Hi, I would like to setup a FOR loop script to find out all the existing linux workstation in the network w/ ip address, hostname and linux version. I created a basic FOR loop script: for i in $(seq 1 254) do echo 10.72.169.$i >> result ssh -o ConnectTimeout=3 root@10.72.169.$i... (14 Replies)
Discussion started by: beeloo
14 Replies

4. AIX

ipcs command with out output

hello i'm running on aix 5300-08-02-0822 hacmp 4 when i run ipcs command there is nio output. some one got this problem? best regards ariec (1 Reply)
Discussion started by: ariec
1 Replies

5. Solaris

ipcs Help

hi, I need help with ipcs command on Solaris. What does it do and what are options b,m,o,q does. Here is the sample output of ipcs -oq and ipcs -bm IPC status from <running system> as of Sun Sep 7 23:07:59 GMT 2008 T ID KEY MODE OWNER GROUP CBYTES QNUM... (4 Replies)
Discussion started by: krabu
4 Replies

6. Shell Programming and Scripting

Need to relate Radius log entries to DHCP ones

Hi, let say i have 2 log files(they are below) dhcp and radius. What i need is to put the information to a file just from good connections ( Auth: Login OK ) others just ignore. And the information should look like: time, login name, mac, ip, server. But the trouble is that from radius log i get... (10 Replies)
Discussion started by: wrwe
10 Replies

7. Programming

help with C++ code that relate the object with physical address

I need some help to write a C++ code that read and write the register of a sequencer. I have to make a code that relate the objects with the physical address but I am a bit confuse. Could someone suggest me how to proceed? in which parts do I split the code? thanks (1 Reply)
Discussion started by: silviafisica
1 Replies

8. AIX

ipcs -m displaying empty

I am trying to run myApplication which allocates Some amount of shared memory at startup. It failed because not available shared memory are available. But when i ran, ipcs -m it is displaying empty(i.e no shared memory allocated in system.) Why "ipcs -m" is displaying empty ? ... (5 Replies)
Discussion started by: ashokd001
5 Replies

9. Solaris

IPCS COUNT clear

How to clear IPCS queue count in server? (2 Replies)
Discussion started by: Arasu123
2 Replies

10. UNIX for Advanced & Expert Users

Ipcs do not show MODE

The ipcs -q command output includes a MODE column which tells user if the process is waiting on read or write on the queue. I used this in scripts on many systems (Solaris, AIX, SCO) a snippet from man MODE (all) The facility access modes and flags: The mode consists of 11... (2 Replies)
Discussion started by: migurus
2 Replies
numastat(8)							  Administration						       numastat(8)

numastat
       numastat - Show per-NUMA-node memory statistics for processes and the operating system

SYNTAX
numastat numastat [-V] numastat [<PID>|<pattern>...] numastat [-c] [-m] [-n] [-p <PID>|<pattern>] [-s[<node>]] [-v] [-z] [<PID>|<pattern>...] DESCRIPTION
numastat with no command options or arguments at all, displays per-node NUMA hit and miss system statistics from the kernel memory alloca- tor. This default numastat behavior is strictly compatible with the previous long-standing numastat perl script, written by Andi Kleen. The default numastat statistics shows per-node numbers (in units of pages of memory) in these categories: numa_hit is memory successfully allocated on this node as intended. numa_miss is memory allocated on this node despite the process preferring some different node. Each numa_miss has a numa_foreign on another node. numa_foreign is memory intended for this node, but actually allocated on some different node. Each numa_foreign has a numa_miss on another node. interleave_hit is interleaved memory successfully allocated on this node as intended. local_node is memory allocated on this node while a process was running on it. other_node is memory allocated on this node while a process was running on some other node. Any supplied options or arguments with the numastat command will significantly change both the content and the format of the display. Specified options will cause display units to change to megabytes of memory, and will change other specific behaviors of numastat as described below. OPTIONS
-c Minimize table display width by dynamically shrinking column widths based on data contents. With this option, amounts of memory will be rounded to the nearest megabyte (rather than the usual display with two decimal places). Column width and inter-column spacing will be somewhat unpredictable with this option, but the more dense display will be very useful on systems with many NUMA nodes. -m Show the meminfo-like system-wide memory usage information. This option produces a per-node breakdown of memory usage information similar to that found in /proc/meminfo. -n Show the original numastat statistics info. This will show the same information as the default numastat behavior but the units will be megabytes of memory, and there will be other formatting and layout changes versus the original numastat behavior. -p <PID> or <pattern> Show per-node memory allocation information for the specified PID or pattern. If the -p argument is only digits, it is assumed to be a numerical PID. If the argument characters are not only digits, it is assumed to be a text fragment pattern to search for in process command lines. For example, numastat -p qemu will attempt to find and show information for processes with "qemu" in the command line. Any command line arguments remaining after numastat option flag processing is completed, are assumed to be additional <PID> or <pattern> process specifiers. In this sense, the -p option flag is optional: numastat qemu is equivalent to numastat -p qemu -s[<node>] Sort the table data in descending order before displaying it, so the biggest memory consumers are listed first. With no specified <node>, the table will be sorted by the total column. If the optional <node> argument is supplied, the data will be sorted by the <node> column. Note that <node> must follow the -s immediately with no intermediate white space (e.g., numastat -s2). Because -s can allow an optional argument, it must always be the last option character in a compound option character string. For example, instead of numastat -msc (which probably will not work as you expect), use numastat -mcs -v Make some reports more verbose. In particular, process information for multiple processes will display detailed information for each process. Normally when per-node information for multiple processes is displayed, only the total lines are shown. -V Display numastat version information and exit. -z Skip display of table rows and columns of only zero valuess. This can be used to greatly reduce the amount of uninteresting zero data on systems with many NUMA nodes. Note that when rows or columns of zeros are still displayed with this option, that probably means there is at least one value in the row or column that is actually non-zero, but rounded to zero for display. NOTES
numastat attempts to fold each table display so it will be conveniently readable on the output terminal. Normally a terminal width of 80 characters is assumed. When the resize command is available, numastat attempts to dynamically determine and fine tune the output tty width from resize output. If numastat output is not to a tty, very long output lines can be produced, depending on how many NUMA nodes are present. In all cases, output width can be explicitly specified via the NUMASTAT_WIDTH environment variable. For example, NUMAS- TAT_WIDTH=100 numastat. On systems with many NUMA nodes, numastat -c -z .... can be very helpful to selectively reduce the amount of dis- played information. ENVIRONMENT VARIABLES
NUMASTAT_WIDTH FILES
/proc/*/numa_maps /sys/devices/system/node/node*/meminfo /sys/devices/system/node/node*/numastat EXAMPLES
numastat -c -z -m -n numastat -czs libvirt kvm qemu watch -n1 numastat watch -n1 --differences=cumulative numastat AUTHORS
The original numastat perl script was written circa 2003 by Andi Kleen <andi.kleen@intel.com>. The current numastat program was written in 2012 by Bill Gray <bgray@redhat.com> to be compatible by default with the original, and to add options to display per-node system memory usage and per-node process memory allocation. SEE ALSO
numactl(8), set_mempolicy(2), numa(3) Bill Gray 1.0.0 numastat(8)
All times are GMT -4. The time now is 07:27 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy