[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] SNMP MIBs for CPU ute and mem consumption
- Subject: RE: [cobalt-users] SNMP MIBs for CPU ute and mem consumption
- From: "Greg O'Lone" <greg@xxxxxxxxxxxxxxxx>
- Date: Mon Sep 30 13:43:11 2002
- Organization: Stretched Out Software, Inc.
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
> -----Original Message-----
> From: cobalt-users-admin@xxxxxxxxxxxxxxx
> [mailto:cobalt-users-admin@xxxxxxxxxxxxxxx] On Behalf Of Mike Jeffers
> Sent: Sunday, September 22, 2002 11:09 AM
> To: cobalt-users@xxxxxxxxxxxxxxx
> Subject: [cobalt-users] SNMP MIBs for CPU ute and mem consumption
>
>
> Anybody know what the MIBs for these are? I've got MRTG
> graphing my NIC, but I'm interested in graphing memory
> utilization and CPU cycles also.
>
> Thanks!
>
> Mike Jeffers
>
> _____________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to:
> http://list.cobalt.com/mailman/listinfo/cobalt> -users
>
>
Mike-
We use the following script to calculate memory usage:
# !/bin/sh
#
echo `egrep '(MemTotal:)' /proc/meminfo | awk '{print $2}'` "-" `egrep
'(MemFree:)' /proc/meminfo | awk '{print $2}'`
echo `egrep '(MemTotal:)' /proc/meminfo | awk '{print $2}'`
echo ""
echo "Free Memory"
Just configure this as the Target in your MRTG script.
--
Greg O'Lone, President
Stretched Out Software, Inc
http://www.stretchedout.com