Determining system info

2006-11-05 Thread Don O'Neil
I am trying to get someones MRTG script that was evidently written for a Linux system of some sort working on 6.1 Here's his script: #!/bin/sh TYPE=$1 PARAM=$2 if [ $TYPE = load ]; then INDATA=`cat /proc/loadavg | cut -d ' ' -f2 | sed 's/\.//g' | sed 's/^0//g'` OUTDATA=`cat

Re: Determining system info

2006-11-05 Thread Josh Carroll
if [ $TYPE = load ]; then INDATA=`cat /proc/loadavg | cut -d ' ' -f2 | sed 's/\.//g' | sed 's/^0//g'` OUTDATA=`cat /proc/loadavg | cut -d ' ' -f3 | sed 's/\.//g' | sed 's/^0//g'` fi uptime | sed 's/.*load averages: //g' | cut -d, -f2 | sed 's/.*\.//g' uptime | sed 's/.*load averages:

system info

2003-07-03 Thread Morten
Hi all, Is there a command line utility that I can use to get info on installed ram, CPU etc? Cheers, -Morten ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL

Re: system info

2003-07-03 Thread Luke Kearney
top LK - Original Message - From: "Morten" [EMAIL PROTECTED] Cc: Sent: Thursday, July 03, 2003 7:00 PM Subject: system info Hi all, Is there a command line utility that I can use to get info on installed ram, CPU etc? 

Re: system info

2003-07-03 Thread Morten
Hi, Well, yeah, sort of. But it doesn't tell me cpu speed... Cheers, -Morten Luke Kearney wrote: top LK - Original Message - From: Morten [EMAIL PROTECTED] Cc: Sent: Thursday, July 03, 2003 7:00 PM Subject: system info Hi all, Is there a command line utility that I can

Re: system info

2003-07-03 Thread Fox
Le Thu, Jul 03, 2003 at 12:11:29PM +0200, Morten ecrivait: Hi, Well, yeah, sort of. But it doesn't tell me cpu speed... less /var/run/dmesg.boot Regards. -- [EMAIL PROTECTED] Claranet France -- ___ [EMAIL PROTECTED] mailing list

Re: system info

2003-07-03 Thread Matthew Seaman
On Thu, Jul 03, 2003 at 12:00:13PM +0200, Morten wrote: Is there a command line utility that I can use to get info on installed ram, CPU etc? less(1), as in % less /var/run/dmesg.boot Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The

Re: system info

2003-07-03 Thread Sunil Sunder Raj
Hi, /var/run/dmesg.boot is the file you need. Just go through the bootup messages in teh file. You will get all the details of your server. Regards SSR From: Morten [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Subject: system info Date: Thu, 03 Jul 2003 12:00:13 +0200 Hi