09-10-2013
Quote:
Originally Posted by
icalderus
When I use the ipcs -a | grep (a 9 char string) there is no data returned. Unless I am mistaken this is because the ipcs command itself will not detect any search string > 8 characters.
ipcs doesn't have the magic ability to know when something on the other side of the pipe is grepping for 9 characters or more. Maybe it's not printing more than 8 characters in the first place, but it's not the searching that's screwing it up. It may also be a problem with the search string itself.
Post the raw output from ipcs, and post the string that somehow fails to match, and maybe we'll see why grep isn't matching it.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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. UNIX Desktop Questions & Answers
do anybody has knowledge how do i increase the character size in the UNIX box (1 Reply)
Discussion started by: subir23
1 Replies
3. AIX
Is there a limit of 512Mb when doing a "chfs -a size=XXXXX /myfs" ?
I managed to increase /var to 512MB fine, no issues, then i wanted to increase /usr to 2Gb, but when i enter:
# chfs -a size=2260992 /usr
chfs: 0506-908 Cannot reduce size... (5 Replies)
Discussion started by: craigp84
5 Replies
4. AIX
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. UNIX for Dummies Questions & Answers
Hi!!..
I would like to know what is maximum character size for a command in the "sh" or "bourne" shell?
Thanks in advance..
Roshan. (1 Reply)
Discussion started by: Roshan1286
1 Replies
6. UNIX for Advanced & Expert Users
Hi!!..
I would like to know what is maximum character size for a command in the "sh" or "bourne" shell?
Thanks in advance..
Roshan. (1 Reply)
Discussion started by: Roshan1286
1 Replies
7. Shell Programming and Scripting
Hi!!..
I would like to know what is maximum character size for a command in the "sh" or "bourne" shell?
Thanks in advance..
Roshan. (1 Reply)
Discussion started by: Roshan1286
1 Replies
8. UNIX for Advanced & Expert Users
Hi,
I read the ipcs man page and am still very confused.
Basically, I just want to know whether the output from the ipcs command below means these are the current "TOTAL" memory usage in bytes on the server? Is this correct?
Thanks in advance.
ipcs command output below:
# ipcs... (2 Replies)
Discussion started by: newbie_01
2 Replies
9. Shell Programming and Scripting
Hi
I would just like to ask if there is a way for UNIX to ignore/overcome the 255 character limit of the command line?
My problem is that I have a really long line of text from a file (300+ bytes) which i have to "echo" and process by adding commands like "sed" to the end of the line, like... (5 Replies)
Discussion started by: agentgrecko
5 Replies
10. Solaris
:wall:Dear Solaris 10 Specialists,
I am having difficulty trying to increase the soft stack limit to 16384 for user george on this Solaris 10 SunFire Sparc server as follows:
$ uname -a
SunOS galactica 5.10 Generic_141444-09 sun4v sparc SUNW,SPARC-Enterprise-T5220
% id -p ... (3 Replies)
Discussion started by: gjackson123
3 Replies
IPCS(1) Linux Programmer's Manual 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/.
Linux 0.99 9 October 1993 IPCS(1)