NIC in OK prompt


 
Thread Tools Search this Thread
Operating Systems Solaris NIC in OK prompt
# 1  
Old 01-22-2010
NIC in OK prompt

HI Friends
Please answer my few douts
1, Tell me how to check the NIC & Ip address details in OK promt
2, How to check correpted memory using Vmstat command
3, HOw to chekc local usr in nIS
4, How to get the newely added NIC card name?

Thanks
Waiting for ur replies
# 2  
Old 01-23-2010
You can only check nic in ok> prompt with show-devs/ show-nets / watch-net-all
vmstat might not necessarily show you faulted memory
for NIS, use ypmatch
newly added nic interface by grep network /etc/path_to_inst

Last edited by incredible; 01-23-2010 at 10:43 AM..
# 3  
Old 01-23-2010
Quote:
1, Tell me how to check the NIC & Ip address details in OK promt
+ show-nets. select the device you are interested in and cd to that device. then type .properties (you may need to cd one directory down as i don't remember for .properties). however, ip address details aren't assigned until the OS is up. you can find mac address at obp, however.
Quote:
2, How to check correpted memory using Vmstat command
+ not sure you can with vmstat. you maybe looking for fmdump which will show faulted hardware such as memory.
Quote:
3, HOw to chekc local usr in nIS
+ i thought nis relied on its own passwd file and local users still are in /etc/passwd? i could be wrong as i haven't used NIS or even seen it in years.
Quote:
4, How to get the newely added NIC card name?
+ pending this is solaris10, run dladmn show-dev.
# 4  
Old 01-25-2010
1, Tell me how to check the NIC & Ip address details in OK promt

At OK Prompt, you OS is dead and only hardware part is accessible, so accessing or checking the OS ( IP is assigned by OS/Kernel to the assigned network part, once system is up and running). for NIC you can select using 'show-devs' command listing all possible listing of your hardware.


2, How to check correpted memory using Vmstat command

vmstats is purely for checking current statistics relating to Virtual memory usage ( including swap and realy RAM) and this tool doesn't give you the idea you need here... try using 'dmesg', 'prtdiag',

3, HOw to chekc local usr in nIS

NIS has its own files and depends on configuration, you need to find out if users are configured to work through NIS using /etc/nsswitch.conf and look for passwd entry.

4, How to get the newely added NIC card name?
sysdef|grep net
prtconf -vp|grep net


Regards,
BB
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Linux

Add two different subnet public IPs to single NIC or two different NIC on same box

Hello Admins, My ask is how can I add two different subnet IPs to same box with two different gateways? The issue is I can connect to the box when I am on ethernet LAN, but I am not able to connect to the same IP when I am on wifi. The server is RHEL 7 VM on vmware. How can I get connected... (4 Replies)
Discussion started by: snchaudhari2
4 Replies

2. Solaris

Unable to move from rsc prompt to ok prompt

Hi, on sunfire v890 unable to move from rsc prompt to ok prompt, i have executed the command break. (9 Replies)
Discussion started by: manoj.solaris
9 Replies

3. UNIX for Dummies Questions & Answers

How to Change the % prompt to - prompt in UNIX?

how to Change the % prompt to - prompt in unix :wall: ---------- Post updated at 07:40 AM ---------- Previous update was at 07:38 AM ---------- How To display the last modification time of any file in unix ---------- Post updated at 07:40 AM ---------- Previous update was at 07:40 AM... (2 Replies)
Discussion started by: manjiri sawant
2 Replies

4. Red Hat

I want to tune NIC's rps, rfs and xps value. which NIC device should I modify.

Dear All I want tune my NIC's rps, rfs and xps value. In my system I have two NIC (eth0, eth1) and I have a bond0 ( eth0, eth1). Here is the question? Which device should I modify ? eth0 and eth1? or just modify bond0 or modify all device (eth0, eth1, bond0) Any advice is welcome.... (0 Replies)
Discussion started by: nnnnnnine
0 Replies

5. IP Networking

squid proxy: one NIC for inbound & one NIC for outbound?

I am new in squid proxy. My question is how to (and if it's necessary) to set one NIC for inbound traffic (http requests) and one NIC for outbound traffic (http answers)? Thank you in advance! (4 Replies)
Discussion started by: aixlover
4 Replies

6. Solaris

x86 Solaris 10 nic driver added but not attached. NIC is not detected.

I couldn't install my nic in solaris 10. I compiled and added the driver but failed to attach the driver and ifconfig output shows only loopback dev. Please see the following output and tell me whether my nic has been detected and why the driver failed to attach? My nic is detected in linux... (0 Replies)
Discussion started by: vectrum
0 Replies

7. HP-UX

how can I determine which NIC card is virtual NIC Card

how can I determine which NIC card is virtual NIC Card which condition can make a decision Does HP UX have Virtual Network Adapter Concept if ,it has where I can Find if I Install Virutal Network Adapter or which command that i can get it or which software can generate thanks (2 Replies)
Discussion started by: alert0919
2 Replies

8. Solaris

Cause of NIC changes ...?

Hi , I came across a SUN server whereby it was installed with additional ethernet card. By right in any configuration, you would probably see the onboard ports Net0,Net1 and so on should correspond to e1000g0,e1000g1... But instead the ext PCI takes precedence in the order and the Net0 becomes... (3 Replies)
Discussion started by: incredible
3 Replies

9. HP-UX

Configuring NIC

Hi. I have HP-9000 Server running HP-UX 10.20. rECENTLY OUR network upgraded to 100mb/sec and I want to do same on the server. So, I add the second Network card (100MB). But the problem is, I can't find a way of configuring this card. How am i going to tell the server to use this 100mb card... (1 Reply)
Discussion started by: wobitu
1 Replies
Login or Register to Ask a Question