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

ksh Scripting: Generating server statistics in html

Up
vote
Down

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

Buy Art Online with a Free Return Policy

Selected articles

Testing the Digital Ocean $5 Cloud Servers with an MMORPG

Apple DIY Repair

Space Tyrant: A multiplayer network game for Linux

Tutorial: Introduction to Linux files

Why Programmers are not Software Engineers

The Real Microsoft Monopoly

 

Firefox sidebar

Site map

Site info

News feed

Features

Login
(to post)

Search

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