01-08-2009
Questions related to ndd commands
Hello Gurus
I would like to know more about ndd commands related to ethernet(NIC) like how to set link_status, link_speed & link_mode as I know how to check these value. And I also would like to know how to make these setting permanents after reboot as I know that these setting will vanish after reboot.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Trying to get through UNIX class that I mostly missed due to illness. If anyone can help me with this question I'd appreciate it. Thank you.
How are the following two commands related?
1s -1R /proc
ps ax (1 Reply)
Discussion started by: radhanuja
1 Replies
2. UNIX for Dummies Questions & Answers
Hi All,
1. how to what is the current line we are executing. List command will display the 10 lines by default.
2. how to put a pointer to the current excuting line when executing the list.
2. if i have set one break point and i want to set 2nd break point do i need to delete the first break... (1 Reply)
Discussion started by: gauri
1 Replies
3. UNIX for Dummies Questions & Answers
I am using rsync for my backing up my files, from one box to other box,
While doing I am getting following error.
arb821/Server/logs/rpcMetrics/
arb821/Server/logs/AribaOrderTransmitterLog.txt
write failed on arb821/Server/logs/AribaOrderTransmitterLog.txt : Error 0
rsync error: error in... (2 Replies)
Discussion started by: redlotus72
2 Replies
4. Programming
Hi,
Is there any function calls available ( for using in a C program ) to get the Ethernet Link status. ?
I am looking for the status available from
ndd /dev/hme link_status
And how about plumbing and configuring an interface using C program ?
BTW, Is all this documented... (3 Replies)
Discussion started by: shibz
3 Replies
5. UNIX for Dummies Questions & Answers
I have two issues; any help regarding this would be highly appreciated.
We deployed a file abc using pqr id. So the owner is of abc file (shell script) is ‘pqr'. However, abc file is executed by ESP event and uses the id ‘xyz'. When the file abc is executed the owner of... (9 Replies)
Discussion started by: clearC
9 Replies
6. UNIX for Advanced & Expert Users
Hi all,
Does unix has any commands for creating BLOB and CLOB objects.
Please forward me any sites or samples (2 Replies)
Discussion started by: rajeshorpu
2 Replies
7. IP Networking
I have two items, only related because they are both regarding dhcpd.
First of all, I keep seeing dhcpd responding to DHCPREQUESTs on eth1 which is my cable modem. For example:
Sep 12 21:00:09 plague dhclient: DHCPREQUEST on eth1 to 204.186.xxx.xxx port 67
Sep 12 21:00:09 plague dhcpd:... (2 Replies)
Discussion started by: NESter
2 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I am new to unix , I was planning to write a script that will FTP files to destination folder. , Please guide me what are the various networking commands that unix will help in this ftp process..?:confused: (1 Reply)
Discussion started by: rahul125
1 Replies
9. Solaris
Hi everyone,
I'm new with solaris administration. I have just discovered the notion of METADEVICE and I really don't understand it. Can any one please explain it to me or give me useful link ?
I also want to know more about these commandes:
metainit
metadb
metaattach
Thank you
... (1 Reply)
Discussion started by: adilyos
1 Replies
10. Red Hat
Hi,
Can you answer the following ?
How to identify server is physical or virtual server ?
Why often patching is done in servers ?What is the purpose of doing OS patching in servers. ?
Regards,
Maddy (5 Replies)
Discussion started by: Maddy123
5 Replies
LEARN ABOUT OPENSOLARIS
reboot
reboot(3C) Standard C Library Functions reboot(3C)
NAME
reboot - reboot system or halt processor
SYNOPSIS
#include <sys/reboot.h>
int reboot(int howto, char *bootargs);
DESCRIPTION
The reboot() function reboots the system. The howto argument specifies the behavior of the system while rebooting and is a mask con-
structed by a bitwise-inclusive-OR of flags from the following list:
RB_AUTOBOOT The machine is rebooted from the root filesystem on the default boot device. This is the default behavior. See boot(1M) and
kernel(1M).
RB_HALT The processor is simply halted; no reboot takes place. This option should be used with caution.
RB_ASKNAME Interpreted by the bootstrap program and kernel, causing the user to be asked for pathnames during the bootstrap.
RB_DUMP The system is forced to panic immediately without any further processing and a crash dump is written to the dump device (see
dumpadm(1M)) before rebooting.
Any other howto argument causes the kernel file to boot.
The interpretation of the bootargs argument is platform-dependent.
RETURN VALUES
Upon successful completion, reboot() never returns. Otherwise, -1 is returned and errno is set to indicate the error.
ERRORS
The reboot() function will fail if:
EPERM The {PRIV_SYS_CONFIG} privilege is not asserted in the effective set of the calling process.
SEE ALSO
Intro(1M), boot(1M), dumpadm(1M), halt(1M), init(1M), kernel(1M), reboot(1M), uadmin(2)
SunOS 5.11 22 Mar 2004 reboot(3C)