On Wednesday, November 12, 2003, at 01:57 PM, BMichael@... wrote: > Has anyone played with the Unix command sysctl to get hardware & OS > info > for use by FB? Like the old SYSINFO, some of the returned values are > quite cryptic... I did a "sysctl -A" in the terminal, and the hardware > part looks like this: SNIPPED > Bill I got: kern.ostype = Darwin kern.osrelease = 6.6 kern.osrevision = 199506 kern.version = Darwin Kernel Version 6.6: Thu May 1 21:48:54 PDT 2003; root:xnu/xnu-344.34.obj~1/RELEASE_PPC kern.maxvnodes = 11056 kern.maxproc = 532 kern.maxfiles = 12288 kern.argmax = 65536 kern.securelevel = 1 kern.hostname = Peter-Beaumonts-Computer.local. kern.hostid = 3232235522 kern.clockrate: hz = 100, tick = 10000, profhz = 100, stathz = 100 Use pstat to view kern.vnode information Use ps to view kern.proc information Use pstat to view kern.file information kernel is not compiled for profiling kern.profiling: kern.posix1version = 198808 kern.ngroups = 16 kern.job_control = 1 kern.saved_ids = 0 kern.boottime = Tue Nov 11 21:10:08 2003 kern.nisdomainname = kern.maxpartitions: No such file or directory kern.kdebug: Operation not permitted kern.update: No such file or directory kern.osreldate: No such file or directory kern.ntp_pll: No such file or directory kern.bootfile: No such file or directory kern.maxfilesperproc: No such file or directory kern.maxprocperuid: No such file or directory kern.dumpdev: No such file or directory kern.ipc: No such file or directory kern.dummy = 0 kern.ps_strings: No such file or directory kern.usrstack: No such file or directory kern.logsigexit: No such file or directory kern.symfile = \mach.sym kern.procargs: Invalid argument kern.pcsamples: Operation not permitted kern.netboot = 0 kern.panicinfo: specification is incomplete kern.sysv: No such file or directory Use vmstat or systat to view vm.vmmeter information vm.loadavg: 1.20 0.72 0.43 vfs.ufs has 0 mounted instances vfs.nfs has 3 mounted instances vfs.fdesc has 1 mounted instance vfs.cd9660 has 0 mounted instances vfs.union has 0 mounted instances vfs.hfs has 4 mounted instances vfs.volfs has 1 mounted instance vfs.devfs has 1 mounted instance vfs.synthfs has 0 mounted instances vfs.afpfs has 0 mounted instances hw.machine = Power Macintosh hw.model = PowerMac-G3 hw.ncpu = 1 hw.byteorder = 4321 hw.physmem = 671088640 hw.usermem = 611373056 hw.pagesize = 4096 hw.disknames: No such file or directory hw.diskstats: No such file or directory hw.epoch = 0 hw.floatingpoint: No such file or directory hw.machinearch: No such file or directory hw.vectorunit = 1 hw.busfrequency = 66820000 hw.cpufrequency = 400920000 hw.cachelinesize = 32 hw.l1icachesize = 32768 hw.l1dcachesize = 32768 hw.l2settings: Invalid argument hw.l2cachesize: Invalid argument hw.l3settings: Invalid argument hw.l3cachesize: Invalid argument hw.tbfrequency = 16705000 user.cs_path = /usr/bin:/bin:/usr/sbin:/sbin user.bc_base_max = 2147483647 user.bc_dim_max = 65535 user.bc_scale_max = 2147483647 user.bc_string_max = 2147483647 user.coll_weights_max = 2 user.expr_nest_max = 32 user.line_max = 2048 user.re_dup_max = 255 user.posix2_version = 199212 user.posix2_c_bind = 0 user.posix2_c_dev = 0 user.posix2_char_term = 0 user.posix2_fort_dev = 0 user.posix2_fort_run = 0 user.posix2_localedef = 0 user.posix2_sw_dev = 0 user.posix2_upe = 0 user.stream_max = 20 user.tzname_max = 255 kern.ipc.maxsockbuf: 262144 kern.ipc.sockbuf_waste_factor: 8 kern.ipc.somaxconn: 128 kern.ipc.nmbclusters: 16384 kern.ipc.sosendminchain: 16384 kern.ipc.maxsockets: 512 kern.dummy: 0 kern.sysv.shmmax: 4194304 kern.sysv.shmmin: 1 kern.sysv.shmmni: 32 kern.sysv.shmseg: 8 kern.sysv.shmall: 1024 net.local.stream.recvspace: 8192 net.local.stream.sendspace: 8192 net.local.stream.pcblist: Format:S,xunpcb Length:17148 Dump:0x00000018000000260000000000018a0c... net.local.dgram.maxdgram: 2048 net.local.dgram.recvspace: 4096 net.local.dgram.pcblist: Format:S,xunpcb Length:8940 Dump:0x00000018000000260000000000018a0c... net.local.inflight: 0 net.inet.ip.portrange.first: 49152 net.inet.ip.portrange.hifirst: 49152 net.inet.ip.portrange.hilast: 65535 net.inet.ip.portrange.last: 65535 net.inet.ip.portrange.lowfirst: 1023 net.inet.ip.portrange.lowlast: 600 net.inet.ip.forwarding: 0 net.inet.ip.redirect: 1 net.inet.ip.ttl: 64 net.inet.ip.rtexpire: 3600 net.inet.ip.rtminexpire: 10 net.inet.ip.rtmaxcache: 128 net.inet.ip.sourceroute: 0 net.inet.ip.intr_queue_maxlen: 50 net.inet.ip.intr_queue_drops: 0 net.inet.ip.stats: Format:S,ipstat Length:116 Dump:0x00003a05000000000000000000000000... net.inet.ip.accept_sourceroute: 0 net.inet.ip.fastforwarding: 0 net.inet.ip.keepfaith: 0 net.inet.ip.gifttl: 30 net.inet.ip.subnets_are_local: 0 net.inet.ip.maxfragpackets: 4096 net.inet.ip.check_interface: 0 net.inet.ip.check_route_selfref: 1 net.inet.ip.linklocal.stat: Format:S,ip_linklocal_stat Length:16 Dump:0x00000000000000000000000000000000... net.inet.ip.linklocal.in.allowbadttl: 0 net.inet.ip.fw.enable: 1 net.inet.ip.fw.one_pass: 1 net.inet.ip.fw.debug: 1 net.inet.ip.fw.verbose: 0 net.inet.ip.fw.verbose_limit: 0 net.inet.ip.fw.dyn_buckets: 256 net.inet.ip.fw.curr_dyn_buckets: 256 net.inet.ip.fw.dyn_count: 0 net.inet.ip.fw.dyn_max: 1000 net.inet.ip.fw.dyn_ack_lifetime: 300 net.inet.ip.fw.dyn_syn_lifetime: 20 net.inet.ip.fw.dyn_fin_lifetime: 20 net.inet.ip.fw.dyn_rst_lifetime: 5 net.inet.ip.fw.dyn_short_lifetime: 30 net.inet.icmp.maskrepl: 0 net.inet.icmp.stats: Format:S,icmpstat Length:192 Dump:0x00000001000000000000000000000000... net.inet.icmp.icmplim: 100 net.inet.icmp.bmcastecho: 1 net.inet.icmp.drop_redirect: 0 net.inet.icmp.log_redirect: 0 net.inet.igmp.stats: Format:S,igmpstat Length:36 Dump:0x00000008000000000000000000000000... net.inet.tcp.rfc1323: 1 net.inet.tcp.rfc1644: 0 net.inet.tcp.mssdflt: 512 net.inet.tcp.stats: Format:S,tcpstat Length:244 Dump:0x0000006b0000001a0000006d00000006... net.inet.tcp.keepidle: 144000 net.inet.tcp.keepintvl: 1500 net.inet.tcp.sendspace: 32768 net.inet.tcp.recvspace: 32768 net.inet.tcp.keepinit: 1500 net.inet.tcp.pcblist: Format:S,xtcpcb Length:7908 Dump:0x00000018000000120000000000000189... net.inet.tcp.delacktime: 50 net.inet.tcp.v6mssdflt: 1024 net.inet.tcp.always_keepalive: 0 net.inet.tcp.delayed_ack: 1 net.inet.tcp.log_in_vain: 0 net.inet.tcp.pcbcount: 18 net.inet.tcp.slowlink_wsize: 8192 net.inet.tcp.blackhole: 0 net.inet.tcp.tcp_lq_overflow: 1 net.inet.tcp.path_mtu_discovery: 1 net.inet.tcp.slowstart_flightsize: 1 net.inet.tcp.local_slowstart_flightsize: 4 net.inet.tcp.newreno: 0 net.inet.tcp.tcbhashsize: 4096 net.inet.tcp.do_tcpdrain: 1 net.inet.tcp.icmp_may_rst: 1 net.inet.tcp.strict_rfc1948: 0 net.inet.tcp.isn_reseed_interval: 0 net.inet.tcp.msl: 600 net.inet.tcp.drop_synfin: 0 net.inet.udp.checksum: 1 net.inet.udp.stats: Format:S,udpstat Length:44 Dump:0x00000471000000000000000000000000... net.inet.udp.maxdgram: 9216 net.inet.udp.recvspace: 42080 net.inet.udp.pcblist: Format:S,xinpcb Length:7728 Dump:0x00000018000000180000000000000cde... net.inet.udp.log_in_vain: 0 net.inet.udp.blackhole: 0 net.inet.ipsec.stats: Format:S,ipsecstat Length:12432 Dump:0x00000000000000000000000000000000... net.inet.ipsec.def_policy: 1 net.inet.ipsec.esp_trans_deflev: 1 net.inet.ipsec.esp_net_deflev: 1 net.inet.ipsec.ah_trans_deflev: 1 net.inet.ipsec.ah_net_deflev: 1 net.inet.ipsec.ah_cleartos: 1 net.inet.ipsec.ah_offsetmask: 0 net.inet.ipsec.dfbit: 0 net.inet.ipsec.ecn: 0 net.inet.ipsec.debug: 0 net.inet.ipsec.esp_randpad: -1 net.inet.ipsec.bypass: 1 net.inet.raw.maxdgram: 8192 net.inet.raw.recvspace: 8192 net.inet.raw.pcblist: Format:S,xinpcb Length:24 Dump:0x00000018000000000000000000000003... net.appletalk.debug: Format:S,dbgBits Length:8 Dump:0x0000000000000000 net.appletalk.routermix: 2000 net.appletalk.ddpstats: Format:S,at_ddp_stats Length:52 Dump:0x0028b1e8000017aa0000000000000000... net.link.ether.inet.host_down_time: 20 net.link.ether.inet.max_age: 1200 net.link.ether.inet.maxtries: 5 net.link.ether.inet.proxyall: 0 net.link.ether.inet.prune_intvl: 300 net.link.ether.inet.useloopback: 1 net.link.ether.inet.log_arp_wrong_iface: 0 net.link.ether.inet.apple_hwcksum_tx: 1 net.link.ether.inet.apple_hwcksum_rx: 1 net.key.debug: 0 net.key.spi_trycnt: 1000 net.key.spi_minval: 256 net.key.spi_maxval: 268435455 net.key.int_random: 60 net.key.larval_lifetime: 30 net.key.blockacq_count: 10 net.key.blockacq_lifetime: 20 net.key.esp_keymin: 256 net.key.ah_keymin: 128 net.inet6.ip6.forwarding: 0 net.inet6.ip6.redirect: 1 net.inet6.ip6.hlim: 64 net.inet6.ip6.stats: Format:S,ip6stat Length:3200 Dump:0x00000000000000000000000000000000... net.inet6.ip6.maxfragpackets: 4096 net.inet6.ip6.accept_rtadv: 1 net.inet6.ip6.keepfaith: 0 net.inet6.ip6.log_interval: 5 net.inet6.ip6.hdrnestlimit: 50 net.inet6.ip6.dad_count: 1 net.inet6.ip6.auto_flowlabel: 1 net.inet6.ip6.defmcasthlim: 1 net.inet6.ip6.gifhlim: 0 net.inet6.ip6.kame_version: 20010528/apple-darwin net.inet6.ip6.use_deprecated: 1 net.inet6.ip6.rr_prune: 5 net.inet6.ip6.v6only: 0 net.inet6.ip6.rtexpire: 3600 net.inet6.ip6.rtminexpire: 10 net.inet6.ip6.rtmaxcache: 128 net.inet6.ip6.use_tempaddr: 0 net.inet6.ip6.temppltime: 86400 net.inet6.ip6.tempvltime: 604800 net.inet6.ip6.auto_linklocal: 1 net.inet6.ip6.rip6stats: Format:S,rip6stat Length:56 Dump:0x00000000000000000000000000000000... net.inet6.ip6.auto_on: 1 net.inet6.ipsec6.stats: Format:S,ipsecstat Length:12432 Dump:0x00000000000000000000000000000000... net.inet6.ipsec6.def_policy: 1 net.inet6.ipsec6.esp_trans_deflev: 1 net.inet6.ipsec6.esp_net_deflev: 1 net.inet6.ipsec6.ah_trans_deflev: 1 net.inet6.ipsec6.ah_net_deflev: 1 net.inet6.ipsec6.ecn: 0 net.inet6.ipsec6.debug: 0 net.inet6.ipsec6.esp_randpad: -1 net.inet6.icmp6.stats: Format:S,icmp6stat Length:4328 Dump:0x00000000000000000000000000000000... net.inet6.icmp6.rediraccept: 1 net.inet6.icmp6.redirtimeout: 600 net.inet6.icmp6.nd6_prune: 1 net.inet6.icmp6.nd6_delay: 5 net.inet6.icmp6.nd6_umaxtries: 3 net.inet6.icmp6.nd6_mmaxtries: 3 net.inet6.icmp6.nd6_useloopback: 1 net.inet6.icmp6.nodeinfo: 1 net.inet6.icmp6.errppslimit: 100 net.inet6.icmp6.nd6_maxnudhint: 0 net.inet6.icmp6.nd6_debug: 0 debug.bpf_bufsize: 4096 debug.bpf_maxbufsize: 32768 And I don't have a clue about what most of it means Pete... (the other one) "No Vatican. No Taliban."