We have >1000 UNIX boxes in our environment with various UNIX flavors like Solaris, HP-UX and Redhat Linux ES 3/4/5. We need to collect their system configuration like
- No. of CPUs and their frequencies
- RAM Size
- No. of HDDs installed and their usage
- Exact OS Version and its revision.
I think it's best to write a Generic Script so that it can be run on ALL UNIX flavors and get the system configuration and pipe to a file.
I doubt that anyone has such script, but I'll be happy to see it. My suggestion is :
write an TCL / expect script, that will connect to all your servers, and get the info based on OS type.
Sample logic as follows :
You can use TCL/Expect, as I said, or use Perl, in particular Perl's implementation of Expect library.
HTH. I'd love to see ready script, this can be very useful, as writing such script from scratch may be extensive and time consuming task.
Hello folks,
I pretend install Lubuntu 16.04 LTS in pc for any employer use this pc! I think create an user with, only, permission to read and write, 770.
This is the best scenario?
I think create this user through terminal, because I pretend create a script, and I don't where wizard has... (0 Replies)
Hello ,
On a couple of system I have to check that systems have the same configuration. This system are part of manual cluster but when application are going to switch from one side to another side I would like to be sure I am not going to experience incidents. It is why I wonder if on the web... (2 Replies)
Here with I am submitting a script , which is made for my use. It may be useful for anyone. I did't given in functions and all....
I am posting in this forum , because anyone can reply to this thread , for any change/addition.
And yea , suggestions awaiting..:)
#!/bin/bash
#
#... (3 Replies)
Hi All,
Im trying to extract a bunch of systems configuration. I have created a file called data.txt and used the below scripts to run extraction of data.
Content of data.txt:
/etc/passwd
/etc/shadow
/etc/cron.allow
On the Linux terminal, I entered the following commands to execute my... (4 Replies)
Hi there, I have been asked to write a script that gathers enough information on our Sun Solaris machines to be able to rebuild and configure them if they should go pop.
My question is does anybody have any suggestions on the files that I need to take a copy of, to ensure that everything is... (4 Replies)
On my PC I have two hard disks, the first with Windows 98 SE and the second with Linux Mandrake 8.0 (Traktopel). When I have installed Linux, it has modified the boot record of the 1st HD and it has added a graphic menu (LILO) for selecting the OS to use. By default, if I don't press a key, Linux... (2 Replies)
How to know configuration information of the system.
like
(1) memory assigned for RAM - ?
(2) How much is the Hard disk -?
(3) processor
I used uname and du -k commands. But i couldn't get information about RAM.
which command gives this info (3 Replies)