summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sa/main.c
Commit message (Collapse)AuthorAgeFilesLines
* ANSIfy almost all applications that use WARNS=6.ed2009-12-291-1/+1
| | | | | | | 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.
* Increase precision of time values in the process accountingdds2007-05-221-65/+45
| | | | | 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-181-2/+12
| | | | | | and per-process summary file location. These make the program more flexible, and also make it possible to write sane regression tests.
* Full modernize cleanup:delphij2005-02-101-20/+10
| | | | | | | | - De-__P() - constify where appropriate - ANSI functions instead of K&R Pointed out by: stefanf
* Code cleanup:delphij2005-02-101-2/+1
| | | | | - Prefer modern declaration of functions - WARNS?= 4 -> 6
* 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-031-5/+4
|
* Get rid of %qd, and unbreak Alpha build.des2002-07-151-2/+4
|
* WARNS=4, de-__P()alfred2002-07-111-20/+21
|
* Fix typo: seperate -> separate.asmodai2001-02-061-1/+1
| | | | Seperate does not exist in the english language.
* fix unaligned access errors by copying untyped data to properly alignedgallatin2000-10-261-46/+46
| | | | | | | locals PR: alpha/13912 obtained from: NetBSD tested by: Marcin Gryszkalis <dagoon@rs.math.uni.lodz.pl>
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* 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>
* Add usage().charnier1997-10-151-8/+18
|
* 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 the -t option so that its output matches what the manmpp1996-01-221-2/+3
| | | | page says it prints. Also silence a few "cc -Wall" warnings.
* Remove trailing whitespace.rgrimes1995-05-301-4/+4
|
* Process accounting utility by Chris Demetriou.dg1994-09-261-0/+542
Obtained from: NetBSD
OpenPOWER on IntegriCloud