summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sa
Commit message (Collapse)AuthorAgeFilesLines
* Refactor the test/ Makefiles after recent changes to bsd.test.mk (r289158) andngie2015-10-121-2/+0
| | | | | | | | | | | | netbsd-tests.test.mk (r289151) - Eliminate explicit OBJTOP/SRCTOP setting - Convert all ad hoc NetBSD test integration over to netbsd-tests.test.mk - Remove unnecessary TESTSDIR setting - Use SRCTOP where possible for clarity MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Divison
* Add META_MODE support.sjg2015-06-131-0/+18
|\ | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| * dirdeps.mk now sets DEP_RELDIRsjg2015-06-081-2/+0
| |
| * Merge sync of headsjg2015-05-271-1/+1
| |\ | |/ |/|
| * Merge head from 7/28sjg2014-08-191-1/+1
| |\
| * | Updated dependenciessjg2014-05-161-1/+0
| | |
| * | Updated dependenciessjg2014-05-101-0/+2
| | |
| * | Merge from headsjg2014-05-081-1/+1
| |\ \
| * \ \ Merge headsjg2014-04-2828-0/+348
| |\ \ \
| * | | | Updated dependenciessjg2013-03-111-0/+1
| | | | |
| * | | | Updated dependenciessjg2013-02-161-2/+0
| | | | |
| * | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-221-0/+19
| | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | | | | Fix the following -Wcast-qual warnings in usr.sbin/sa/db.c:dim2015-01-281-1/+1
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | usr.sbin/sa/db.c:82:20: error: cast from 'char const (*)[9]' to 'void *' drops const qualifier [-Werror,-Wcast-qual] key.data = (void*)&VERSION_KEY; ^ usr.sbin/sa/db.c:178:20: error: cast from 'char const (*)[9]' to 'void *' drops const qualifier [-Werror,-Wcast-qual] key.data = (void*)&VERSION_KEY; ^ Replace the VERSION_KEY define with a writable char array, so no const qualifier needs to be dropped anymore. Submitted by: rdivacky
* | | | 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
OpenPOWER on IntegriCloud