SUSE Conversations


Shutdown report Shell script



By: natesh7

July 13, 2010 2:30 pm

Reads:302

Comments:2

Rating:0

nated – version 1.0

A Shell script to get the shutdown and up-time of a linux box. Works well on redhat and suse box. You can also create a cron job which will send mail (admin@yourcompany.com) about the run-time,shutdown time , and the start-up time of the Linux box.

Source code is readily available , feel free to edit it.

Download the script :

http://box.net/shared/uzg6buff7c

Visit my blog:
ninohead.wordpress.com

VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Tags:
Categories: Enterprise Linux, Free Tools, Technical Solutions

Disclaimer: As with everything else at SUSE Conversations, this content is definitely not supported by SUSE (so don't even think of calling Support if you try something and it blows up).  It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.

2 Comments

  1. By:natesh7

    I tried running the script in both redhat and suse box…seems it works fine in redhat box but not on suse. Check it out..some bug

  2. By:tim_fitch

    Not available on Box.net anymore… :(
    **Edit* Download is working again. ty

Comment

RSS