<?xml version="1.0" encoding="UTF-8"?>

<rss version="2.0">
    <channel>
        <title>BigAdmin: What's New and Recently Updated - Scripts</title>
        <link>http://www.sun.com/bigadmin/?feed=BigAdmin-RSS</link>
        <description>BigAdmin RSS Feed</description>
        <language>en</language>
        <copyright>Copyright 1994-2007 Sun Microsystems, Inc.</copyright>
        <lastBuildDate>Fri, 09 May 2008 02:07:31 -0700</lastBuildDate>
        <managingEditor>contact.bigadmin@sun.com</managingEditor>
        <pubDate>Fri, 09 May 2008 02:07:31</pubDate>
        <item>
            <title>checkdisk_net</title>
            <pubDate>2008-04-30</pubDate>
            <description>The checkdisk_net, host02_checkdisk, and host03_checkdisk scripts check predictive disk failure on the hosts.

See associated BigAdmin submitted tech tip for links to host scripts above:
http://www.sun.com/bigadmin/content/submitted/net_sys_autocheck.jsp

http://www.sun.com/bigadmin/scripts/submittedScripts/host02_checkdisk.txt
/bigadmin/scripts/submittedScripts/host03_checkdisk.txt</description>
            <link>http://www.sun.com/bigadmin/jsp/descFile.jsp?url=descAll/checkdisk_net&amp;feed=BigAdmin-scripts_checkdisk_net</link>
        </item>
        <item>
            <title>checkmessages_net</title>
            <pubDate>2008-04-30</pubDate>
            <description>The checkmessages_net script checks the logs on the hosts. If anything wrong is found, the script sends email to the system administrator. This script should be scheduled to run daily using cron.

See associated BigAdmin submitted tech tip:
http://www.sun.com/bigadmin/content/submitted/net_sys_autocheck.jsp</description>
            <link>http://www.sun.com/bigadmin/jsp/descFile.jsp?url=descAll/checkmessages_net&amp;feed=BigAdmin-scripts_checkmessages_net</link>
        </item>
        <item>
            <title>Sun GDD - Directory Server - Dirtracer v 6.0.6 HP-UX</title>
            <pubDate>2008-04-29</pubDate>
            <description>Sun Gathering Debug Data Script dirtracer - collects all parts of Sun Java System Directory Server environment that are useful for debugging, such as log files, database, information platform information, and others. It is working on Solaris OS).</description>
            <link>http://www.sun.com/bigadmin/jsp/descFile.jsp?url=descAll/sun_gdd__directory_____&amp;feed=BigAdmin-scripts_Sun+GDD+-+Directory+Server+-+Dirtracer+v+6.0.6+HP-UX</link>
        </item>
        <item>
            <title>Sun GDD - Sun Connection 1.x - v1.18 - ALL</title>
            <pubDate>2008-04-28</pubDate>
            <description>Sun Gathering Debug Data Script to collect information and data from Sun Connection. It can also help setting debug modes and after running restore these modes.</description>
            <link>http://www.sun.com/bigadmin/jsp/descFile.jsp?url=descAll/sun_gdd__sun_connec&amp;feed=BigAdmin-scripts_Sun+GDD+-+Sun+Connection+1.x+-+v1.18+-+ALL</link>
        </item>
        <item>
            <title>Sun GDD - Directory Server - Dirtracer v 6.0.6 Solaris (SPARC)</title>
            <pubDate>2008-04-28</pubDate>
            <description>Sun Gathering Debug Data Script dirtracer - collects all parts of Sun Java System Directory Server environment that are useful for debugging, such as log files, database, information platform information, and others. It is working on Solaris OS.</description>
            <link>http://www.sun.com/bigadmin/jsp/descFile.jsp?url=descAll/sun_gdd__directory_&amp;feed=BigAdmin-scripts_Sun+GDD+-+Directory+Server+-+Dirtracer+v+6.0.6+Solaris+%28SPARC%29</link>
        </item>
        <item>
            <title>Sun GDD - Directory Server - Dirtracer v 6.0.6 Linux</title>
            <pubDate>2008-04-28</pubDate>
            <description>Sun Gathering Debug Data Script dirtracer - collects all parts of Sun Java System Directory Server environment that are useful for debugging, such as log files, database, information platform information, and others. It is currently working on supported Linux OS versions).</description>
            <link>http://www.sun.com/bigadmin/jsp/descFile.jsp?url=descAll/sun_gdd__directory__&amp;feed=BigAdmin-scripts_Sun+GDD+-+Directory+Server+-+Dirtracer+v+6.0.6+Linux</link>
        </item>
        <item>
            <title>Sun GDD - Directory Server - Dirtracer v 6.0.6 Solaris x86</title>
            <pubDate>2008-04-28</pubDate>
            <description>Sun Gathering Debug Data Script dirtracer - collects all parts of Sun Java System Directory Server environment that are useful for debugging, such as log files, database, information platform information, and others. It is working on Solaris x86 OS).</description>
            <link>http://www.sun.com/bigadmin/jsp/descFile.jsp?url=descAll/sun_gdd__directory____&amp;feed=BigAdmin-scripts_Sun+GDD+-+Directory+Server+-+Dirtracer+v+6.0.6+Solaris+x86</link>
        </item>
        <item>
            <title>dio - iostat wrapper with top functionality</title>
            <pubDate>2008-04-22</pubDate>
            <description>'dio' is a wrapper for iostat -xXnmpDC - allowing sorting of the output per user requirements</description>
            <link>http://www.sun.com/bigadmin/jsp/descFile.jsp?url=descAll/dio__iostat_wrapper&amp;feed=BigAdmin-scripts_dio+-+iostat+wrapper+with+top+functionality</link>
        </item>
        <item>
            <title>CUPS Backend Filter for Castelle Print-Server</title>
            <pubDate>2008-04-22</pubDate>
            <description>This program enables the creation of CUPS printers which package and email jobs to designated Castelle, Kingston or similar print-servers.

