Solved

Read logs on Solaris

Posted on 2000-02-25
6
185 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
  • 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
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 

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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.

708 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now