summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pstat
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Enable the -M and -N options of swapinfo, as advertised in the usage line.smpatel1996-05-291-1/+1
|
* Properly free up resources allocated in swapmode(). This is not quitejkh1996-05-091-0/+2
| | | | | | | | the patch submitted by Philippe Charnier since he wasn't actually freeing the resources early enough (an earlier return could be invoked, leaving the resources still allocated), but he definitely pointed it out. Merci, Philippe! Suggested-By: Philippe Charnier <charnier@lirmm.fr>
* Mention swapinfo as .Nm, so it will be referenced by mkwhatis.joerg1996-04-171-2/+3
|
* From Lite2: file LIST changes.hsu1996-03-111-4/+4
|
* Fix pstat to sync up with recent changes with swap space allocation.dyson1996-03-041-5/+7
|
* Fix a variety of minor typos and cross references in a bunch ofmpp1996-01-201-3/+3
| | | | | | | | man pages. Masanobu Saitoh <msaitoh@spa.is.uec.ac.jp> Giles Lean <giles@nemeton.com.au> <soda@sra.co.jp>
* #include <sys/user.h>phk1995-10-291-0/+1
| | | | I belive make world will work again now.
* Document SESS, fix PGRP (now PGID), and document some more STATE flags.bde1995-10-061-3/+20
| | | | Submitted by: clemc@locus.com and edited by me.
* Add support for the "si" Specialix driver in "pstat -t"peter1995-09-221-21/+33
| | | | | The si driver is different to the others in that the _si_tty symbol is a pointer, not the base of an array.
* Do the mountlist traversal the way it was done in 4.4-Lite2.dg1995-08-111-3/+3
|
* Since the mountlist is now a circular queue, adjust the names of thejkh1995-08-111-2/+3
| | | | | queue members used and also add a check to see when we've wrapped around again.
* Document new tty states TS_CONNECTED, TS_SO_OLOWAT, TS_SO_OCOMPLETE,bde1995-07-211-11/+37
| | | | | | | | | | | | | | TS_CAR_OFLOW, TS_CTS_OFLOW, TS_DSR_OFLOW and TS_ZOMBIE. Document old tty states TS_ASLEEP and TS_TTSTOP more completely. Document old tty states TS_ASYNC and TS_TBLOCK. Document not so old tty states TS_CAN_BYPASS_L_RINT and TS_SNOOP. Don't document nonexistent state TS_HUPCL. Document the current line disciplines instead of prehistoric ones.
* Support cy driver. All tty drivers require namelist stuff here or theybde1995-07-211-2/+35
| | | | | | | | | | | | | won't get reported. The pcvt, cx and iitty drivers aren't supported. Report new tty states TS_CONNECTED, TS_SO_OLOWAT, TS_SO_OCOMPLETE, TS_CAR_OFLOW, TS_CTS_OFLOW, TS_DSR_OFLOW and TS_ZOMBIE if they are defined. Report old tty states TS_WOPEN and TS_ASLEEP only if they are defined. Report not so old tty states TS_CAN_BYPASS_L_RINT and TS_SNOOP only if they are defined (instead of if __FreeBSD__ is defined).
* Changes to support version 3 of the NFS protocol.dfr1995-06-271-0/+2
| | | | | | | | | | | | | | | | | | The version 2 support has been tested (client+server) against FreeBSD-2.0, IRIX 5.3 and FreeBSD-current (using a loopback mount). The version 2 support is stable AFAIK. The version 3 support has been tested with a loopback mount and minimally against an IRIX 5.3 server. It needs more testing and may have problems. I have patched amd to support the new variable length filehandles although it will still only use version 2 of the protocol. Before booting a kernel with these changes, nfs clients will need to at least build and install /usr/sbin/mount_nfs. Servers will need to build and install /usr/sbin/mountd. NFS diskless support is untested. Obtained from: Rick Macklem <rick@snowhite.cis.uoguelph.ca>
* Remove trailing whitespace.rgrimes1995-05-301-18/+18
|
* Reflect the fact that we do not swap on the first <dmmax> blocks of aphk1995-05-141-1/+4
| | | | swapdev, to protect disklabels and other such magic stuff.
* Updated to work with Poul-Henning's recent changes to the swap devicedg1995-05-141-1/+3
| | | | | | | table. Reviewed by: John Dyson and David Greenman Submitted by: Poul-Henning Kamp
* Make pstat act like swapinfo if so invoked.phk1995-05-133-32/+55
|
* Add FreeBSD-specific TS_* statesache1995-05-071-0/+4
|
* Enable sio driver and upcoming rc driverache1995-05-071-0/+19
| | | | Add more line disciplines
* Corrected variable names for syscons support.sos1995-04-281-6/+6
|
* Submitted by: John Capoats1994-12-281-1/+1
| | | | | | | | | Bogus pstat usage message from pstat: usage: pstat -Tfnstv [system] [-M core] [-N system] [system] is not mentioned in the man page and I don't see where it is used in the code either. Added also a [] around the first options to show them as optional, ATS.
* Fix for 'pstat -t' works on vtysache1994-11-031-5/+17
| | | | Submitted by: jhay@mikom.csir.co.za
* Clean up after last commit: get rid of some unused variables.dg1994-10-101-1/+1
|
* Rewrote swap code to work with our swap layout. Much of the code stolendg1994-10-101-72/+28
| | | | from swapinfo.c.
* #if 0'd out the meat of the swap code until I get a chance to rewrite it.dg1994-10-091-13/+13
|
* Get rid of update. Make man page installation work with our schemewollman1994-08-051-0/+1
| | | | (and rename a few in the process).
* Converted 'vmunix' to 'kernel'.dg1994-08-051-2/+2
|
OpenPOWER on IntegriCloud