An optional return address for acknowledgment can be supplied.  There is also a Compress capability which can be used with software implementations of a Castelle print-server.</description>
            <link>http://www.sun.com/bigadmin/jsp/descFile.jsp?url=descAll/cups_backend_filter&amp;feed=BigAdmin-scripts_CUPS+Backend+Filter+for+Castelle+Print-Server</link>
        </item>
        <item>
            <title>up - availability monitor</title>
            <pubDate>2008-04-22</pubDate>
            <description>'up' uses ping to monitor whether a host is up or down and displays the results in colors.

Read requirements for configuration.</description>
            <link>http://www.sun.com/bigadmin/jsp/descFile.jsp?url=descAll/up&amp;feed=BigAdmin-scripts_up+-+availability+monitor</link>
        </item>
        <item>
            <title>kPooladm: Manage your pool easily</title>
            <pubDate>2008-04-22</pubDate>
            <description>kPooladm is a java GUI that help to configure the pool facility (containers) under Solaris 10. 

This GUI can be used to replace  the poolcfg/pooladm commands.</description>
            <link>http://www.sun.com/bigadmin/jsp/descFile.jsp?url=descAll/kpooladm_manage_you&amp;feed=BigAdmin-scripts_kPooladm:+Manage+your+pool+easily</link>
        </item>
        <item>
            <title>get_active_nic_settings.sh</title>
            <pubDate>2008-04-22</pubDate>
            <description>bash script to get the ndd settings for all active NICs.</description>
            <link>http://www.sun.com/bigadmin/jsp/descFile.jsp?url=descAll/get_active_nic_sett&amp;feed=BigAdmin-scripts_get_active_nic_settings.sh</link>
        </item>
        <item>
            <title>get_all_nic_settings.sh</title>
            <pubDate>2008-04-22</pubDate>
            <description>bash script to get all NIC settings (even unplumbed, but slower).</description>
            <link>http://www.sun.com/bigadmin/jsp/descFile.jsp?url=descAll/get_all_nic_setting&amp;feed=BigAdmin-scripts_get_all_nic_settings.sh</link>
        </item>
        <item>
            <title>utgsession - Sun Ray Server sessions</title>
            <pubDate>2008-04-22</pubDate>
            <description>Displays all sessions in the Sun Ray Server failover group.

Server, Token, Unix ID, Display, State, CID and location will be displayed for every session.</description>
            <link>http://www.sun.com/bigadmin/jsp/descFile.jsp?url=descAll/utgsession&amp;feed=BigAdmin-scripts_utgsession+-+Sun+Ray+Server+sessions</link>
        </item>
        <item>
            <title>nicstatus</title>
            <pubDate>2008-04-14</pubDate>
            <description>nicstatus displays the status of your configured network interfaces. This allows quick and easy diagnosis of ports.

Latest Update:
Paul Bates 10.03.2008  (sun@paulbates.org)
#       - included NXGE interfaces, Thanks Jorg Weiss and Randy Latimer !!
#       - Just tidied up code a little more, removed some fluff



Usage Example:
&lt;pre&gt;
# nicstatus

 Link:  Auto-Neg:   Status:   Speed:    Mode:  Ethernet Address:
