The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
unix questions ccp UNIX for Dummies Questions & Answers 4 07-22-2008 07:51 AM
General UNIX Query dave_nithis Shell Programming and Scripting 2 12-12-2007 09:22 AM
some questions about UNIX 5.0.6 , Help me please mrr53 SCO 2 10-27-2007 02:53 AM
General Linux Questions randy.moretz UNIX for Dummies Questions & Answers 1 02-23-2006 10:24 PM
I have a few questions about Unix.. SolidWing68 UNIX for Dummies Questions & Answers 1 08-11-2005 05:22 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-17-2004
dreams5617 dreams5617 is offline
Registered User
  
 

Join Date: Jul 2004
Location: USA
Posts: 52
Arrow General Unix Questions !!

1. How do we know what is my machine name and what is its IP address? (in Solaris)
2. If i want to know the amount of physical CPUs a Unix Box possesses (LINUX and/or Solaris) then what command i have to look.
  #2 (permalink)  
Old 08-17-2004
rhfrommn rhfrommn is offline Forum Advisor  
Registered User
  
 

Join Date: Nov 2003
Location: Minnesota
Posts: 422
1. uname -a tells you the machine name and some other stuff. ifconfig -a tells you the nic settings including the ip address.

2. In Solaris you can do lots of things to get the hardwar info. My favorite is /usr/platform/sun4u/sbin/prtdiag -v. Other people would probably choose psrinfo or prtconf to get that info. I'm not sure what the equivalents would be for unix, but again there are several hardware related commands you can choose from I'm sure.

Man on any of those for more details about what they can do.
  #3 (permalink)  
Old 08-17-2004
woofie woofie is offline
Registered User
  
 

Join Date: Jan 2004
Location: Australia
Posts: 195
Also if you want to find out the speed of the CPU's go into the OBP and type .speed
  #4 (permalink)  
Old 08-18-2004
zazzybob's Avatar
zazzybob zazzybob is offline Forum Advisor  
Registered Geek
  
 

Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,100
Re: General Unix Questions !!

Quote:
Originally posted by dreams5617
2. If i want to know the amount of physical CPUs a Unix Box possesses (LINUX and/or Solaris) then what command i have to look.
On a Linux machine
Code:
more /proc/cpuinfo
will tell you CPU information. If there are two CPUs (and the machine/kernel have been configured appropriately), you'll see two sets of information - one for each CPU.

As a note, on Linux you can use ifconfig -a, but also the "ip addr" command to view ip details and addresses.

Cheers
ZB
  #5 (permalink)  
Old 08-20-2004
Kelam_Magnus's Avatar
Kelam_Magnus Kelam_Magnus is offline Forum Advisor  
Registered User
  
 

Join Date: Aug 2001
Location: DFW McKinney, TX,
Posts: 1,069
I might suggest getting a few good books...

Namely...

Solaris System administrators Guide

Advanced Solaris Sys Admin Guide

UNIX System Administrators Guide "aka The RED Book"
  #6 (permalink)  
Old 08-20-2004
dkaplowitz dkaplowitz is offline
Registered User
  
 

Join Date: Jun 2004
Location: ~Philadelphia
Posts: 63
Quote:
Originally posted by Kelam_Magnus
I might suggest getting a few good books...

Solaris System administrators Guide

Advanced Solaris Sys Admin Guide
Sorry this is off topic, but Janice's books are bad enough that I just have to add my $0.02. I personally think these are the two worst books on the subject. For instance, "how do you add a user?" She answers, essentially "Use SMC or read the useradd man page". Gee, thanks. That's really helpful. If you're going to learn that way, save yourself ~$60. and just read all the system man pages.

I would recommend Solaris Operating Environment Boot Camp as a very good, thorough and practical introduction to Solaris administration. I was on the job and needed some practical guidance on steps to take and this book was more realistic for someone like me who admins boxes from the command-line over ssh. I don't have the luxury of using SMC for all my admin tasks.

Sorry, I couldn't help it. Those Winsor books are just plain bad, IMO.


Dave
Closed Thread

Bookmarks

Tags
linux

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 11:33 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0