summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sa
Commit message (Collapse)AuthorAgeFilesLines
* use .Mt to mark up email addresses consistently (part2)bapt2014-06-201-1/+1
| | | | | PR: 191174 Submitted by: Franco Fichtner <franco@lastsummer.de>
* Use src.opts.mk in preference to bsd.own.mk except where we need stuffimp2014-05-061-1/+1
| | | | from the latter.
* Migrate tools/regression/{usr.bin/lastcomm,usr.sbin}/ to the new tests layout.jmmv2014-03-1628-0/+348
| | | | | | | | | | | This change was originally going to only migrate the usr.sbin tests but, as it turns out, the usr.sbin/sa/ tests require files from usr.bin/lastcomm/ so it's better to just also migrate the latter at the same time. The other usr.bin tests will be moved separately. To make these tests work within the test suite, some of them have required changes to prevent modifying the source directory and instead just rely on the current directory for file manipulation.
* In usr.sbin/sa/db.c, avoid warnings about assigning two const chardim2011-12-181-2/+2
| | | | | | arrays to non-const void pointers, by casting away const explicitly. MFC after: 1 week
* mdoc: move remaining sections into consistent orderuqs2010-05-131-2/+2
| | | | | | | This pertains mostly to FILES, HISTORY, EXIT STATUS and AUTHORS sections. Found by: mdocml lint run Reviewed by: ru
* The last big commit: let usr.sbin/ use WARNS=6 by default.ed2010-01-021-2/+0
|
* ANSIfy almost all applications that use WARNS=6.ed2009-12-293-9/+9
| | | | | | | I was considering committing all these patches one by one, but as discussed with brooks@, there is no need to do this. If we ever need/want to merge these changes back, it is still possible to do this per application.
* Ensure that the -s flag truncates the accounting data.grog2008-02-211-1/+1
| | | | | | | | This problem has only been reported on the amd64 platform. PR: bin/120293 Tested by: Callum Gibson MFC after: 2 weeks
* Fix a compiler warning by using a printf format matching the variablejb2007-11-171-1/+1
| | | | type.
* Set .PATH before referring to the corresponding sources.dds2007-05-221-2/+2
|
* Increase precision of time values in the process accountingdds2007-05-226-296/+406
| | | | | structure, while maintaining backward compatibility with legacy file and record formats.
* Add -U and -P options that allow the specification of the per-userdds2007-05-185-7/+32
| | | | | | and per-process summary file location. These make the program more flexible, and also make it possible to write sane regression tests.
* Fix the output of percentage figures, which mistakenly weredds2007-04-071-9/+12
| | | | | | | the corresponding ratios. PR: bin/111329 MFC after: 10 days
* Expand contractions.ru2005-02-131-1/+1
|
* Full modernize cleanup:delphij2005-02-103-37/+20
| | | | | | | | - De-__P() - constify where appropriate - ANSI functions instead of K&R Pointed out by: stefanf
* Code cleanup:delphij2005-02-102-3/+2
| | | | | - Prefer modern declaration of functions - WARNS?= 4 -> 6
* Sort sections.ru2005-01-181-9/+9
|
* Added the EXIT STATUS section where appropriate.ru2005-01-171-1/+1
|
* Mechanically kill hard sentence breaks.ru2004-07-021-11/+22
|
* Userland signed char fixes for PPC build. Problems were using a chargrehan2004-01-221-2/+1
| | | | | | | | | return for getopt() and comparing to -1, ditto with fgetc() and EOF, and using the kg_nice value from <sys/user.h> Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at> Reviewed by: obrien, bde (a while back) Tested lightly on: ppc, i386, make universe
* Use __FBSDID over rcsid[]. Protect copyright[] where needed.obrien2003-05-033-13/+8
|
* style.Makefile(5)obrien2003-04-041-1/+2
|
* Get rid of %qd, and unbreak Alpha build.des2002-07-153-11/+16
|
* The .Nm utilitycharnier2002-07-141-2/+3
|
* WARNS=4, de-__P()alfred2002-07-114-37/+39
|
* Fixed divots that I created when I moved prototypes of group_from_gidimp2002-02-191-0/+1
| | | | | | | and user_from_uid to grp.h and pwd.h. Update the man pages. Submitted by: David Malone Pointy hat to: imp
* mdoc(7) police: utilize the new .Ex macro.ru2001-08-151-4/+2
|
* Remove whitespace at EOL.dd2001-07-151-3/+3
|
* - 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/+0
|
* Fix typo: seperate -> separate.asmodai2001-02-061-1/+1
| | | | Seperate does not exist in the english language.
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-1/+1
|
* fix unaligned access errors by copying untyped data to properly alignedgallatin2000-10-262-48/+48
| | | | | | | locals PR: alpha/13912 obtained from: NetBSD tested by: Marcin Gryszkalis <dagoon@rs.math.uni.lodz.pl>
* Adjust the width of the first column in output from "sa -m" to matchghelmer2000-05-301-1/+2
| | | | | | | the max length of user names. PR: bin/10905 Submitted by: Ben Smithurst <ben@scientia.demon.co.uk>
* Grammar fix: ``Different than'' should really be ``different from''.chris2000-01-291-1/+1
|
* $Id$ -> $FreeBSD$peter1999-08-287-7/+7
|
* Fixed printf format errors. One of them fixes the garbage output forbde1999-08-061-5/+5
| | | | | | sa -km reported in the PR. PR: 4582
* Initialize exit code so that the program exits with code 0 on success.jmz1999-05-221-2/+2
| | | | | PR: bin/10904 Submitted by: Ben Smithurst <ben@scientia.demon.co.uk>
* .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.charnier1998-03-231-2/+2
|
* Add usage().charnier1997-10-154-24/+35
|
* Revert $FreeBSD$ to $Id$peter1997-02-227-7/+7
|
* Sort cross references.wosch1997-01-201-3/+3
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-147-7/+7
| | | | | | | | 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
|
* Correct some man page cross references and file location references.mpp1996-04-071-2/+2
|
* Fix the -t option so that its output matches what the manmpp1996-01-223-8/+10
| | | | page says it prints. Also silence a few "cc -Wall" warnings.
* Remove trailing whitespace.rgrimes1995-05-303-11/+11
|
* Local changes - manual page extension, and minor man page changesdg1994-09-262-11/+5
|
* Process accounting utility by Chris Demetriou.dg1994-09-267-0/+1630
Obtained from: NetBSD
OpenPOWER on IntegriCloud