summaryrefslogtreecommitdiffstats
path: root/usr.bin/ipcs
Commit message (Collapse)AuthorAgeFilesLines
* Add the ability to clean up all shared memory segments which areedwin2007-12-254-197/+296
| | | | | | | | | | | | | | | | | | | | | unused in one go. From the original PR: I've observed that linux apps running under the linuxulator have a habit of leaving behind shared memory segments which are unused, but which eventually cause the system to run out of free segments and these apps will stop working. ipcrm(1) currently only allows removal of unused message queues, shared memory segments and semaphores on an individual basis, or those having a matching (non-zero) key. However it would often be convenient to just do a complete cleanup of everything, usually as root. PR: bin/118292 Submitted by: Callum Gibson <callumgibson@optusnet.com.au> Not reviewed by: grog@ Approved by: grog@
* Stylify ipcs/ipcs.c and ipcrm/ipcrm in preparation of the upcomingedwin2007-12-181-285/+354
| | | | | | | | | changes as proposed in bin/118292. Feel free to mention any I have missed, there is much to learn with regarding to style(9). Approved by: grog@
* o Fix typo in a comment.maxim2006-05-151-1/+1
| | | | | | PR: bin/97292 Submitted by: clsung MFC after: 3 days
* Change the data type of the upper shared memory limits from a signedcsjp2005-08-061-5/+5
| | | | | | | | | | | | integer to an unsigned long. This lifts variables like the maximum number of pages available for shared memory from 2^31 to 2^32 on 32 bit architectures, and from 2^31 to 2^64 on 64 bit architectures. It should be noted that this changes breaks ABI on 64 bit architectures because the size of the shmmax, shmmin, shmmni, shmseg and shmall members of the shminfo structure has changed. Silence on: current@
* If sysctlbyname fails for kernel related reasons, tag the errnocsjp2005-05-241-1/+1
| | | | | | | string to the end of the error message. I think we used errx() there when we really wanted an err(). MFC after: 1 week
* Use 12 columns for (int) values, 20 columns for (long) and alignkeramida2005-03-081-47/+50
| | | | | | | | | | | headers properly (right justified for numbers, left justified for everything else). This fixes the alignment of the fields on i386, sparc64 and amd64 today but does not dynamically assign column widths or bear in mind that some of the values may be 64-bit in the future. Reviewed by: alfred
* Turn K&R functions into prototypes.stefanf2005-02-101-17/+6
|
* Sort sections.ru2005-01-181-4/+4
|
* third of several commits to allow kernel System V IPC data structuresrwatson2004-11-121-66/+66
| | | | | | | | | | | | to be modified and extended without breaking the user space ABI: Make the "ipcs" tool, which grubs around in kernel memory to report status relating to System V IPC, use the _kernel variants on the System V IPC data structures. Submitted by: Dandekar Hrishikesh <rishi_dandekar at sbcglobal dot net> Obtained from: TrustedBSD Project Sponsored by: DARPA, SPAWAR, McAfee Research
* Mechanically kill hard sentence breaks.ru2004-07-021-4/+8
|
* Added -u to the SYNOPSIS.ru2004-05-181-0/+1
|
* Bump document date on behalf of the -u option.ru2004-05-181-2/+2
|
* Add -u option to ipcs(1) and document it in ipcs.1bmilekic2004-03-242-3/+39
| | | | | | | It allows you to list IPC facilities owned by username/uid. Submitted by: Christian S.J. Peron <maneo@bsdpro.com> PR: bin/63463
* Fixed style of DPADD and LDADD assignments as per style.Makefile(5).ru2004-02-051-2/+2
|
* Cosmetic fix on some TIME related columns.iwasaki2003-10-301-6/+6
|
* Markup bits.ru2003-05-211-2/+2
| | | | Approved by: re (blanket)
* The descriptions of the -C and -M options were around the wrong way;tjr2003-03-241-10/+10
| | | | | | | fix this. PR: 49968 MFC after: 2 weeks
* Add -M, -Q, -S, and -T to the usage message.tjr2003-03-241-1/+1
|
* Consistently use FBSDIDobrien2002-06-301-4/+2
|
* Replace /kernel with /boot/kernel/kernel.joe2002-05-091-3/+3
| | | | | PR: docs/37757 Submitted by: Hiten Pandya <hiten@uk.FreeBSD.org>
* Use `The .Nm utility'charnier2002-04-201-1/+1
|
* 1) Add missing prototypes for fmt_perm and cvt_time.dwmalone2002-03-301-6/+8
| | | | | | | 2) Move a break outside a #if block to keep gcc3 from seeing a "default:" at the end of a block. 3) Fix some format warnings. Some remain which can be fixed more easily when we have a full C99 printf.
* remove __Pimp2002-03-221-4/+3
|
* Fixed divots that I created when I moved prototypes of group_from_gidimp2002-02-191-0/+2
| | | | | | | and user_from_uid to grp.h and pwd.h. Update the man pages. Submitted by: David Malone Pointy hat to: imp
* Include missing header files which define functions for which gcc hasdd2001-06-241-0/+1
| | | | builtins (e.g., exit, strcmp).
* Don't install setgid kmem.dd2001-06-011-2/+0
|
* Convert to use the sysctl interface to obtain the data when operatingdd2001-05-312-52/+240
| | | | | | | on a running system. Using kvm is still supported, primarily for postmortem analysis. Reviewed by: tmm
* mdoc(7) police: removed history info from the .Os FreeBSD call.ru2000-12-141-1/+1
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-1/+1
|
* Remove the undocumented semconfig() system calls. These cause more troublepeter2000-05-011-8/+0
| | | | than they are worth.
* Instead of checking for a non-zero return value from kvm_read, checknectar2000-03-311-1/+1
| | | | whether we read as many bytes as we expected.
* Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL"peter1999-12-291-1/+1
| | | | | | is an application space macro and the applications are supposed to be free to use it as they please (but cannot). This is consistant with the other BSD's who made this change quite some time ago. More commits to come.
* $Id$ -> $FreeBSD$peter1999-08-283-3/+3
|
* .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.charnier1998-03-231-5/+3
|
* Add rcsid, Remove unused vars.charnier1997-07-152-15/+16
|
* From the PR:eivind1997-05-041-2/+2
| | | | | | | | | | ipcs -T' shows system information about shared memory, message queues and semaphores. But the manual description does not mention semapores. Now it does. PR: docs/3489 Submitted by: k-horik@yk.rim.or.jp
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-2/+2
| | | | posix standard on the topic.
* Revert $FreeBSD$ to $Id$peter1997-02-223-3/+3
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-143-3/+3
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* delete doubled words, e.g.: "the the" -> "the"wosch1996-10-051-2/+2
|
* s/msg/shm/ for one variable.joerg1996-07-181-2/+2
| | | | Submitted by: jin@george.lbl.gov (Jin Guojun[ITG])
* Drop privileges if we're not reading standard kernel file or namelist.pst1996-05-301-1/+9
| | | | Submitted by: smpatel (Sujal Patel)
* Instantiate our own variables instead of depending on bogus commonbde1995-07-121-2/+5
| | | | declarations in system headers that will be fixed soon.
* NetBSD -> FreeBSDnate1994-11-191-2/+2
| | | | (Bring to 2.0 please)
* Declared msginfo, shminfo, and seminfo structs.dg1994-09-191-1/+5
|
* Imported the NetBSD version which acts a lot more like the SYSV program.dfr1994-09-133-338/+593
| | | | Obtained from: NetBSD
* Added from FreeBSD-1.1.5 with some additions to list shared memory segments.dfr1994-09-132-0/+383
OpenPOWER on IntegriCloud