Link to home
Start Free TrialLog in
Avatar of rohanly
rohanlyFlag for India

asked on

Need to find the hardware details & Disk configration in Solaris 5

Hi,

I have been assign the task to find the hardware conf ( processror and ram and other details)
Ip address, ethernert spped , and amount of harddrive connected to the system as weel as the no. of harddrive connected.

buit i am a real novice in solaris so not able to find out myself, kindly let us know how i can achieve the above task.

Reagrds,
Rohan
ASKER CERTIFIED SOLUTION
Avatar of Tintin
Tintin

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rohanly

ASKER

Hi its a production server and i can't run scripts on that

kindly provide me some commands that i can run and get the information
Avatar of Tintin
Tintin

What?  You can't even copy/paste a script into /tmp, run it, then delete it?  That's crazy.

If you want just the commands, then just look at the script and pull out the appropriate commands you need.
Avatar of rohanly

ASKER

Again i will say i am a novice ,

Don't be rude MAN, Just looking for help here,

Anyways thanks for the reply , Will try it

regards,
Rohan
I'm sorry if I came across as rude.  The comments weren't directed to you specifically, it was more a general rant at the ridiculous restrictions that management quite often place on production environments that mean so much additional work.

The other option is that you could run Sun Explorer, which might already be installed on the system.  Sun Support usually get the customer to run this when there is a support call they need to diagnose.  it is a Sun tool for extracting all sorts of information about the system (it does collect a lot of stuff).

If the directory /opt/SUNWexplo exists on your server, it means it is installed.

Do a

man -M /opt/SUNWexplo/man explorer

to view the options for running explorer.
Great script Tintin.
It stoped on my solaris 10 due to the line:

if echo $RELEASE | grep 5.[5-9] >/dev/null 2>&1

After changing that it worked perfect.

As Tintin wrote Sun Explorer will give you most of the information you need. Tintin scripts contains alot of good Solaris commands you can easily type in the prompt instead of running the script.

Another informative command is:
# prtdiag -v

To see your NIC-speed
# ndd /dev/dmfe0 adv_100fdx_cap

1 = you got 100mb full duplex
dmfe0 = your NIC, look for your by hitting.
# ifconfig -a

To read more
#man ndd

Btw,Your "tag" in the question says Solaris 5. That version does not exist. SunOS 5.0 does but it's from the early 90.

Could you give the output from:
# uname -r

Regards