#
296373 |
|
04-Mar-2016 |
marius |
- Copy stable/10@296371 to releng/10.3 in preparation for 10.3-RC1 builds. - Update newvers.sh to reflect RC1. - Update __FreeBSD_version to reflect 10.3. - Update default pkg(8) configuration to use the quarterly branch.
Approved by: re (implicit) |
#
256281 |
|
10-Oct-2013 |
gjb |
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
#
245610 |
|
18-Jan-2013 |
jhb |
Include the thread name along with the command name when displaying the command name of a thread from a multi-threaded process that doesn't have an available argument list (such as kernel processes) and threads display is enabled via -H.
Reviewed by: alfred, delphij, eric@vangyzen.net MFC after: 1 week
|
#
225868 |
|
29-Sep-2011 |
trasz |
Make ps(1) automatically size its column widths.
|
#
223086 |
|
14-Jun-2011 |
trasz |
Add "gid" and "group" keywords to display the effective group ID and effective group name. Also, add "egid", "egroup" and "euid" aliases.
PR: bin/146331 Submitted by: Jeremie Le Hen <jeremie at le-hen dot org>
|
#
219972 |
|
24-Mar-2011 |
trasz |
Add proper width calculation for time fields (time, cputime and usertime). This fixes the ugly overflow in "ps aux" output for "[idle]".
|
#
219967 |
|
24-Mar-2011 |
trasz |
Make "LOGIN" and "CLASS" columns width scale properly instead of wasting space.
|
#
219713 |
|
17-Mar-2011 |
kib |
Implement the usertime and systime keywords for ps, printing the corresponding times reported by getrusage().
Submitted by: Dan Nelson <dnelson allantgroup com> MFC after: 1 week
|
#
219307 |
|
05-Mar-2011 |
trasz |
Export login class information via kinfo and make it possible to view it using "ps -o class".
|
#
213012 |
|
22-Sep-2010 |
emaste |
Correct sort order.
|
#
205271 |
|
17-Mar-2010 |
jmallett |
o) Add a keyword to displaying elapsed time in integer seconds, "etimes". o) Give slightly better (i.e. any) documentation of the format of "etime".
Reviewed by: jilles
|
#
189078 |
|
26-Feb-2009 |
attilio |
[1] When showing threads, the thread name just appears if the comm label is choosen as last printout (ucomm suffers of this such bug too). That bug is caused by the fact that the fixed size of printout doesn't leave enough space for them to be printed out. Implement ucomm and comm commands with a dynamic size lenght for buffers.
[2] On AMD64 architecture pointers don't have enough chars space to be shown (8 chars while they need 16). Fix them by providing a variadic space so that it fits well on both 64 and 32 bits architectures.
[3] Check a return value of malloc() that wasn't checked before.
PR: bin/128841, bin/128842 Reviewed by: jhb, emaste Sponsored by: Sandvine Incorporated
|
#
173004 |
|
26-Oct-2007 |
julian |
Introduce a way to make pure kernal threads. kthread_add() takes the same parameters as the old kthread_create() plus a pointer to a process structure, and adds a kernel thread to that process.
kproc_kthread_add() takes the parameters for kthread_add, plus a process name and a pointer to a pointer to a process instead of just a pointer, and if the proc * is NULL, it creates the process to the specifications required, before adding the thread to it.
All other old kthread_xxx() calls return, but act on (struct thread *) instead of (struct proc *). One reason to change the name is so that any old kernel modules that are lying around and expect kthread_create() to make a process will not just accidentally link.
fix top to show kernel threads by their thread name in -SH mode add a tdnam formatting option to ps to show thread names.
make all idle threads actual kthreads and put them into their own idled process. make all interrupt threads kthreads and put them in an interd process (mainly for aesthetic and accounting reasons) rename proc 0 to be 'kernel' and it's swapper thread is now 'swapper'
man page fixes to follow.
|
#
130999 |
|
23-Jun-2004 |
gad |
Change "struct varent" to use the standard queue(8) macros, instead of using it's own version of the same basic algorithm.
Submitted by: part by Cyrille Lefevre, part of it done by me
|
#
130974 |
|
23-Jun-2004 |
gad |
Make sure the value of "upr" (scheduling priority on return from system call) is scaled in the same way that "pri" (scheduling priority) is scaled.
Submitted by: Cyrille Lefevre
|
#
130896 |
|
22-Jun-2004 |
gad |
Oops. Undo that last 'const' change. It expects similar changes to some other files that I am not ready to commit yet...
|
#
130895 |
|
22-Jun-2004 |
gad |
Add 'const' to a few places.
PR: bin/65803 Submitted by: Cyrille Lefevre
|
#
130830 |
|
20-Jun-2004 |
gad |
Add the `-O emul' format option, which prints the name of the system-call emulation environment the process is in. "emul" as a keyword is picked up from OpenBSD.
PR: bin/65803 Submitted by: Cyrille Lefevre
|
#
127958 |
|
06-Apr-2004 |
markm |
Remove clause 3 from the UCB licenses.
OK'ed by: imp, core
|
#
118857 |
|
13-Aug-2003 |
harti |
Implement the nwchan keyword that has been in the man page, but was not implemented. This is just handy if you want to ddb the address some process is waiting on.
|
#
109502 |
|
19-Jan-2003 |
jmallett |
When inserting a non-user-specified (e.g. not via -o or -O) format, don't dupe one that is already there. This is consistent with GNU ps(1)'s BSD mode, and POLA.
Reported by: Andy Farkas <andyf@speednet.com.au> Tested by: Andy Farkas <andyf@speednet.com.au>
|
#
106318 |
|
01-Nov-2002 |
tmm |
The hw.availpages sysctl has an unsigned long value now, fix the retrieval to match that.
|
#
105831 |
|
24-Oct-2002 |
rwatson |
Use the MAC interface to list process MAC labels rather than using the LOMAC-specific interface (which is being deprecated). The revised LOMAC using the MAC framework will export levels listable using this mechanism.
Approved by: re Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
|
#
104388 |
|
02-Oct-2002 |
jhb |
Catch up to SMTX -> SLOCK changes.
|
#
103438 |
|
17-Sep-2002 |
jmallett |
Conglomerate printing of ps_pgtok'd data into a PLONG type. I couldn't think of a better name, except PINT, but I decided to go with assuming LONG to be safe, rather than assuming INT.
|
#
103422 |
|
16-Sep-2002 |
jmallett |
Perform keyword.c:1.27 properly, implement -orss in the New World Order of ps(1) formatting, using pgtok() to get the value in K, rather than printing it in pages. This is consistent with behaviour before keyword.c:1.26 (et al) which exists in STABLE today, and which uses the same metric as VSZ.
Submitted by: bde
|
#
98030 |
|
08-Jun-2002 |
bde |
Fixed unsorting.
|
#
97966 |
|
06-Jun-2002 |
jmallett |
Use a global `now' variable for the current time, and initialise it at startup, right after calling setlocale(3).
|
#
97965 |
|
06-Jun-2002 |
jmallett |
Implement a SUSv3-ignorant but "time"-similar format for "etime", elapsed run time (NOT cpu time). cputime() and elapsed() both need to honour SUSv3 now.
|
#
97961 |
|
06-Jun-2002 |
jmallett |
Support the SUSv3 `rgroup' format.
Clean up some local style bogons.
|
#
97958 |
|
06-Jun-2002 |
jmallett |
SUSv3 conform on the "comm" and "args" formats, and make correct the "command" format, since it's BSDlike, and "comm" is actually different.
|
#
91171 |
|
23-Feb-2002 |
bde |
Fixed unsorting.
|
#
91028 |
|
21-Feb-2002 |
dillon |
Revert wchan functionality. Add 'mwchan' to supply new duel mutex/msleep functionality and make it the default.
With additional improvements by: Mark Peek <mp@FreeBSD.org>
|
#
90143 |
|
03-Feb-2002 |
markm |
WARNS=4 fixes (incomplete, so set NO_WERROR), and lots of extra cleanup courtesy of automatic checking (lint).
|
#
90110 |
|
02-Feb-2002 |
imp |
o __P has been reoved o Old-style K&R declarations have been converted to new C89 style o register has been removed o prototype for main() has been removed (gcc3 makes it an error) o int main(int argc, char *argv[]) is the preferred main definition. o Attempt to not break style(9) conformance for declarations more than they already are.
|
#
86922 |
|
26-Nov-2001 |
green |
Add LOMAC options (the "Z" flag in both cases) to display extra information in ls(1) and ps(1).
Sponsored by: DARPA, NAI Labs
|
#
73369 |
|
03-Mar-2001 |
ache |
Small optimization: set use_ampm only when needed
|
#
73367 |
|
02-Mar-2001 |
ache |
Use AM/PM time only when available in locale
|
#
72377 |
|
12-Feb-2001 |
jake |
Catch up to new priority interface.
|
#
69896 |
|
12-Dec-2000 |
mckusick |
Change the proc information returned from the kernel so that it no longer contains kernel specific data structures, but rather only scalar values and structures that are already part of the kernel/user interface, specifically rusage and rtprio. It no longer contains proc, session, pcred, ucred, procsig, vmspace, pstats, mtx, sigiolst, klist, callout, pasleep, or mdproc. If any of these changed in size, ps, w, fstat, gcore, systat, and top would all stop working. The new structure has over 200 bytes of unassigned space for future values to be added, yet is nearly 100 bytes smaller per entry than the structure that it replaced.
|
#
69372 |
|
29-Nov-2000 |
jhb |
Introduce a 'mtxname' keyword that displays the current mutex that a process is blocked on or '-'.
|
#
50471 |
|
27-Aug-1999 |
peter |
$Id$ -> $FreeBSD$
|
#
36352 |
|
25-May-1998 |
steve |
If no value is present for the login name set it to '-'. Also pretty-up the display of 'ps -Ortprio'.
PR: 4947 Submitted by: Martin Kammerhofer <dada@sbox.tu-graz.ac.at>
|
#
27856 |
|
03-Aug-1997 |
peter |
Kill #ifndef NEWVM etc. It affected a lot of other things besides VM structure (eg: credentials etc) and it's highly unlikely we'll ever get to see the "tainted" BSD<=4.3 VM code in public use. Although it indicated the way some things used to be done, it obfuscates things too much.
|
#
25271 |
|
29-Apr-1997 |
jkh |
Dynamically adjust size of displayed username to the longest username which appears, not the longest _maximum_ username (this should probably also go into 2.2, for the day when we bump up the username length there too).
Submitted-By: Terry Lambert <terry@lambert.org>
|
#
22988 |
|
22-Feb-1997 |
peter |
Revert $FreeBSD$ to $Id$
|
#
21673 |
|
14-Jan-1997 |
jkh |
Make the long-awaited change from $Id$ to $FreeBSD$
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.
|
#
19068 |
|
21-Oct-1996 |
peter |
Implement a -c option to ps to display the short command name instead of the full argument vector.
I've bumped into a few things that expected this switch to be present, the most recent was the snmp package in ports. I'm not 100% sure of the origins of this, but Linux has it, so does the "BSD-compatable" version of ps on our SVR4 systems (so I assume SunOS has it too).
|
#
3044 |
|
24-Sep-1994 |
dg |
Added $Id$
|
#
1557 |
|
26-May-1994 |
rgrimes |
This commit was generated by cvs2svn to compensate for changes in r1556, which included commits to RCS files with non-trunk default branches.
|
#
1556 |
|
26-May-1994 |
rgrimes |
BSD 4.4 Lite bin Sources
|