aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/pstat
Commit message (Collapse)AuthorAgeFilesLines
* Use __FBSDID over rcsid[]. Protect copyright[] where needed.David E. O'Brien2003-05-031-4/+4
| | | | Notes: svn path=/head/; revision=114601
* style.Makefile(5)David E. O'Brien2003-04-041-2/+2
| | | | Notes: svn path=/head/; revision=113091
* - Modernize the format of the open file showing mode output:Robert Drehmel2003-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 Notes: svn path=/head/; revision=110148
* Bow to the whining masses and change a union back into void *. RetainMatthew Dillon2003-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. Notes: svn path=/head/; revision=109153
* Change struct file f_data to un_data, a union of the correct structMatthew Dillon2003-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. Notes: svn path=/head/; revision=109123
* Make struct swblock kernel only, to make vm/swap_pager.h userland includable.Poul-Henning Kamp2003-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. Notes: svn path=/head/; revision=108602
* Back out rev 1.78; getbsize(3)'s original interface has been restored.Mike Barcroft2002-12-301-8/+6
| | | | | | | Approved by: markm Notes: svn path=/head/; revision=108457
* Adjust argument passed to getbsize().Mark Murray2002-10-231-6/+8
| | | | Notes: svn path=/head/; revision=105811
* Use struct xfile, not struct file.Dag-Erling Smørgrav2002-07-312-26/+22
| | | | Notes: svn path=/head/; revision=101044
* The .Nm utilityPhilippe Charnier2002-07-141-3/+4
| | | | Notes: svn path=/head/; revision=99968
* If unable to retrive maxfiles / openfiles, fail rather than print garbage.Dag-Erling Smørgrav2002-05-281-33/+21
| | | | | | | | | | | Gratuitously rename a couple of variables. Remove unused macros. Add NAI copyright. Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=97378
* Remove the code that was disabled in a recent commit; it is of very limitedDag-Erling Smørgrav2002-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 Notes: svn path=/head/; revision=97375
* Oops, don't print /dev/ twice.Dag-Erling Smørgrav2002-05-281-1/+1
| | | | Notes: svn path=/head/; revision=97368
* struct tty -> struct xtty. Reenable some previously disable code, butDag-Erling Smørgrav2002-05-281-35/+43
| | | | | | | | | temporarily disable some rarely-used code that needs more work. Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=97367
* Un-kmemize. Portions of the tty mode code have been temporarily disabled;Dag-Erling Smørgrav2002-05-232-84/+147
| | | | | | | | | everything else, including dead kernel support, works just like before. Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=97176
* Nits in previous commits.Dag-Erling Smørgrav2002-05-231-3/+3
| | | | | | | Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=97174
* Cull large amounts of dead code (deprecated since 1997)Dag-Erling Smørgrav2002-05-232-586/+6
| | | | | | | Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=97173
* ANSIfy.Dag-Erling Smørgrav2002-05-231-61/+40
| | | | | | | Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=97172
* Staticize.Dag-Erling Smørgrav2002-05-231-50/+50
| | | | | | | Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=97171
* Whitespace cleanup.Dag-Erling Smørgrav2002-05-231-6/+6
| | | | | | | Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=97170
* Unbreak tty mode (cons was renamed to constty a while ago)Dag-Erling Smørgrav2002-05-231-1/+1
| | | | | | | Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=97169
* Replace /kernel with /boot/kernel/kernel.Josef Karthauser2002-05-091-3/+3
| | | | | | | | PR: docs/37757 Submitted by: Hiten Pandya <hiten@uk.FreeBSD.org> Notes: svn path=/head/; revision=96247
* Oops, remove references to NLOCKED and NWANTED, now that they noIan Dowse2002-04-282-8/+0
| | | | | | | longer exist. Notes: svn path=/head/; revision=95615
* Change the vnode list under the mount point from a LIST to a TAILQMatthew Dillon2001-10-231-2/+2
| | | | | | | | | in preparation for an implementation of limiting code for kern.maxvnodes. MFC after: 3 days Notes: svn path=/head/; revision=85339
* Userland part of nfs client/server split and cleanup.Peter Wemm2001-09-182-14/+2
| | | | Notes: svn path=/head/; revision=83653
* SECURITY: Drop `setgid kmem' bit as early as possible.Ruslan Ermilov2001-08-311-0/+1
| | | | Notes: svn path=/head/; revision=82664
* Fix the third argument to sysctlbyname() to be of the type size_t *Thomas Moestl2001-07-301-1/+2
| | | | | | | | | (instead of int *). MFC after: 2 days Notes: svn path=/head/; revision=80676
* Perform a major cleanup of the usr.sbin Makefiles.David E. O'Brien2001-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. Notes: svn path=/head/; revision=80029
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-101-1/+1
| | | | Notes: svn path=/head/; revision=79537
* Make the '-tn' flag combination print the major/minor numbers of theDima Dorfman2001-07-041-1/+1
| | | | | | | line as documented intead of a full column of 0's. Notes: svn path=/head/; revision=79259
* Nuke unused variables.Dima Dorfman2001-06-241-1/+0
| | | | Notes: svn path=/head/; revision=78737
* Don't call printf without a format string (harmless in this case).Dima Dorfman2001-06-171-2/+2
| | | | Notes: svn path=/head/; revision=78378
* Fix a grammar bogon and removed whitespace at EOL.Jens Schweikhardt2001-06-031-8/+8
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=77656
* Remove vestiges of MFS.Ruslan Ermilov2001-06-012-5/+3
| | | | Notes: svn path=/head/; revision=77575
* - FDESC, FIFO, NULL, PORTAL, PROC, UMAP and UNION fileRuslan Ermilov2001-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. Notes: svn path=/head/; revision=77031
* Unbreak world, IN_SHLOCK/IN_EXLOCK haven't existed in a while andAlfred Perlstein2001-05-092-18/+0
| | | | | | | Kirk finally has ditched them. While I'm here also ditch FSHLOCK. Notes: svn path=/head/; revision=76393
* Revert consequences of changes to mount.h, part 2.Greg Lehey2001-04-291-2/+0
| | | | | | | Requested by: bde Notes: svn path=/head/; revision=76117
* Include necessary header files, in preparation for fixing breakage inGreg Lehey2001-04-231-0/+2
| | | | | | | | | sys/mount.h. Suggested by: phk Notes: svn path=/head/; revision=75854
* mdoc(7) police: you don't need to use enclose macros for blocks of text.Ruslan Ermilov2001-04-041-1/+1
| | | | Notes: svn path=/head/; revision=75167
* Note that the -v option is not supported. Don't remove the actualDima Dorfman2001-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 Notes: svn path=/head/; revision=74976
* - Backout botched attempt to introduce MANSECT feature.Ruslan Ermilov2001-03-261-0/+1
| | | | | | | - MAN[1-9] -> MAN. Notes: svn path=/head/; revision=74816
* Set the default manual section for usr.sbin/ to 8.Ruslan Ermilov2001-03-201-1/+1
| | | | Notes: svn path=/head/; revision=74532
* mdoc(7) police: Change -filled displays (which just happenRuslan Ermilov2001-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. Notes: svn path=/head/; revision=72126
* mdoc(7) police: compact a few lists for better output.Ruslan Ermilov2001-01-171-24/+25
| | | | Notes: svn path=/head/; revision=71152
* Ooops, the -M and -N flags were already documented, though not very clearly.Ben Smithurst2001-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. Notes: svn path=/head/; revision=71127
* document -M and -N flags.Ben Smithurst2001-01-161-0/+7
| | | | | | | | PR: 24323 Submitted by: Jesse Monroy <opentrax@email.com> Notes: svn path=/head/; revision=71126
* update to the current set of mnt_, ufs_ and nfs_ flagsAssar Westerlund2000-12-302-21/+67
| | | | | | | also make man-page correspond to the code Notes: svn path=/head/; revision=70511
* Use the MACRO API to <sys/queue.h>.Poul-Henning Kamp2000-12-301-4/+4
| | | | | | | Submitted by: "Peter Avalos" <pavalos@theshell.com> Notes: svn path=/head/; revision=70510
* Prepare for mdoc(7)NG.Ruslan Ermilov2000-12-271-5/+5
| | | | Notes: svn path=/head/; revision=70403
* ConstifyKris Kennaway2000-11-271-1/+1
| | | | Notes: svn path=/head/; revision=69260