summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pstat
Commit message (Collapse)AuthorAgeFilesLines
* Don't include sys/user.h merely for its side-effect of recursivelydas2004-11-271-1/+2
| | | | including other headers.
* Corrected the description of the -t output columns to reflect reality.dds2004-11-111-12/+11
| | | | MFC after: 2 weeks
* Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived softwareimp2004-08-072-8/+0
| | | | (with permission of addtional copyright holders where appropriate)
* Eliminated double whitespace.ru2004-07-031-1/+1
|
* Mechanically kill hard sentence breaks.ru2004-07-021-2/+4
|
* Update kvm mode to match kernel changes.phk2004-06-091-3/+3
|
* -N without -M is pointless.ru2004-03-262-12/+10
|
* Update information of how pstat(8) accesses the running system.ru2004-03-261-12/+15
|
* Make NULL a (void*)0 whereever possible, and fix the warnings(-Werror)markm2004-03-051-1/+1
| | | | | | | | | | | | | | | that this provokes. "Wherever possible" means "In the kernel OR NOT C++" (implying C). There are places where (void *) pointers are not valid, such as for function pointers, but in the special case of (void *)0, agreement settles on it being OK. Most of the fixes were NULL where an integer zero was needed; many of the fixes were NULL where ascii <nul> ('\0') was needed, and a few were just "other". Tested on: i386 sparc64
* Remove options processing for dumping swapdevice radix map.phk2003-07-312-5/+1
|
* When dumping swap information, drop the "Type" field which displaysphk2003-07-311-7/+4
| | | | | | | a constant string of little information these days. This removes the need to #include <vm/swap_pager.h> which is due to become a kernel only include file.
* Report NODEV devices as <NFSfile>phk2003-06-051-2/+6
|
* Use __FBSDID over rcsid[]. Protect copyright[] where needed.obrien2003-05-031-4/+4
|
* style.Makefile(5)obrien2003-04-041-2/+2
|
* - Modernize the format of the open file showing mode output:robert2003-01-311-10/+23
| | | | | | | | | | | | | | | | | | . Print the column headers centered (except for the left-aligned TYPE header) using a different header for architectures where sizeof(uintptr_t) is not four. . Consistently do not print a '0x' prefix for hexadecimal values. . Separate columns by a single space character. . Pad the columns presenting an address or offset enough to hold their respective largest value. . Do not restrict the output to unknown file types, inodes and sockets; allow displaying of pipes, fifos, kqueues and crypto file descriptors too. - Shorten an overly long line by removing a cast of printf's return value to void. PR: alpha/45240 Tested on: i386, sparc64, alpha
* Bow to the whining masses and change a union back into void *. Retaindillon2003-01-131-1/+1
| | | | | removal of unnecessary casts and throw in some minor cleanups to see if anyone complains, just for the hell of it.
* Change struct file f_data to un_data, a union of the correct structdillon2003-01-121-1/+1
| | | | | | | | | | pointer types, and remove a huge number of casts from code using it. Change struct xfile xf_data to xun_data (ABI is still compatible). If we need to add a #define for f_data and xf_data we can, but I don't think it will be necessary. There are no operational changes in this commit.
* Make struct swblock kernel only, to make vm/swap_pager.h userland includable.phk2003-01-031-1/+1
| | | | | Move struct swdevt from sys/conf.h to the more appropriate vm/swap_pager.h. Adjust #include use in libkvm and pstat(8) to match.
* Back out rev 1.78; getbsize(3)'s original interface has been restored.mike2002-12-301-8/+6
| | | | Approved by: markm
* Adjust argument passed to getbsize().markm2002-10-231-6/+8
|
* Use struct xfile, not struct file.des2002-07-312-26/+22
|
* The .Nm utilitycharnier2002-07-141-3/+4
|
* If unable to retrive maxfiles / openfiles, fail rather than print garbage.des2002-05-281-33/+21
| | | | | | | | Gratuitously rename a couple of variables. Remove unused macros. Add NAI copyright. Sponsored by: DARPA, NAI Labs
* Remove the code that was disabled in a recent commit; it is of very limiteddes2002-05-282-101/+56
| | | | | | | | | use and has been broken in -CURRENT for a long time. Clean up unneeded entries in the nlist array. Implement kvm-backed ttymode (which we never had before). Incomplete as we do not (yet?) print the correct device, sid or pgid. Sponsored by: DARPA, NAI Labs
* Oops, don't print /dev/ twice.des2002-05-281-1/+1
|
* struct tty -> struct xtty. Reenable some previously disable code, butdes2002-05-281-35/+43
| | | | | | temporarily disable some rarely-used code that needs more work. Sponsored by: DARPA, NAI Labs
* Un-kmemize. Portions of the tty mode code have been temporarily disabled;des2002-05-232-84/+147
| | | | | | everything else, including dead kernel support, works just like before. Sponsored by: DARPA, NAI Labs
* Nits in previous commits.des2002-05-231-3/+3
| | | | Sponsored by: DARPA, NAI Labs
* Cull large amounts of dead code (deprecated since 1997)des2002-05-232-586/+6
| | | | Sponsored by: DARPA, NAI Labs
* ANSIfy.des2002-05-231-61/+40
| | | | Sponsored by: DARPA, NAI Labs
* Staticize.des2002-05-231-50/+50
| | | | Sponsored by: DARPA, NAI Labs
* Whitespace cleanup.des2002-05-231-6/+6
| | | | Sponsored by: DARPA, NAI Labs
* Unbreak tty mode (cons was renamed to constty a while ago)des2002-05-231-1/+1
| | | | Sponsored by: DARPA, NAI Labs
* Replace /kernel with /boot/kernel/kernel.joe2002-05-091-3/+3
| | | | | PR: docs/37757 Submitted by: Hiten Pandya <hiten@uk.FreeBSD.org>
* Oops, remove references to NLOCKED and NWANTED, now that they noiedowse2002-04-282-8/+0
| | | | longer exist.
* Change the vnode list under the mount point from a LIST to a TAILQdillon2001-10-231-2/+2
| | | | | | in preparation for an implementation of limiting code for kern.maxvnodes. MFC after: 3 days
* Userland part of nfs client/server split and cleanup.peter2001-09-182-14/+2
|
* SECURITY: Drop `setgid kmem' bit as early as possible.ru2001-08-311-0/+1
|
* Fix the third argument to sysctlbyname() to be of the type size_t *tmm2001-07-301-1/+2
| | | | | | (instead of int *). MFC after: 2 days
* Perform a major cleanup of the usr.sbin Makefiles.obrien2001-07-201-4/+5
| | | | | These are not perfectly in agreement with each other style-wise, but they are orders of orders of magnitude more consistent style-wise than before.
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* Make the '-tn' flag combination print the major/minor numbers of thedd2001-07-041-1/+1
| | | | line as documented intead of a full column of 0's.
* Nuke unused variables.dd2001-06-241-1/+0
|
* Don't call printf without a format string (harmless in this case).dd2001-06-171-2/+2
|
* Fix a grammar bogon and removed whitespace at EOL.schweikh2001-06-031-8/+8
| | | | MFC after: 1 week
* Remove vestiges of MFS.ru2001-06-012-5/+3
|
* - FDESC, FIFO, NULL, PORTAL, PROC, UMAP and UNION fileru2001-05-232-2/+1
| | | | | | | | | | | | | | | systems were repo-copied from sys/miscfs to sys/fs. - Renamed the following file systems and their modules: fdesc -> fdescfs, portal -> portalfs, union -> unionfs. - Renamed corresponding kernel options: FDESC -> FDESCFS, PORTAL -> PORTALFS, UNION -> UNIONFS. - Install header files for the above file systems. - Removed bogus -I${.CURDIR}/../../sys CFLAGS from userland Makefiles.
* 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
OpenPOWER on IntegriCloud