Ask a Question related to FreeBSD, Design and Development.
-
Colin J. Raven #1
--memory/uptime stats shell script?
I'm wondering if this even exists....here goes nothing: :)
A shell script, run from cron maybe that collects memory stats and
uptime.
My boss wants to see something like this on one of our intranet pages
(*plese* don't ask me why, I have no idea!) FreeBSD-5.3 STABLE is our
current intranet machine OS.
I started hand rolling a script which grepped some of top output, but in
order to make it meaningful there's a significant amount of regexp
knowledge required to dump the output that is *not* needed. Regexps give
me brain pain.
Googling showed a bunch of extremely nice looking graphical output php
scripts, all of which (ironically) are overkill. This is just intended
to be a small cell on a intranet page which shows uptime/load averages,
and what top produces in terms of memory usage. An slightly modiefied
and formatted version of my .sig I guess.
snmp is not running, otherwise I could prolly do something with that
(it's not running for security reasons)...so my options as I see 'em now
are somewhat limited.
Suggestions, guidance, advice, a kick in the rear...all would be
appreciated! :-)
Regards,
-Colin
--
Colin J. Raven
FreeBSD 5.3-RELEASE - [url]http://www.FreeBSD.org[/url] - There can be only One
Wed Feb 23 11:12:00 CET 2005
11:12AM up 3 days, 18:22, 5 users, load averages: 0.00, 0.00, 0.00
Colin J. Raven Guest
-
shell script help!!
hi all, i have some commands on hand, but i don't know how i can stick it up with (ksh) shell script... can anyone help? 1) use find to list... -
shell script and chown
I moved user directories from one server to another /home/username after moving them the owner is root group is root I have over 200+ user... -
shell script with different results
I'd like to get an IP address from network. See the following line. I'd received the correct address if I start the script from root/shell but... -
identifying memory / processor stats on e450
is there a way to identify which process utilizes how much memory. i guess top and prstat do it right ?? any other way ?? also how to know if... -
Execute shell script from a perl script
Hi, How can I executed a Unix shell script from a Perl script. The shell script is a dump of a oracle table to a file. The perl script is for...



Reply With Quote

