Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jan 2007 03:38:16 +0100
From:      J65nko <j65nko@gmail.com>
To:        "Kelly Jones" <kelly.terry.jones@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Single command that outputs "system status"?
Message-ID:  <19861fba0701211838i213354efr83fca4443b2d6c8d@mail.gmail.com>
In-Reply-To: <26face530701211201j6dbfb184jfa158c8b6fddc114@mail.gmail.com>
References:  <26face530701211201j6dbfb184jfa158c8b6fddc114@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 1/21/07, Kelly Jones <kelly.terry.jones@gmail.com> wrote:
> It's easy to write a shell script that dumps/mails the output of
> several "status" commands (eg, "df -k", "crontab -l", "ps -aux -www",
> "top -n -d 1 infinity", "w -d", "mailq -v", "netstat -a", "vmstat",
> etc) every hour, but I'm wondering if I'm re-inventing the wheel.
>
> Is there a FreeBSD command that reports "system status", either an
> existing shell script that does the above, or something that talks to
> the kernel at a lower level and reports all relevant values?
>
> I know about /etc/periodic/*/*status*, but this seems both excessive
> in places (I don't really need rejected email info, for example) and
> incomplete (I don't think it gives me all the information the commands
> above do).
>
> I also know about mrtg, but that seems more geared toward graphing
> and storing historical information and seems limited as well.
>
> I realize this question is ambiguous. I guess what I'm really asking
> is: is there a FreeBSD tool *designed* to report system status on a
> regular basis, that I could use as the basis of an hourly reporting
> system, even if I had to add/tweak some stuff myself.
>

Although may be not exactly what you want
http://www.bsdforums.org/forums/showthread.php?t=31072
It could be a start ;)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19861fba0701211838i213354efr83fca4443b2d6c8d>