(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:6973 | -Ray, October 15, 2004
More Programming articles...

Abstract Art Online Gallery

coding headlines

No Starch Press has published my Perl One-Liners book!

bash scripting: Looping through a list

Bash: Use the Test Command for multiple aspects

Perl One-Liners Explained: Handy Regular Expressions

Bash Functions

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