----------------------------------------------------------------
 eri0        OFF        UP    100MB      FDX    0:3:ba:16:e6:4b
 hme0        OFF        UP    100MB      FDX    8:0:20:f1:f4:55
&lt;/pre&gt;

Tested Against:

hme
qfe
eri
dmfe
gem
ce
bge
ipge
e1000g
fjgi

Known issues:

Depending on the revision of your kernel drivers and OS, the output of
the ndd or kstat commands may very. This causes output issues. It is
recommended that you ensure all current kernel patches for your NIC's
are installed for nicstatus to report information properly. This script
has been tested against Solaris Express Build 54, Solaris 10 11/06,
Solaris 9 09/05, and Solaris 8 02/04.</description>
            <link>http://www.sun.com/bigadmin/jsp/descFile.jsp?url=descAll/nicstatus&amp;feed=BigAdmin-scripts_nicstatus</link>
        </item>
        <item>
            <title>Gather systems information per cron schedule</title>
            <pubDate>2008-04-14</pubDate>
            <description>Use this program to setup and gather specific systems activities, see the commands in "@monitor" array.
1. To setup, save the program as solaris_mon, then run:
       ./solaris_mon setup
    (the script is installed at /usr/admin/scripts directory)

 2. A cron job will run every 5 minutes and save the command output as
       /var/log/solarismon/nnn  (nnn means week days, such as Mon, Tue, Wed)

 3. The log is overwritten every 7 days</description>
            <link>http://www.sun.com/bigadmin/jsp/descFile.jsp?url=descAll/script_to_gather_sy&amp;feed=BigAdmin-scripts_Gather+systems+information+per+cron+schedule</link>
        </item>
        <item>
            <title>List all processes accessing a directory</title>
            <pubDate>2008-04-14</pubDate>
            <description>List all processes that are currently accessing a specific directory. This script uses lsof to retrieve the pid information.</description>
            <link>http://www.sun.com/bigadmin/jsp/descFile.jsp?url=descAll/script_to_use_lsof_&amp;feed=BigAdmin-scripts_List+all+processes+accessing+a+directory</link>
        </item>
        <item>
            <title>Setup/remove a reboot schdule</title>
            <pubDate>2008-04-14</pubDate>
            <description>Purpose: Use a config file to schedule system(s) reboots.
Setup:
        reboot_at setup
        (setup cron and make a backup of crontab, create cron entry)

reboot_at cronjob reads config file, if rightnow &gt; command_time;
        then remove $config, create $statfile, reboot
      If the script detects $statfile file, the system had already
        rebooted, and it won't reboot the systems one more time

Reset and remove the setup:
        reboot_at reset
        (recover original crontab)

        reboot_at cleanup
        (clean up everything)</description>
            <link>http://www.sun.com/bigadmin/jsp/descFile.jsp?url=descAll/perl_script_to_setu&amp;feed=BigAdmin-scripts_Setup/remove+a+reboot+schdule</link>
        </item>
        <item>
            <title>metamap - Displaying SVM Soft Partition Extents</title>
            <pubDate>2008-03-21</pubDate>
            <description>Ksh script to display soft partition extents in the order they are on the metadevices by using the 'metarecover' output, sorting it and adding an additional field at the end of each line which is the ending block of that extent.</description>
            <link>http://www.sun.com/bigadmin/jsp/descFile.jsp?url=descAll/displaying_svm_soft&amp;feed=BigAdmin-scripts_metamap+-+Displaying+SVM+Soft+Partition+Extents</link>
        </item>
        <item>
            <title>Disk Space Alert Script</title>
            <pubDate>2008-03-21</pubDate>
            <description>Generates an e-mail to report on dwindling disk space on a system.  Should be run from cron every 10 minutes.  It uses this interval to generate a log file and provide some useful information on the rate at which space is disappearing.

Depends on script by same author to translates any given number of seconds into English (see comment in script).</description>
            <link>http://www.sun.com/bigadmin/jsp/descFile.jsp?url=descAll/disk_space_alert_sc&amp;feed=BigAdmin-scripts_Disk+Space+Alert+Script</link>
        </item>
        <item>
            <title>Password Generator</title>
            <pubDate>2008-03-21</pubDate>
            <description>This script generates a random password with the available parameters for password length.</description>
            <link>http://www.sun.com/bigadmin/jsp/descFile.jsp?url=descAll/password_generator&amp;feed=BigAdmin-scripts_Password+Generator</link>
        </item>
        <item>
            <title>sec2english (seconds to english)</title>
            <pubDate>2008-03-21</pubDate>
            <description>Sec2English takes a whole number greater than 0 (Zero), less than 199,715,979,264 and returns english text output in units no                                    greater than years.

