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

Tallahassee Abstract Art

coding headlines

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

Develop your own Raspberry Pi OS

Unix: Shell Script Wrapper Examples

Bash: Use the Test Command for multiple aspects

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

String matching in regular expressions


Firefox sidebar

Site map

Site info

News feed


(to post)


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