Further, ps counts everything as if it is unique - but many segments, especially shared memory code and data, as well as kernel.
True. This is why it is a good idea to use ipcs to complement the output of ps and list all shared memory segments. It will take a while to rummage through my archive, but i used to have a script for that somewhere.... i will post it if i can find it.
Basically you can do a
to list PID (pid) and memory consumption (vsz) of each process ("args"=commandline, for reference) and crosscheck this with a ipcs -Sp.
Hello,
I need to make a gateway from Ethernet to RS-485. I am using stream socket, and I am programming in windows nt. I would like to know how could I use some functions from unix in windows nt. I would like to use the function fork(). Which library it uses and how can I get it? Can I... (1 Reply)
I need a quick script that will serve as a sort of "real time monitor" for watching some log files. I am using Bourne shell in HP-UX 10.20. I have basically created a script that never ends, unless of course I manually terminate it. Here's the script (it's called qhistory):
clear
echo "REAL... (3 Replies)
hi everyone,
have this little piece of code in order to help you understand my question
#include<stdio.h>
#include<unistd.h>
int main()
{
int i, pid;
pid = fork();
if(pid<0)
{
fprintf(stderr, "fork failed\n");
_exit(1);
}
if(pid==0)
{
printf("in Child\n");... (4 Replies)
Hi,
It's my first time I will use a 4BG fiber with two ports on one card. I used only one port 2GB before.
What will be the drivers I need to install on my AIX5.3? Is the two ports going to be just one line? Or I can use the other ports on another connection.
Thanks in advance,
itik (1 Reply)
I have log file whose size is 4 GB , i would like to split it to 1 gb each ,Can any one tell me the syntax of csplit comand for that.
I am using Sun0S 5.8 (3 Replies)
I have one 4GB, dual port HBA. Is each port rated for 4GB, or is it the whole HBA rated for 4GB?
Also, how do I determine which is port0 / port1 with "lscfg -vl fcs0" command. Thanks. (0 Replies)
Dear experts,
I have done a re-installation of sco unix openserver 5.0.5 and managed to create users. The problem am facing is that of one user logging in more than 5 times. How can i overcome this problem. the system give the error below.
-sh: fork failed - too many processes in sco unix... (5 Replies)
As we are facing issue with this server connection. The error is:
The system function gethostbyname() failed to find the client's host name.
how can i check if the server "server1" is able to resolve the client hostname (hosts / dns)?
i can ping the client from server.
any... (1 Reply)
Hi all.
I wrote a program with the Motif Widget Toolkit. It has a
button and a scrollbar. When the user hits the button the
callback creates a new fork() thread. The new thread sleeps
for a while and then changes the position of the scrollbar.
It does this in an endless loop.
I need the... (2 Replies)
Hello for all,
I am testing the behavior of a 32 bit application running on Solaris 5.10 (SPARC), and realize it reaches 4GB of memory and then crashes.
It doesn't matter the amount of used memory as application is intended to perform many transactions; rather, what I want to achieve is to... (2 Replies)
Discussion started by: Leito7824
2 Replies
LEARN ABOUT DEBIAN
ipcs
IPCS(1) User Commands IPCS(1)NAME
ipcs - provide information on ipc facilities
SYNOPSIS
ipcs [-asmq] [-tclup]
ipcs [-smq] -i id
ipcs -h
DESCRIPTION
ipcs provides information on the ipc facilities for which the calling process has read access.
The -i option allows a specific resource id to be specified. Only information on this id will be printed.
Resources may be specified as follows:
-m shared memory segments
-q message queues
-s semaphore arrays
-a all (this is the default)
The output format may be specified as follows:
-t time
-p pid
-c creator
-l limits
-u summary
SEE ALSO ipcrm(1), ipcmk(1)CONFORMING TO
The Linux ipcs utility is not fully compatible to the POSIX ipcs utility. The Linux version does not support the -b and -o options, but
does support the -l and -u options not defined by POSIX. The portable application shall not use the -a, -b, -o, -l, and -u options.
AUTHOR
krishna balasubramanian (balasub@cis.ohio-state.edu)
AVAILABILITY
The ipcs command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
util-linux February 2008 IPCS(1)