[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Read logs on Solaris

Posted on 2000-02-25
6
Medium Priority
?
195 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 800 total points
ID: 2561260
ruptime is from SUNWcsu (core Solaris (usr)) package.

0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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 …
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…
Suggested Courses

656 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