Please see this


Contents

- INDEX
- HP-UX Index
- Solaris
- Linux Index
- Other Unix types
- General Unix
- Unix Networking
- Unix Scripts
- Unix databases

Associated Information

- Unix Scripts Tips

Useful Links

- Bash shell HOWTO
- Bourne Shell Man Page
- C Shell Guide
- Korn Shell Resources

Example Scripts

  • HP-UX SysAdmin Scripts

    • collect.sh - Collects system configuration information for DR purposes.
      Click here - to view the script
      Click here - to download the script

    • CopyDepot.sh - Copy SD/UX depots
      Click here - to view the script
      Click here - to download the script

    • Disaster Recovery scripts - Three scripts to collect system information and then rebuild the logical volumes from this information in the event of a disaster
      Click here - to view the scripts
      Click here - to download script 1
      Click here - to download script 2
      Click here - to download script 3

    • depot_collect.sh - Analyses what software and patches you have in a depot.
      Click here - to view the script
      Click here - to download the script

    • dups.sh - Checks for duplicate files
      Click here - to view the script
      Click here - to download the script

    • Genlist.sh - Generates a list of all files in vg00
      Click here - to view the script
      Click here - to download the script

    • logrotate.sh - Will copy HP-UX log files then trim them leaving just the last 10 lines. Very comprehensive.
      Click here - to view the script
      Click here - to download the script

    • mx.sh - Checks for MX records on specified server. Find out where your mail is going!
      Click here - to view the script
      Click here - to download the script

    • nettraf.sh - Monitor traffic on a network card!
      Click here - to view the script
      Click here - to download the script

    • psram.sh - Show top 20 processes by RAM utilisation!
      Click here - to view the script
      Click here - to download the script

    • viman.sh - Allow man pages to be easily edited (control characters filtered out).
      Click here - to view the script
      Click here - to download the script

  • General Unix SysAdmin Scripts

    • copybus5.sh - Copies a file on the 5th business day of the month.
      Click here - to view the script
      Click here - to download the script

    • Diff.sh - Works out the differences between 2 files
      Click here - to view the script
      Click here - to download the script

    • ddofftape.sh - Copies data off a tape. Useful if you are having problems reading the tape with the standard utilities
      Click here - to view the script
      Click here - to download the script

    • ljdisplay.sh - Sends a message to a Laserjet printer. Could be useful for remote printers.
      Click here - to view the script
      Click here - to download the script

    • loadcheck.sh - Checks for system bottle necks.
      Click here - to view the script
      Click here - to download the script

    • mailqcheck.sh - Checks for undelivered mail.
      Click here - to view the script
      Click here - to download the script

    • top20du.sh - Will display the top 20 space users for the directory specified. Specially useful for home directories.
      Click here - to view the script
      Click here - to download the script

    • zombie_kill.sh - Kills zombie processes
      Click here - to view the script
      Click here - to download the script

    Some links to other sites with useful Sys Admin scripts

    • hardwr - A very comprehensive mulit platform hardware listing tool

    • Big Brother - The ultimate Open Source system monitor

    (Thanks to Lee Binkley for his help with this section by contributing many of the scripts)


Copyright 2000 Intronet Computers Ltd
Email: Intronet Computers for enquiries