(Show all Scripting articles . . .
Headlines | Linux | Apps | Coding | BSD | Admin | News
Information for Linux System Administration 

ksh Scripting: Generating server statistics in html


The code is written for a Solaris box, but should work with any Unix system with ksh.
The code is straightforward. I use a basic ksh script that calls system commands to create an html-formatted file for display via the Web. I use uname to determine basic system information, df for disk utilization, the sar command for system activity, iostat for drive information, and netstat provides interface information. The code, with comments, is listed at the end of this article.
 read more | mail this link | score:7531 | -Ray, October 15, 2004
More Programming articles...

Large Framed Abstract Art

coding headlines

Tutorial: Create an NFS-like Storage Server with GlusterFS on Ubuntu 12.10

Perl One-Liners Explained: Handy Regular Expressions

Add Video Streaming to C/C++ apps with Nex Gen Media Server API

e-book: Sed One-Liners Explained

Apache2, mod_rewrite tutorial: Redirect requests by device

I wrote my first programming e-book: Awk One-Liners Explained


Firefox sidebar

Site map

Site info

News feed


(to post)


Articles are owned by their authors.   © 2000-2012 Ray Yeargin