On 2/15/10 7:49 PM, jhell wrote:
As I make final modifications to the script I will keep the below URLs
updated and welcome any bug reports or modification requests to me
personally.
Here is the URLs:
http://jhell.googlecode.com/files/arc_summary.pl
http://jhell.googlecode.com/files/arc_summary.pl.asc
Nice. How about including relevant lines from /boot/loader.conf, maybe
something like this tacked on the end of the script (excuse my Perl, I'm
a Python guy).
----
#### Loader Settings #############
open(LOADER, '/boot/loader.conf');
print "\n/boot/loader.conf settings:\n";
while (<LOADER>){
chomp;
if (/^\s*(zfs|vfs\.zfs|vm\.kmem)/){
print "\t$_\n";
}
}
----
Yes, it should more or less duplicate the sysctl values, but it may make
it more obvious where the settings are coming from, or if the user has
bad or ignored settings
Barry
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"