The NetBSD Project

CVS log for src/usr.bin/systat/ps.c

[BACK] Up to [cvs.NetBSD.org] / src / usr.bin / systat

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.40: download - view: text, markup, annotated - select for diffs
Sat Apr 17 08:34:27 2021 UTC (4 years ago) by maya
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-10-base, netbsd-10-1-RELEASE, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, HEAD
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +4 -6 lines
Remove SCCS workarounds. No binary change.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Wed Aug 26 10:56:01 2020 UTC (4 years, 7 months ago) by simonb
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +24 -8 lines
Use the vm.uspace sysctl instead of using the USPACE kernel define.

Revision 1.37.14.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:10:24 2019 UTC (5 years, 10 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37: +3 -3 lines
Sync with HEAD

Revision 1.38: download - view: text, markup, annotated - select for diffs
Sun Feb 3 10:48:47 2019 UTC (6 years, 2 months ago) by mrg
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, is-mlppp-base, is-mlppp
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +3 -3 lines
- enlarge buffer to avoid snprintf() truncation

Revision 1.36.8.1: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:58:06 2017 UTC (8 years, 1 month ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36: +3 -2 lines
Sync with HEAD

Revision 1.37: download - view: text, markup, annotated - select for diffs
Tue Jan 10 21:14:51 2017 UTC (8 years, 3 months ago) by christos
Branches: MAIN
CVS tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +3 -2 lines
need <sys/stat.h>

Revision 1.35.8.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:05:04 2014 UTC (10 years, 8 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35: +2 -3 lines
Rebase to HEAD as of a few days ago.

Revision 1.35.2.1: download - view: text, markup, annotated - select for diffs
Thu May 22 11:42:50 2014 UTC (10 years, 11 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35: +2 -3 lines
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.36: download - view: text, markup, annotated - select for diffs
Wed Feb 19 20:42:14 2014 UTC (11 years, 2 months ago) by dsl
Branches: MAIN
CVS tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, pgoyette-localcount-base, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, localcount-20160914
Branch point for: pgoyette-localcount
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +2 -3 lines
Remove some pointless inclusions os sys/user.h

Revision 1.30.18.1.4.1: download - view: text, markup, annotated - select for diffs
Tue Dec 27 16:25:25 2011 UTC (13 years, 4 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.30.18.1: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30.18.1: +5 -3 lines
Use UPAGES in preferences to USPACE.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Wed Aug 17 13:26:49 2011 UTC (13 years, 8 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-tag8, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, tls-maxphys
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +8 -9 lines
eliminate non-literal format strings.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Wed Oct 21 21:12:07 2009 UTC (15 years, 6 months ago) by rmind
Branches: MAIN
CVS tags: matt-premerge-20091211, matt-mips64-premerge-20101231, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +2 -10 lines
Remove uarea swap-out functionality:

- Addresses the issue described in PR/38828.
- Some simplification in threading and sleepq subsystems.
- Eliminates pmap_collect() and, as a side note, allows pmap optimisations.
- Eliminates XS_CTL_DATA_ONSTACK in scsipi code.
- Avoids few scans on LWP list and thus potentially long holds of proc_lock.
- Cuts ~1.5k lines of code.  Reduces amd64 kernel size by ~4k.
- Removes __SWAP_BROKEN cases.

Tested on x86, mips, acorn32 (thanks <mpumford>) and partly tested on
acorn26 (thanks to <bjh21>).

Discussed on <tech-kern>, reviewed by <ad>.

Revision 1.31.2.1: download - view: text, markup, annotated - select for diffs
Wed May 13 19:20:07 2009 UTC (15 years, 11 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31: +4 -4 lines
Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html

Revision 1.33: download - view: text, markup, annotated - select for diffs
Mon Apr 13 23:20:27 2009 UTC (16 years ago) by lukem
Branches: MAIN
CVS tags: jym-xensuspend-nbase, jym-xensuspend-base
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +3 -3 lines
Fix -Wsign-compare issues

Revision 1.30.18.1: download - view: text, markup, annotated - select for diffs
Wed Apr 1 00:25:23 2009 UTC (16 years ago) by snj
Branches: netbsd-5
CVS tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb4-mips64-k7-u2a-k9b
Branch point for: matt-nb5-mips64
Diff to: previous 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30: +3 -3 lines
Pull up following revision(s) (requested by mrg in ticket #622):
	bin/csh/csh.1: revision 1.46
	bin/csh/func.c: revision 1.37
	bin/ps/print.c: revision 1.111
	bin/ps/ps.c: revision 1.74
	bin/sh/miscbltin.c: revision 1.38
	bin/sh/sh.1: revision 1.92 via patch
	external/bsd/top/dist/machine/m_netbsd.c: revision 1.7
	lib/libkvm/kvm_proc.c: revision 1.82
	sys/arch/mips/mips/cpu_exec.c: revision 1.55
	sys/compat/darwin/darwin_exec.c: revision 1.57
	sys/compat/ibcs2/ibcs2_exec.c: revision 1.73
	sys/compat/irix/irix_resource.c: revision 1.15
	sys/compat/linux/arch/amd64/linux_exec_machdep.c: revision 1.16
	sys/compat/linux/arch/i386/linux_exec_machdep.c: revision 1.12
	sys/compat/linux/common/linux_limit.h: revision 1.5
	sys/compat/osf1/osf1_resource.c: revision 1.14
	sys/compat/svr4/svr4_resource.c: revision 1.18
	sys/compat/svr4_32/svr4_32_resource.c: revision 1.17
	sys/kern/exec_subr.c: revision 1.62
	sys/kern/init_sysctl.c: revision 1.160
	sys/kern/kern_exec.c: revision 1.288
	sys/kern/kern_resource.c: revision 1.151
	sys/sys/param.h: patch
	sys/sys/resource.h: revision 1.31
	sys/sys/sysctl.h: revision 1.184
	sys/uvm/uvm_extern.h: revision 1.153
	sys/uvm/uvm_glue.c: revision 1.136
	sys/uvm/uvm_mmap.c: revision 1.128
	usr.bin/systat/ps.c: revision 1.32
- - add new RLIMIT_AS (aka RLIMIT_VMEM) resource that limits the total
address space available to processes.  this limit exists in most other
modern unix variants, and like most of them, our defaults are unlimited.
remove the old mmap / rlimit.datasize hack.
- - adds the VMCMD_STACK flag to all the stack-creation vmcmd callers.
it is currently unused, but was added a few years ago.
- - add a pair of new process size values to kinfo_proc2{}. one is the
total size of the process memory map, and the other is the total size
adjusted for unused stack space (since most processes have a lot of
this...)
- - patch sh, and csh to notice RLIMIT_AS.  (in some cases, the alias
RLIMIT_VMEM was already present and used if availble.)
- - patch ps, top and systat to notice the new k_vm_vsize member of
kinfo_proc2{}.
- - update irix, svr4, svr4_32, linux and osf1 emulations to support
this information.  (freebsd could be done, but that it's best left
as part of the full-update of compat/freebsd.)
this addresses PR 7897.  it also gives correct memory usage values,
which have never been entirely correct (since mmap), and have been
very incorrect since jemalloc() was enabled.
tested on i386 and sparc64, build tested on several other platforms.
thanks to many folks for feedback and testing but most espcially
chuq and yamt for critical suggestions that lead to this patch not
having a special ugliness i wasn't happy with anyway :-)

Revision 1.32: download - view: text, markup, annotated - select for diffs
Sun Mar 29 01:02:51 2009 UTC (16 years, 1 month ago) by mrg
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +3 -3 lines
- add new RLIMIT_AS (aka RLIMIT_VMEM) resource that limits the total
address space available to processes.  this limit exists in most other
modern unix variants, and like most of them, our defaults are unlimited.
remove the old mmap / rlimit.datasize hack.

- adds the VMCMD_STACK flag to all the stack-creation vmcmd callers.
it is currently unused, but was added a few years ago.

- add a pair of new process size values to kinfo_proc2{}. one is the
total size of the process memory map, and the other is the total size
adjusted for unused stack space (since most processes have a lot of
this...)

- patch sh, and csh to notice RLIMIT_AS.  (in some cases, the alias
RLIMIT_VMEM was already present and used if availble.)

- patch ps, top and systat to notice the new k_vm_vsize member of
kinfo_proc2{}.

- update irix, svr4, svr4_32, linux and osf1 emulations to support
this information.  (freebsd could be done, but that it's best left
as part of the full-update of compat/freebsd.)


this addresses PR 7897.  it also gives correct memory usage values,
which have never been entirely correct (since mmap), and have been
very incorrect since jemalloc() was enabled.

tested on i386 and sparc64, build tested on several other platforms.

thanks to many folks for feedback and testing but most espcially
chuq and yamt for critical suggestions that lead to this patch not
having a special ugliness i wasn't happy with anyway :-)

Revision 1.31: download - view: text, markup, annotated - select for diffs
Mon Dec 29 01:48:19 2008 UTC (16 years, 3 months ago) by christos
Branches: MAIN
Branch point for: jym-xensuspend
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +3 -3 lines
cast for tdev.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Sat Feb 17 22:49:57 2007 UTC (18 years, 2 months ago) by pavel
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, netbsd-5-base, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, mjf-devfs2-base, mjf-devfs2, matt-mips64-base2, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf
Branch point for: netbsd-5
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +6 -6 lines
Revert the changes done after newlock2 merge, except for the removal of
the now unused LSDEAD state. The current kernel headers are now
source-compatible with pre-newlock2 kernel headers again.

Approved by Andrew Doran.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Fri Feb 9 22:08:49 2007 UTC (18 years, 2 months ago) by ad
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +9 -9 lines
Sync with kernel changes introduced by merging the newlock2 branch.

Revision 1.26.2.1: download - view: text, markup, annotated - select for diffs
Wed Feb 15 19:45:13 2006 UTC (19 years, 2 months ago) by riz
Branches: netbsd-3
CVS tags: netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1
Diff to: previous 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26: +17 -4 lines
Pull up following revision(s) (requested by kleink in ticket #1172):
	usr.bin/systat/ps.c: revision 1.28
Print system processes' command names in square brackets, like ps(1) does.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Mon Feb 13 16:01:58 2006 UTC (19 years, 2 months ago) by kleink
Branches: MAIN
CVS tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +17 -4 lines
Print system processes' command names in square brackets, like ps(1) does.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Sat Dec 24 21:14:50 2005 UTC (19 years, 4 months ago) by matt
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +3 -3 lines
Appease gcc 4.x

Revision 1.26: download - view: text, markup, annotated - select for diffs
Sat Feb 26 22:12:33 2005 UTC (20 years, 2 months ago) by dsl
Branches: MAIN
CVS tags: netbsd-3-base, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0
Branch point for: netbsd-3
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +22 -23 lines
WARNS=3

Revision 1.25: download - view: text, markup, annotated - select for diffs
Sun Jan 11 19:15:50 2004 UTC (21 years, 3 months ago) by jdolecek
Branches: MAIN
CVS tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +3 -3 lines
g/c SDEAD handling

Revision 1.24: download - view: text, markup, annotated - select for diffs
Sat May 17 21:03:21 2003 UTC (21 years, 11 months ago) by itojun
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +6 -10 lines
use strlcat/strlcpy

Revision 1.23: download - view: text, markup, annotated - select for diffs
Thu May 15 01:00:07 2003 UTC (21 years, 11 months ago) by itojun
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +3 -3 lines
use strlcpy

Revision 1.22: download - view: text, markup, annotated - select for diffs
Sat Jan 18 10:54:11 2003 UTC (22 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +14 -14 lines
Merge the nathanw_sa branch.

Revision 1.20.2.3: download - view: text, markup, annotated - select for diffs
Fri Jan 17 06:57:19 2003 UTC (22 years, 3 months ago) by thorpej
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.20.2.2: preferred, colored; branchpoint 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20.2.2: +3 -3 lines
Sync with HEAD.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Mon Jan 6 13:05:16 2003 UTC (22 years, 3 months ago) by wiz
Branches: MAIN
CVS tags: nathanw_sa_before_merge, nathanw_sa_base
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +3 -3 lines
interrupt with two rs.

Revision 1.20.2.2: download - view: text, markup, annotated - select for diffs
Sat May 4 18:53:05 2002 UTC (22 years, 11 months ago) by thorpej
Branches: nathanw_sa
Diff to: previous 1.20.2.1: preferred, colored; branchpoint 1.20: preferred, colored
Changes since revision 1.20.2.1: +393 -0 lines
Minimal changes needed to build in an LWP'ified universe.

Revision 1.20.2.1
Sat May 4 18:44:27 2002 UTC (22 years, 11 months ago) by thorpej
Branches: nathanw_sa
FILE REMOVED
Changes since revision 1.20: +0 -393 lines
file ps.c was added on branch nathanw_sa on 2002-05-04 18:53:05 +0000

Revision 1.20: download - view: text, markup, annotated - select for diffs
Sat May 4 18:44:27 2002 UTC (22 years, 11 months ago) by thorpej
Branches: MAIN
CVS tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, fvdl_fs64_base
Branch point for: nathanw_sa
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +58 -75 lines
Use kinfo_proc2.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Sat Jul 14 07:09:11 2001 UTC (23 years, 9 months ago) by matt
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +6 -4 lines
Fetch maxslp from the kernel.  Only use USPACE if it's defined.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Wed Dec 20 01:17:49 2000 UTC (24 years, 4 months ago) by cgd
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +4 -4 lines
__CONCAT does token pasting, not string concatnation.  if something like:
        __CONCAT("foo","bar");
actually works to concantate strings, it's because the preprocessor expands
it into "foo""bar" as separate strings, and then ANSI string concatenation
is performed on that.  It's more straightforward to just use ANSI string
concatenation directly, and newer GCCs complain (rightly) about misuse
of token pasting.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Fri Dec 1 02:19:44 2000 UTC (24 years, 4 months ago) by simonb
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -7 lines
Remove extern variables and functions now declared in dkstats.h.
While here, remove 77 (!) unneed #includes.

Revision 1.15.2.1: download - view: text, markup, annotated - select for diffs
Fri Sep 1 16:38:18 2000 UTC (24 years, 7 months ago) by ad
Branches: netbsd-1-5
CVS tags: netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA
Diff to: previous 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15: +23 -33 lines
Pull up the following revisions, approved by releng-1-5:

- Add "boot", "run", "time" and "zero" commands to all IP displays. These work
  as in the "vmstat" display mode. The default mode is now "time", not "boot".
- ANSIfy.
- s@kre\(@vmstat\(@.
- __RCSID() police.
- Tweak inet.icmp display visual a little.

netstat.c        1.19
pigs.c           1.20
ps.c             1.16
swap.c           1.13
systat.1         1.20
systat.h         1.7
tcp.c            1.7
vmstat.c         1.33

Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Jul 5 11:03:23 2000 UTC (24 years, 9 months ago) by ad
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +23 -33 lines
- Add `boot', `run', `time' and `zero' commands to all IP displays. These work
  as in the `vmstat' display mode. The default mode is now `time', not `boot'.
- ANSIfy.
- s@kre\(@vmstat\(@.
- __RCSID() police.
- Tweak inet.icmp display visual a little.

Revision 1.13.2.1: download - view: text, markup, annotated - select for diffs
Fri Jun 23 16:40:01 2000 UTC (24 years, 10 months ago) by minoura
Branches: minoura-xpg4dl
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +4 -2 lines
Sync w/ netbsd-1-5-base.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun Jun 4 01:53:51 2000 UTC (24 years, 10 months ago) by perry
Branches: MAIN
CVS tags: netbsd-1-5-base, netbsd-1-5-ALPHA2
Branch point for: netbsd-1-5
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -2 lines
include sys/sched.h to get definition of CPUSTATES

Revision 1.14: download - view: text, markup, annotated - select for diffs
Fri Jun 2 04:32:07 2000 UTC (24 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -2 lines
Handle SONPROC state.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat Jan 8 23:12:37 2000 UTC (25 years, 3 months ago) by itojun
Branches: MAIN
CVS tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +8 -2 lines
- implement layered help.
  Suggested by: Andy Doran <ad@mr-magoo.sports.gov.uk>
- inet6.ip6 and ipsec menu
- u_quad_t printing fix
- #ifdefs to allow compilation on 1.4.x

Revision 1.5.2.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:37:12 1999 UTC (25 years, 4 months ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5: +9 -9 lines
Pull up to last week's -current.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Dec 22 14:46:15 1999 UTC (25 years, 4 months ago) by kleink
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +34 -6 lines
* Fix a display buglet: if the process list is exhausted before the window's
  bottom is reached, clear the remaining lines, lest there be stale process
  entries if the process list shrinks.
* Implement a top(1)-like `user' command in the ps display.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Dec 20 19:31:47 1999 UTC (25 years, 4 months ago) by jwise
Branches: MAIN
CVS tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +4 -5 lines
TNF copyright -- I will do the paperwork to give these over asap.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Mon Dec 20 17:08:53 1999 UTC (25 years, 4 months ago) by jwise
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +4 -4 lines
Knee-jerk snprintf()-ism.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu Dec 16 04:41:49 1999 UTC (25 years, 4 months ago) by jwise
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +4 -0 lines
Backout unintended change

Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Dec 16 04:40:03 1999 UTC (25 years, 4 months ago) by jwise
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -6 lines
Add a file missed in last commit

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun Dec 5 18:54:34 1999 UTC (25 years, 4 months ago) by fredb
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -3 lines
More fallout from CL* purge.

Revision 1.1.2.1: download - view: text, markup, annotated - select for diffs
Tue Oct 12 19:57:40 1999 UTC (25 years, 6 months ago) by he
Branches: netbsd-1-4
CVS tags: netbsd-1-4-PATCH003, netbsd-1-4-PATCH002
Diff to: previous 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1: +3 -2 lines
Pull up revision 1.6 (requested by mrg):
  Fix "dty" vs "tty" problems that have existed since "dty"s were
  invented sometime before 1.4 was released.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Oct 11 11:55:27 1999 UTC (25 years, 6 months ago) by mrg
Branches: MAIN
CVS tags: comdex-fall-1999-base, comdex-fall-1999
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +4 -3 lines
recognise "dty" the same as we do "tty"

Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Jul 23 08:56:13 1999 UTC (25 years, 9 months ago) by veego
Branches: MAIN
Branch point for: wrstuden-devbsize
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -3 lines
According to the previous commit the new process state should be SDEAD and
not SDYING, so s/SDYING/SDEAD/.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Jul 22 18:18:27 1999 UTC (25 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +5 -4 lines
Update for SDEAD.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Jun 19 05:35:14 1999 UTC (25 years, 10 months ago) by itohy
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +7 -7 lines
Fix CPU percentage of "systat ps".
Yes, the name of the member "pt_pctcpu" is confusing :-).
Use double instead of float.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Thu Apr 22 03:40:46 1999 UTC (26 years ago) by simonb
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +6 -1 lines
Add an __RCSID.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Feb 21 21:48:07 1999 UTC (26 years, 2 months ago) by jwise
Branches: MAIN
CVS tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH001
Branch point for: netbsd-1-4
Add a new `ps' view to systat, which shows process information.  This
view is identical to the output of `ps aux' except that a.) the RSS and VSZ
fields are one character wider and b.) it shows a zero value for the RSS
and %MEM columns of processes which report a negative RSS.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>