Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-07-09 | According to miod, KERNBASE used as a userland symbol should die | Theo de Raadt | |
in a fire. Start by removing the definitions, before we clean the headers later. | |||
2012-06-08 | Add checks for command line input (or the TOP environment var) | lum | |
ommitted from 1.78. Now a $ top -U -username -U username command will behave the same as interactive mode. ok brynet@ | |||
2012-06-06 | tweak previous; | Jason McIntyre | |
2012-06-05 | Add support for hiding a user's processes in top. | Bryan Steele | |
feedback & ok lum@ | |||
2012-04-21 | Remove a check made superfluous by the KERN_PROC_SHOW_THREADS flag. | Philip Guenthe | |
This lets new binaries work (at least w/o the -H option) with old kernels. ok pirofti@ deraadt@ | |||
2012-04-20 | Silence warnings. Okay deraadt@. | Paul Irofti | |
2012-04-17 | Make it optional for kvm_getprocs() (and related sysctl) to return | Paul Irofti | |
thread information. Add a KERN_PROC_SHOW_THREADS flag that has to be set in order to get the thread info and make it off by default. This creates backwards compatibility for applications that relied on a given size/number of items to be returned. Modify ps(1) and top(1) accordingly. Okay guenther@. | |||
2012-04-15 | Move the check for a <0 number of process display_lines to a better place. | lum | |
This makes: This terminal can only display -N processes. a thing of the past. | |||
2012-04-12 | Add per thread accounting, mainly for usage & friends. | Paul Irofti | |
This expands the already bloated FILL_KPROC macro to take an extra parameter that indicates if the callee is a thread or a process. The userland bits are adjusted accordingly and ps(1) and top(1) now display per thread usage times when -H is used. Also pkill(1) had to be adjusted so that duplicates don't pop up. libkvm does basically the same thing as the kernel bits. Okay guenther@. | |||
2011-12-16 | Use H to make top show process threads, instead of the current T. This is | Joel Sing | |
consistent with our ps(1) and top(1) on other operating systems. ok deraadt@ mikeb@ millert@ | |||
2011-07-12 | print out the amount of memory used for cache. ok otto | Ted Unangst | |
2011-04-10 | Switch back from KERN_PROC2/kinfo_proc2 to KERN_PROC/kinfo_proc now | Philip Guenthe | |
that we've got name we want for the API we want "ZAP!" deraadt@ | |||
2011-03-25 | clarify the description of the `1' command; | Jason McIntyre | |
from David Vasek and Glen Anderson | |||
2010-08-10 | add a description for bsd.sp where appropriate; while here, write | Igor Sobrado | |
"multiprocessor" in a consistent way. written with lots of good advice from jmc@, who noted that changing hier(7) was not enough and carefully reviewed this diff. ok jmc@ | |||
2010-04-26 | more portable code | Theo de Raadt | |
2010-04-24 | delete two extra ; that got inserted somewhere along the line | Theo de Raadt | |
2010-04-23 | mention hostname, prompted by lum@ | Otto Moerbeek | |
2010-04-23 | show hostname in header line; ok lum@ phessler@ | Otto Moerbeek | |
2010-04-21 | Handle a strdup failure. | lum | |
ok otto@ | |||
2010-04-01 | Allow top to accept tab characters as input in interactive mode | lum | |
while using the kill and renice commands. This removes a bug where process numbers that came after a tab character in the input string would not be affected by the corresponding command. ok tedu@ otto@ | |||
2010-03-26 | Remove unnecessary ptr. | lum | |
ok otto@ | |||
2010-03-26 | Make the source of process TIME for displaying and sorting the same. | lum | |
top(1) and ps(1) now display the same info. ok tedu@ millert@ otto@ and tested on sparc64 by landry@ | |||
2010-03-24 | Document updating the display using the space-bar. | lum | |
ok jmc@ otto@ | |||
2010-03-23 | Fix pointer usage with the renice and kill error message structure. Pointer ↵ | lum | |
was used without allocating memory. ok beck@ otto@ | |||
2010-03-22 | make argument check for '-s' cli option and interactive 's' consistent. ok otto@ | lum | |
2010-03-18 | make the 'e' command work, from Mark Lumsden | Otto Moerbeek | |
2010-03-18 | While resizing, show correct CPU stats, from Mark Lumsden | Otto Moerbeek | |
2010-03-18 | zap -g that sneaked in some time ago | Otto Moerbeek | |
2010-02-05 | Header_lines always has the same value as y_procs; so zap the former; | Otto Moerbeek | |
from Mark Lumsden. | |||
2010-01-29 | Allow sorting by command and pid. Also, allow partial matches with strncmp. | Ted Unangst | |
ok jmc otto | |||
2009-12-22 | add `1' to the interactive command list too; from Mark Lumsden | Jason McIntyre | |
2009-12-22 | add -1 to show_help(); from Mark Lumsden | Jason McIntyre | |
2009-12-10 | better wording for 1 option from jmc | Ted Unangst | |
2009-12-10 | add an option '1' to display all cpu stats combined. helps save space | Ted Unangst | |
with increasing processor counts. ok deraadt (kettenis otto) | |||
2009-07-22 | enter_user() is only called in one way, rendering the third parameter | Theo de Raadt | |
useless; from mark@cyodesigns.com | |||
2009-07-18 | restore -S as toggle; | Jason McIntyre | |
from Mark Lumsden ok oga | |||
2009-06-04 | with -d1, switch interactive mode off, so the screen isn't restored | Stuart Henderson | |
immediately afterwards on a smart terminal. found by claudio@. "I like that diff" deraadt "yes please!" phessler "I think that makes sense" claudio | |||
2009-04-28 | extend STATE column to fit > 9 cpus; Aivar Jaakson; PR6131 | Theo de Raadt | |
2008-09-24 | remove unused function | Charles Longeau | |
from tobias@ ok otto@ tobias@ | |||
2008-04-02 | using getpwent() in a loop is so 1980; ok millert | Theo de Raadt | |
2007-11-30 | Simplify process header display logic a bit. From Mark Lumsden | Otto Moerbeek | |
2007-11-29 | fix small glitch in displaying process list header; from Mark Lumsden | Otto Moerbeek | |
2007-11-27 | use symbolic constant 'Infinity' instead of -1 where appropriate; from | Otto Moerbeek | |
Mark Lumsden | |||
2007-11-22 | Diff from Mark Lumsden: cleanup of reading strings and numbers, to | Otto Moerbeek | |
make sure command line args and interactive reading of numbers use the same code. More concrete, interactive use of 'd' and 'n' now also interpret 'max', 'infinite' and 'all' and handle non-numbers correctly. tested by a few | |||
2007-11-17 | oops - fix dodgy -width specifier too; | Jason McIntyre | |
2007-11-17 | talk about "user" consistently; from Mark Lumsden | Jason McIntyre | |
2007-11-06 | prevent segv on wrong sort name; Mark Lumsden. | Otto Moerbeek | |
2007-11-04 | Also show warning message for -U and -p in message area; noted by Mark | Otto Moerbeek | |
Lumsden | |||
2007-11-04 | Get rid of the very annoying warning message + delay when a command | Otto Moerbeek | |
line argument is wrong. Just display the message in the message area. ok deraadt@ sobrado@ simon@ henning@ | |||
2007-11-01 | make check on -s and interactive s consistent; from Tilo Stritzky | Otto Moerbeek | |