|
|
|
|
|
Functions
-
Shell Curses Function Library
-
Korn Shell library of functions to provide cursor
movement capabilities for the shell programmer. Similar
in function and form to the Curses C library.
-
French Menus Korn Shell Function Library
-
Korn Shell library of functions to provide menuing, data
entry, and program management capabilities for the
shell programmer.
-
cgiparse: CGI variable parsing function
-
Parses CGI variables for interpreting HTML values passed
to a shell program from a web-based interface.
(non-html version)
-
displaydom_k93: Display dates in a month for a specified day of the week
-
This script examines a calendar for a specified month and year and
outputs a day of the month or a list of days of the month on which a
specified day of the week occurs. For example, this script will output
the dates for all of the Sundays in February 2006, or it can output the
date of the second Sunday in February 2006.
(non-html version)
-
fromdate_k93: Calculate a date from a specified beginning date
-
Shell function to calculate a date forward or backward for a
specified number of days from a given date.
(non-html version)
-
getch: Retrieves a single keystroke from the keyboard
-
Shell function to read a single keystroke from the
keyboard without requiring the user to press enter.
Uses the "dd" command to provide this function.
(non-html version)
-
isLeap: Determine if a year is a leap year
-
Korn shell function to determine if the current or user
specified year is a leap year. Returns boolean true or
false, also will optionally return the number of days in
February.
(non-html version)
-
mkascii: Generate an array of ASCII character values
-
Generates an associative array of ASCII character values
indexed by the ASCII character, array element value is
the numeric decimal value.
(non-html version)
-
mklpar: Script to Add/Create an LPAR
on a Power 5 HMC managed system
-
This script function will automatically create a template LPAR on a
Power 5 HMC managed system. The resulting LPAR will require manual
configuration of physical and/or virtual I/O adapters. Environment
variables may be specified to change the default values of the LPAR
template.
(non-html version)
-
mkrandpwd_k93: Script to generate a random password string.
-
As a result of recent IT security requirements imposed upon many
businesses, user passwords are typically required to be unintelligible
strings of random characters. The purpose of this script is to generate
random strings of characters that can be used as secure passwords to
comply with IT security requirements.
(non-html version)
-
mkviolpar: Script to add/create a
VIO Server LPAR on a Power 5 HMC managed system.
-
This script function will create a VIO Server LPAR on a Power 5 HMC
managed system. The resulting LPAR will require manual
configuration of physical I/O adapters.
Environment variables may be specified to change the default
values of the LPAR template.
(non-html version)
-
rmlpar: Script to remove/delete an
LPAR from a Power 5 HMC managed system.
-
This script function will remove or delete an LPAR and associated profiles
from a Power 5 HMC managed system.
(non-html version)
-
mkord: Generate an array of ASCII character values
-
Generates an array of ASCII character values indexed by
the numeric decimal value, the array element value is
the ASCII character.
(non-html version)
-
mkuid: Generate unique UID/GID numbers
-
Uses the Unix user or group name to generate a unique
UID/GID number for the user which can be regenerated on
any other machine in a consistent and reliable basis.
(non-html version)
-
xyz2onedim_k93: Simulate Multi-Dimension Korn Shell Arrays
-
This function allows the simulation of multi-dimensional Korn
shell arrays. Accepts multi-dimensional arguments and
calculates the equivalent single dimension array element position.
(non-html version)
-
onedim2xyz_k93: Simulate Multi-Dimension Korn Shell Arrays
-
This function allows the simulation of multi-dimensional
Korn shell arrays. Accepts single dimension array
argument and calculates the equivalent multi-dimensional
array element positions.
(non-html version)
-
psmonitor_k93: Automated process monitoring script
-
This function reads a list of process arguments from a process list
file and checks the system process list to see if that process
is running, if not it logs an error in the AIX error log. This
function is intended to be run from cron once every minute of
every day.
(non-html version)
-
isBetween: Determine if a file's date/time stamp is between two specified dates
-
This function will determine if the last modification
date/time on a file is between two specified date/time
values. The date/time values required consist of a
beginning and an ending date/time, and are expected to
be in the following format: YYYY-MM-DD HH:MM:SS.
(non-html version)
-
vscsiPriority: Assign Path Priorities to Virtualized Disks
-
Script to assign priorty to vscsi paths based on even/odd numbers
associated with each disk and each path to disk.
This script is useful in a Virtualized environment utilizing VIO servers
with MPIO on the client LPAR's. This script provides the system admin
with the ability to manually load balance SAN traffic from client LPAR's
between dual VIO servers.
(non-html version)
-
cmptime_k93: Compare the system time between two or more systems
-
Compare the time from the system running this script to
the time on each system from a list of remote systems,
and generate a time synchronization report in HTML
format to identify the differences. Color coded output
is generated to segment the synchronized systems from
the out-of-sync.
(non-html version)
-
email2hex_k93: Encode Email addresses into HEX to prevent spammer scraping
-
In an effort to make it more difficult for spammers to
scrape email addresses from HTML pages, this technique
of encoding the characters of an email address into
their HEX code equivalent was created. These HEX codes
are then imbedded into a javascript segment into the
HTML page and are displayed as their ASCII characters
when a browser executes the generated javascript
segment.
(non-html version)
-
threeDigitOctet_k93:
-
This script accepts one or more IP address arguments on
the command line and converts each octet into 3 digits,
zero filling where necessary. The result is an IP
address where each octet is a 3 digit number.
(non-html version)
-
sortarray_k93:
-
Sorts a Korn Shell indexed array of values by a variety
of mechanisms:
- Lexical - Alphabetic sort order
- Numeric - Sorts by decimal digits or floating point numbers
- Reverse - Changes sort order to decending
(non-html version)
-
getwiki_k93:
-
Shell script to retreive content from a wiki location and optionally,
perform replacements on imbedded links to point to another wiki
location. This script is dependent upon the existance of the text based
browser "lynx" and utilizes this program to retrieve wiki pages from a
web server. This script is also dependent upon the Unix utility "sed"
to extract the page content from the retrieved wiki pages.
(non-html version)
-
wikiget_k93:
-
Shell script to retreive content from a wiki location and optionally,
perform replacements on imbedded links to point to another wiki
location. This script does not use any external utilities, network
connections and content retrieval is performed using only Korn Shell 93
built-in commands.
(non-html version)
|
|
|
|
|
|
|