example:   sec2english 246810
    2 days 20 hours 33 minutes and 30 seconds 
    sec2english 1357911 
    15 days 17 hours 11 minutes and 51 seconds </description>
            <link>http://www.sun.com/bigadmin/jsp/descFile.jsp?url=descAll/sec2english_seconds&amp;feed=BigAdmin-scripts_sec2english+%28seconds+to+english%29</link>
        </item>
        <item>
            <title>A script to execute a script on multiple hosts without user interaction using scp and ssh</title>
            <pubDate>2008-03-12</pubDate>
            <description>The script execute_on_all_hosts.sh can be used to execute a script on multiple hosts. 

The script is copied via scp to the host and then executed via ssh on the host. 

The results are written to one or more logfiles.</description>
            <link>http://www.sun.com/bigadmin/jsp/descFile.jsp?url=descAll/a_script_to_execute&amp;feed=BigAdmin-scripts_A+script+to+execute+a+script+on+multiple+hosts+without+user+interaction+using+scp+and+ssh</link>
        </item>
        <item>
            <title>dtrace_oneliners</title>
            <pubDate>2008-03-01</pubDate>
            <description>A summary of handy DTrace one-liners - handy DTrace shell commands.</description>
            <link>http://www.sun.com/bigadmin/jsp/descFile.jsp?url=descAll/dtrace_oneliners&amp;feed=BigAdmin-scripts_dtrace_oneliners</link>
        </item>
        <item>
            <title>checkfsspace</title>
            <pubDate>2008-02-29</pubDate>
            <description>Use this script to check available space of ufs and zfs file systems.

Companion tech tip located at http://www.sun.com/bigadmin/content/submitted/automate_fs_check.jsp</description>
            <link>http://www.sun.com/bigadmin/jsp/descFile.jsp?url=descAll/checkfsspace&amp;feed=BigAdmin-scripts_checkfsspace</link>
        </item>
        <item>
            <title>checkpatch</title>
            <pubDate>2008-02-26</pubDate>
            <description>The checkpatch script checks for newly available patches for the system. I recommend that it, too, should be run daily. The checkpatch script uses a free tool from the community, the Patch Check Advanced (PCA) tool.

Read associated tech tip at:
http://www.sun.com/bigadmin/content/submitted/system_autocheck.jsp</description>
            <link>http://www.sun.com/bigadmin/jsp/descFile.jsp?url=descAll/checkpatch&amp;feed=BigAdmin-scripts_checkpatch</link>
        </item>
        <item>
            <title>timecountdown.ksh (Countdown Timer)</title>
            <pubDate>2008-02-25</pubDate>
            <description>This korn shell script lets you schedule a command for execution a specific amount of time in the future, and continually displays the amount of time remaining until execution.

Read comments for usage.</description>
            <link>http://www.sun.com/bigadmin/jsp/descFile.jsp?url=descAll/timecountdown_ksh_c&amp;feed=BigAdmin-scripts_timecountdown.ksh+%28Countdown+Timer%29</link>
        </item>
        <item>
            <title>ac - Align Columns</title>
            <pubDate>2008-02-22</pubDate>
            <description>Script tidies up the output of commands like "df" and "ls", where file and disk sizes allow bigger values than the format strings are expecting.

The script loads the standard input into an array, and looks for the maximum width of each column. It then prints out the array, using the maximum width in the formatting string. </description>
            <link>http://www.sun.com/bigadmin/jsp/descFile.jsp?url=descAll/ac_align_colum&amp;feed=BigAdmin-scripts_ac+-+Align+Columns</link>
        </item>
        <item>
            <title>addpath to $PATH</title>
            <pubDate>2008-02-22</pubDate>
            <description>This script will add a directory to the head or tail of your path.  

Multiple directory entries will be purged from the path.  Supports all path variables with PATH being the default.  

100% ksh script/function.</description>
            <link>http://www.sun.com/bigadmin/jsp/descFile.jsp?url=descAll/addpath_to_path&amp;feed=BigAdmin-scripts_addpath+to+%24PATH</link>
        </item>
        <item>
            <title>Limit the number of directories in a recursive listing</title>
            <pubDate>2008-02-22</pubDate>
            <description>Sometimes, when using the ls -lR command, you may wish to limit the number of directory-levels that are displayed. This script allows you to pass the name of the starting point of the listing and the number of directory levels to be displayed.</description>
            <link>http://www.sun.com/bigadmin/jsp/descFile.jsp?url=descAll/limit_the_number_of&amp;feed=BigAdmin-scripts_Limit+the+number+of+directories+in+a+recursive+listing</link>
        </item>
    </channel>
</rss>
