summaryrefslogtreecommitdiffstats
path: root/usr.bin/top/machine.c
Commit message (Collapse)AuthorAgeFilesLines
* Some fixes for swap space accounting.dt1998-09-111-2/+7
| | | | Obtained from: pstat.c
* Merge from stable: support for the o, order, commandwosch1998-08-121-29/+177
|
* Add -t option ('t' in interactive mode) to make top(1) ignore itself.des1998-08-041-1/+4
| | | | | | | | Attempts to contact the author of top(1) (William LeFebvre) have so far been unsuccessful. PR: 7253 Submitted by: Yours Truly
* Round - not cut - the real cpu time.wosch1998-07-271-2/+3
|
* Make value of SIZE accurate.dt1998-06-211-3/+3
| | | | Obtained from: ps(1)
* Some cleanups related to timecounters and weird ifdefs in <sys/time.h>.phk1998-05-281-3/+3
| | | | | | | | | | | | | | | | | | | | Clean up (or if antipodic: down) some of the msgbuf stuff. Use an inline function rather than a macro for timecounter delta. Maintain process "on-cpu" time as 64 bits of microseconds to avoid needless second rollover overhead. Avoid calling microuptime the second time in mi_switch() if we do not pass through _idle in cpu_switch() This should reduce our context-switch overhead a bit, in particular on pre-P5 and SMP systems. WARNING: Programs which muck about with struct proc in userland will have to be fixed. Reviewed, but found imperfect by: bde
* Fix top sorting of idle processes. top used p_cpticks as a tie-breakerpeter1998-02-141-3/+3
| | | | | | | but that isn't suitable (it gets zeroed each second apparently). PR: bin/4957 Submitted-by: Dan Nelson <dnelson@emsphone.com>
* For SMP, add a space between the state name and the CPU#.fsmp1997-10-051-3/+3
| | | | Everything following bumps right 1 character.
* YAMF22: (rev 1.3.2.2) Display realtime and idle priorities appropriately.peter1997-09-281-2/+14
|
* Adapt to recent smp tree changes..peter1997-08-271-2/+3
|
* Hack to work around the large username field... scan for the largestpeter1997-07-141-19/+25
| | | | | | username present on the system at startup and use that for the field width. It's not ideal but (I think) better than it was before. The width is limited to within 8..16.
* Dynamically adapt to smp mode at runtime. This stops the cpu columnpeter1997-07-121-22/+24
| | | | appearing on uniprocessor systems since the smp->current merge.
* Long usernames fixesache1997-04-211-5/+5
|
* Tweak column headers a tad for when running in SMP mode.peter1997-04-191-2/+2
|
* This is the FreeBSD-specific files for top, plus the Makefilejoerg1997-03-231-0/+935
that pulls all the files from contrib. Obtained from: The ports collection (mostly).
OpenPOWER on IntegriCloud