summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pstat
Commit message (Collapse)AuthorAgeFilesLines
* Unbreak world, IN_SHLOCK/IN_EXLOCK haven't existed in a while andalfred2001-05-092-18/+0
| | | | Kirk finally has ditched them. While I'm here also ditch FSHLOCK.
* Revert consequences of changes to mount.h, part 2.grog2001-04-291-2/+0
| | | | Requested by: bde
* Include necessary header files, in preparation for fixing breakage ingrog2001-04-231-0/+2
| | | | | | sys/mount.h. Suggested by: phk
* mdoc(7) police: you don't need to use enclose macros for blocks of text.ru2001-04-041-1/+1
|
* Note that the -v option is not supported. Don't remove the actualdd2001-03-291-0/+2
| | | | | | | | text because the code is still in pstat.c, and may be reincarnated at some point. PR: 26054 Approved by: nik
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-0/+1
| | | | - MAN[1-9] -> MAN.
* Set the default manual section for usr.sbin/ to 8.ru2001-03-201-1/+1
|
* mdoc(7) police: Change -filled displays (which just happenru2001-02-071-1/+1
| | | | | | to be the same as -ragged in the current implementation) to -ragged. With mdocNG, -filled displays produce the correct output, formatted and justified to both margins.
* mdoc(7) police: compact a few lists for better output.ru2001-01-171-24/+25
|
* Ooops, the -M and -N flags were already documented, though not very clearly.ben2001-01-161-10/+0
| | | | | | Remove the old description in favour of the new description which lists the -M and -N flags along with all the other flags. This is consistent with the manual pages for ps, netstat, iostat, etc.
* document -M and -N flags.ben2001-01-161-0/+7
| | | | | PR: 24323 Submitted by: Jesse Monroy <opentrax@email.com>
* update to the current set of mnt_, ufs_ and nfs_ flagsassar2000-12-302-21/+67
| | | | also make man-page correspond to the code
* Use the MACRO API to <sys/queue.h>.phk2000-12-301-4/+4
| | | | Submitted by: "Peter Avalos" <pavalos@theshell.com>
* Prepare for mdoc(7)NG.ru2000-12-271-5/+5
|
* Constifykris2000-11-271-1/+1
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-2/+2
|
* Don't report TABLDISC - it "doesn't happen(TM)"peter2000-01-291-3/+0
|
* Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL"peter1999-12-291-2/+2
| | | | | | 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.
* Add extra columns for printing longer device name.charnier1999-12-051-3/+3
|
* Merge fprintf and exit into errx.charnier1999-11-272-4/+6
| | | | Use .Ev for environment variable.
* struct mountlist and struct mount.mnt_list have no business beingphk1999-11-201-3/+3
| | | | | | | | | | a CIRCLEQ. Change them to TAILQ_HEAD and TAILQ_ENTRY respectively. This removes ugly mp != (void*)&mountlist comparisons. Requested by: phk Submitted by: Jake Burkholder jake@checker.org PR: 14967
* $Id$ -> $FreeBSD$peter1999-08-282-2/+2
|
* VALIASED doesn't exist any more.phk1999-08-261-3/+1
|
* Add support for picking up ttys with sysctl(kern.ttys).phk1999-08-081-62/+12
|
* Tidy up references to <sys/rlist.h> and support for the old swap managementpeter1999-05-111-2/+1
| | | | that went away in January.
* Fix formatting bug with [NFS swap] vs /dev/DEVNAMEdillon1999-01-221-3/+3
|
* Make pstat use new kvm_getswapinfo() libkvm call.dillon1999-01-221-344/+77
|
* Update pstat -s to handle both old and new swapper.dillon1999-01-212-76/+290
| | | | Add pstat -ss to dump new swapper's radix tree.
* Increased column widths for tty input watermark fields so that watermarksbde1998-08-191-9/+10
| | | | | | | | | for 11520-byte buffers for 115200 bps are displayed properly. Fixed my recent printf format error fixes. %p is almost unusable in tables, since its width and format are unknown/machine-dependent. Use %8lx and cast pointers to (u_long)(void*). This is still quite broken, e.g., for machines with 64-bit pointers.
* Fixed printf format errors.bde1998-07-061-8/+8
|
* Set the input and output buffer sizes and the input buffer watermarksbde1998-03-071-4/+6
| | | | | | | dynamically depending on the line speed(s). This should give the old sizes and watermarks until drivers are changed. Display the input watermarks in pstat and sicontrol.
* VVMIO -> VOBJBUF as in pstat.c.bde1998-01-171-2/+2
|
* Make pstat.c compile, since in the new kernel code, VVMIO doesn'tdyson1998-01-061-2/+2
| | | | exist anymore.
* Reviewed by: various.julian1997-11-121-1/+3
| | | | | | | | | | | | | | | | Ever since I first say the way the mount flags were used I've hated the fact that modes, and events, internal and exported, and short-term and long term flags are all thrown together. Finally it's annoyed me enough.. This patch to the entire FreeBSD tree adds a second mount flag word to the mount struct. it is not exported to userspace. I have moved some of the non exported flags over to this word. this means that we now have 8 free bits in the mount flags. There are another two that might well move over, but which I'm not sure about. The only user visible change would have been in pstat -v, except that davidg has disabled it anyhow. I'd still like to move the state flags and the 'command' flags apart from each other.. e.g. MNT_FORCE really doesn't have the same semantics as MNT_RDONLY, but that's left for another day.
* "Fixed" pstat -T by avoiding the vnode stats. Disabled pstat -v sincedg1997-10-191-2/+6
| | | | | we no longer support that sysctl (in my opinion, pstat -v is a security hole in any case).
* Use err(3). Add usage().charnier1997-10-092-28/+37
| | | | Default source of tables (-M) is /dev/mem, not /dev/kmem.
* Update to include some of the newer vnode flags and remove some stale ones.peter1997-08-302-9/+25
|
* Previous commit to remove -I/sys broke 'make world', miscfs/union/*.h ispeter1997-07-151-0/+1
| | | | not (yet?) installed in /usr/include.
* Remove -I/sysguido1997-07-131-1/+0
|
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-311-1/+1
| | | | posix standard on the topic.
* Removed `#define KERNEL'. This was a hack-around for nfs.h being brokenbde1997-03-291-4/+0
| | | | | | | | in the Lite2 merge to not export some nfs constants. It started causing warnings when I added a kernel-only #define for DIRBLKSIZ. Removed `#define NFS'. This was an old, bad interface for telling <sys/mount.h> to export nfs stuff.
* - update MNT_* flags to match lite2 properly. get rid of old #if 0 flagspeter1997-03-251-22/+9
| | | | | | that are gone, add new missing ones. - don't dereference kernel relative pointers in user space for() loops, it doesn't work real well.
* Merge Lite2 changespeter1997-03-112-153/+120
|
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | 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.
* Fix a typo, putput --> output.alex1996-10-271-2/+2
| | | | Submitted by: Philippe Charnier <charnier@xp11.frmug.org>
* Make pstat -s (aka. sswapinfo) print ``[NFS]'' as opposed tojoerg1996-10-201-3/+7
| | | | | | | | | ``/dev/??'' for NFS swap. I had a hard time to figure out whether it's possible to print the actual mounted swap file, but i failed to get any information. If anybody knows how to get ``192.168.0.1:/swap.192.168.0.3'' instead, please step forward!
* Include <fcntl.h> so that this doesn't depend on the KERNEL versionbde1996-09-291-0/+1
| | | | | of <sys/file.h> including <sys/fcntl.h>. Only the !KERNEL version of <sys/file.h> will do that when I unspam the kernel headers.
* Use the .Bx macro where appropriate.mpp1996-08-231-2/+3
|
* Document the -i backward compatibility option (same as -v).mpp1996-07-031-2/+6
| | | | Submitted by: Faried Nawaz
OpenPOWER on IntegriCloud