Re: kenv - output needed

2010-03-24 Thread Atom Smasher
On Tue, 23 Mar 2010, Garrett Cooper wrote: On Tue, Mar 23, 2010 at 6:42 PM, Andrew Thompson thom...@freebsd.org wrote: eval $(kenv | awk -F= '/^smbios/ { gsub(\\\.,_,$1); print $1 = $2}') echo $smbios_chassis_maker That's assuming that the there are only two tokens separated by =

Re: kenv - output needed

2010-03-24 Thread Atom Smasher
thanks! if anyone has any input that doesn't behave well, please let me know. also, this seems to be all x86 variant hardware... does anyone have access to other hardware platforms? SHA1 (report_smbios.zsh.gz) = 0afc4c7a5170eaf549b7a1c42d8793861433c654 SHA1 (smbios.txt.gz) =

Re: kenv - output needed

2010-03-23 Thread Andrew Thompson
On Tue, Mar 23, 2010 at 05:12:47PM +1300, Atom Smasher wrote: i'm trying to figure out what might be reasonable output from kenv. on the three machines that i have access to i'm already seeing wide variations of formatting and usefulness. i'd like to collect as much output as i can get

Re: kenv - output needed

2010-03-23 Thread Atom Smasher
On Wed, 24 Mar 2010, Andrew Thompson wrote: On Tue, Mar 23, 2010 at 05:12:47PM +1300, Atom Smasher wrote: i'm trying to figure out what might be reasonable output from kenv. on the three machines that i have access to i'm already seeing wide variations of formatting and usefulness. i'd like

Re: kenv - output needed

2010-03-23 Thread Garrett Cooper
On Tue, Mar 23, 2010 at 12:06 PM, Atom Smasher a...@smasher.org wrote: On Wed, 24 Mar 2010, Andrew Thompson wrote: On Tue, Mar 23, 2010 at 05:12:47PM +1300, Atom Smasher wrote: i'm trying to figure out what might be reasonable output from kenv. on the three machines that i have access to i'm

Re: kenv - output needed

2010-03-23 Thread Andrew Thompson
On Wed, Mar 24, 2010 at 08:06:23AM +1300, Atom Smasher wrote: On Wed, 24 Mar 2010, Andrew Thompson wrote: On Tue, Mar 23, 2010 at 05:12:47PM +1300, Atom Smasher wrote: i'm trying to figure out what might be reasonable output from kenv. on the three machines that i have access to i'm already

Re: kenv - output needed

2010-03-23 Thread Atom Smasher
On Tue, 23 Mar 2010, Garrett Cooper wrote: Are you looking for data represented similar to sysctl(8)? it doesn't quite have to be, but it is being parsed in a script. -- ...atom http://atom.smasher.org/ 762A 3B98 A3C3 96C9 C6B7 582A B88D

Re: kenv - output needed

2010-03-23 Thread Andrew Thompson
On Wed, Mar 24, 2010 at 02:09:41PM +1300, Atom Smasher wrote: On Tue, 23 Mar 2010, Garrett Cooper wrote: Are you looking for data represented similar to sysctl(8)? it doesn't quite have to be, but it is being parsed in a script. How about pulling the kenv variables into the

Re: kenv - output needed

2010-03-23 Thread Garrett Cooper
On Tue, Mar 23, 2010 at 6:42 PM, Andrew Thompson thom...@freebsd.org wrote: On Wed, Mar 24, 2010 at 02:09:41PM +1300, Atom Smasher wrote: On Tue, 23 Mar 2010, Garrett Cooper wrote: Are you looking for data represented similar to sysctl(8)? it doesn't quite have to be, but it is

kenv - output needed

2010-03-22 Thread Atom Smasher
i'm trying to figure out what might be reasonable output from kenv. on the three machines that i have access to i'm already seeing wide variations of formatting and usefulness. i'd like to collect as much output as i can get (off-list should be fine) from one of these two commands: 1)