systat - Change -pv, add -w option* Add -w (wide mode) option, currently only affects -pv* Change -pv to use a wider contention label and to include the contending lock's address when in wide m
systat - Change -pv, add -w option* Add -w (wide mode) option, currently only affects -pv* Change -pv to use a wider contention label and to include the contending lock's address when in wide mode.* Move the sample_pc (root only) display over to wide-mode.
show more ...
systat(1): Remove dead code.It was inactivated by c8cad1a46f5d4e9ee689c3da2c3909245b783200 butforgotten to be removed.
systat(1): Fix building with -fno-common.-fno-common will be default in future compilers (GCC 10, for example).
Minor Makefiles cleanup in systat and flame_graph.
flame_graph - Add initial code to support flame graphs* Add better PC sampling code to the kernel, capable of generating call stack traces.* Implement an initial flame_graph utility. flame_g
flame_graph - Add initial code to support flame graphs* Add better PC sampling code to the kernel, capable of generating call stack traces.* Implement an initial flame_graph utility. flame_graph > /tmp/x.out & (let it run a while) flame_graph -p < /tmp/x.outRequested-by: mjg
Remove <sys/user.h> inclusion from a few files that don't need it.
who(1)/finger(1): Move to utmpx. Drop utmp support.finger(1) utmpx support taken from FreeBSD.This also moves the consumers of utmpentry.c to utmpx: talkd(8),systat(1), users(1), wall(1) and wri
who(1)/finger(1): Move to utmpx. Drop utmp support.finger(1) utmpx support taken from FreeBSD.This also moves the consumers of utmpentry.c to utmpx: talkd(8),systat(1), users(1), wall(1) and write(1).
Shorten some paths in various Makefiles.
kernel - VM rework part 17 - Cleanup* Adjust kmapinfo and vmpageinfo in /usr/src/test/debug. Enhance the code to display more useful information.* Get pmap_page_stats_*() working again.* Chan
kernel - VM rework part 17 - Cleanup* Adjust kmapinfo and vmpageinfo in /usr/src/test/debug. Enhance the code to display more useful information.* Get pmap_page_stats_*() working again.* Change systat -vm's 'VM' reporting. Replace VM-rss with PMAP and VMRSS. Relabel VM-swp to SWAP and SWTOT. PMAP - Amount of real memory faulted into user pmaps. VMRSS - Sum of all process RSS's in thet system. This is the 'virtual' memory faulted into user pmaps and includes shared pages. SWAP - Amount of swap space currently in use. SWTOT - Total amount of swap installed.* Redocument vm_page.h.* Remove dead code from pmap.c (some left over cruft from the days when pv_entry's were used for PTEs).
systat - Enhance -pv display* Enhance systat -pv. Add a delimeter between the totals rows and the cpu rows, add average user, sys, intr, and idle% over all cpus, add total collisions, and incl
systat - Enhance -pv display* Enhance systat -pv. Add a delimeter between the totals rows and the cpu rows, add average user, sys, intr, and idle% over all cpus, add total collisions, and include a percentage of total system eaten up by collisions.
systat - Fix '?' suffix case for dirtybufspace reporting* Dirtybufspace (dirtyb) reporting sometimes showed a '?' because put64() didn't know how to upgrade 'k'. Using 'K' solves the problem.
Replace local array size calculations with NELEM().
systat(8): Add some formats safety.Mainly to suppress -Wformat-overflow
Fix some -Wunused-const-variable warnings and a -Wmisleading-indentation.
Add __attribute__((__noreturn__)) to various function prototypes in usr.bin/.This general cleanup is useful in various ways. It helps the compileroptimize better and it also helps later GCCs detec
Add __attribute__((__noreturn__)) to various function prototypes in usr.bin/.This general cleanup is useful in various ways. It helps the compileroptimize better and it also helps later GCCs detect better when to give-Wimplicit-fallthrough warnings and when not.Found-with: -Wsuggest-attribute=noreturn
systat(1): Print VNODE PAGER.Looks a bit better.
Fix some typos in manual pages.
systat.1: Update man page: sync to current program & improve markup a bit Substantial changes has happened, especially for vmstat display.
systat - Filter out non-useful devices by default* Filter out md*, pass*, and sg* in the -iostat and -vmstat displays. Users are not usually interested in stats on these devices.
systat - clarify 'Free' in systat -vm 1* Clarify Free by indicating i+c+f (inactive + cache + free). That is, the Free memory reported in the upper left counts the Inactive page queue as part
systat - clarify 'Free' in systat -vm 1* Clarify Free by indicating i+c+f (inactive + cache + free). That is, the Free memory reported in the upper left counts the Inactive page queue as part of its total, even though it isn't quite free.* The main reason for this is that when the memory pressure de-stresses, the VM system doesn't bother wasting time moving pages out of the inactive queue, even though they are effectively freeable. On the otherhand, if the system is under significant memory pressure, the inactive queue will itself become stressed and minimize. This makes it a fairly accurate representation of what is potentially freeable (albeit with some effort by the paging system).
Relocate readline and ncurses headers to /usr/include/privHaving public headers for private libraries can cause confusion forsoftware that assumes the presence of headers leads to the availability
Relocate readline and ncurses headers to /usr/include/privHaving public headers for private libraries can cause confusion forsoftware that assumes the presence of headers leads to the availabilityof the libraries.Discussed-with: dillon
LIBPRIV: Add common PRIVATELIB_LDFLAGS definitions.Simply being able to change it in two places is easier than everywhere.Also add PRIVATELIB_BLDFLAGS that is intended for bootsrapping only.While
LIBPRIV: Add common PRIVATELIB_LDFLAGS definitions.Simply being able to change it in two places is easier than everywhere.Also add PRIVATELIB_BLDFLAGS that is intended for bootsrapping only.While there, perform some cleanup for dup entries.
systat(1): Fix curscale type to match other one.Also avoid triggering the the warning for ep.
kernel - Rename desiredvnodes to maxvnodes, fix deadlock* Rename the kernel variable 'desiredvnodes' to 'maxvnodes' to match the sysctl name (which has always been 'maxvnodes'), and to make the
kernel - Rename desiredvnodes to maxvnodes, fix deadlock* Rename the kernel variable 'desiredvnodes' to 'maxvnodes' to match the sysctl name (which has always been 'maxvnodes'), and to make the code more readable.* Probable fix to a rare mount/umount deadlock which can occur in two situations (1) When a large number of mounts and unmounts are running concurrently, and (2) During a umount -a, shutdown, or reboot.* Considered minor, normal use cases will not reproduce this bug. Only synth or poudriere can generate the mount/umount traffic necessary to reproduce this bug.* Also fixes a minor kernel memory leak of the mount structure which can occur when a 'df' or filesystem sync races a umount. Also minor.Reported-by: marino (mount race)
build - prepare for higher optimization levels* Add NO_STRICT_ALIASING, NO_STRICT_OVERFLOW, and NO_WARRAY_BOUNDS make variables as-needed.
1234567