diff options
author | will <will@FreeBSD.org> | 2013-08-26 23:48:21 +0000 |
---|---|---|
committer | will <will@FreeBSD.org> | 2013-08-26 23:48:21 +0000 |
commit | a52b9ca1d3093315714bdb9c80d6cc06215837a0 (patch) | |
tree | f82f67cc875d4d29e153a4dc547c3ccbc1a22f38 /sys/compat/freebsd32 | |
parent | fe9638e56d5327851fc0bb1330797ef34ad22cb5 (diff) | |
download | FreeBSD-src-a52b9ca1d3093315714bdb9c80d6cc06215837a0.zip FreeBSD-src-a52b9ca1d3093315714bdb9c80d6cc06215837a0.tar.gz |
Add the ability to display the default FIB number for a process to the
ps(1) utility, e.g. "ps -O fib".
bin/ps/keyword.c:
Add the "fib" keyword and default its column name to "FIB".
bin/ps/ps.1:
Add "fib" as a supported keyword.
sys/compat/freebsd32/freebsd32.h:
sys/kern/kern_proc.c:
sys/sys/user.h:
Add the default fib number for a process (p->p_fibnum)
to the user land accessible process data of struct kinfo_proc.
Submitted by: Oliver Fromme <olli@fromme.com>, gibbs
Diffstat (limited to 'sys/compat/freebsd32')
-rw-r--r-- | sys/compat/freebsd32/freebsd32.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/compat/freebsd32/freebsd32.h b/sys/compat/freebsd32/freebsd32.h index 9b04965..aa08432 100644 --- a/sys/compat/freebsd32/freebsd32.h +++ b/sys/compat/freebsd32/freebsd32.h @@ -342,6 +342,7 @@ struct kinfo_proc32 { char ki_loginclass[LOGINCLASSLEN+1]; char ki_sparestrings[50]; int ki_spareints[KI_NSPARE_INT]; + int ki_fibnum; u_int ki_cr_flags; int ki_jid; int ki_numthreads; |