Solved

Read logs on Solaris

Posted on 2000-02-25
6
192 Views
Last Modified: 2013-12-05
I need a perl script that can touch about 300 Solaris boxes, and read the logs and pull out the uptime for the box. I need to save these uptimes to a text file, with system name.

If I get it by Tuesday 2-29 the points double.
0
Comment
Question by:lamar1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
6 Comments
 
LVL 3

Expert Comment

by:jyu_88
ID: 2560420
'ruptime' will give you uptime for all local servers, i.e., you don't reall y need perl to get just uptime.

what kind of permission/authentication scheme you have to allow you to access those 300 machines? If all permission granted, it is trivial to gather the info and present in a nice format.
0
 

Author Comment

by:lamar1
ID: 2560622
I have root on all the machines.
Is ruptime included as part of Solaris,
I'm and NT person, and don't know a lot about Solaris..I'll check it out on Monday.
0
 
LVL 3

Accepted Solution

by:
jyu_88 earned 200 total points
ID: 2561260
ruptime is from SUNWcsu (core Solaris (usr)) package.

0
What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

 

Author Comment

by:lamar1
ID: 2561263
Thanks for the info, I'll run the command on Monday and see if it gives back the information I need. I had done some research on it this morning, and checked on one of my systems and found it.
0
 

Author Comment

by:lamar1
ID: 2561266
Adjusted points to 200
0
 

Author Comment

by:lamar1
ID: 2561268
Thanks for your help...Lamar
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question