03-25-2003
I don't know if I am way off for what you are asking, but go to the "ok" prompt by typing "init 0". Once there type "setenv diag-switch? true" and "setenv diag-level? max" and "reset-all". It will spew all kinds of hardware info. This is just a basic overview, I suggest you go to docs.sun.com and read more about these commands if this is what you are looking for.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi friends !
Does anyone know if I can work with one NETRA and one E450 in cluster ?
Thanks,
Witt:confused: (3 Replies)
Discussion started by: witt
3 Replies
2. Solaris
I have no experience with sun servers but for fun and experience I would like to buy a low-end server and play with things. I have a few questions that maybe some of you who use these things will be able to answer:
- I believe they are also called PCI slots in the sun server, but are they the... (2 Replies)
Discussion started by: Synbios
2 Replies
3. Filesystems, Disks and Memory
How can I check if a Sun Ultra 10 workstation supports 40GB IDE drives?
Thanks! (6 Replies)
Discussion started by: oti
6 Replies
4. Solaris
hi everybody ,
i installed services tools bundles under solaris OS , but i don't know how to transfer files (that contain reports) to the system where SFT is installed ? and how i can consult a results in SFT server ? (0 Replies)
Discussion started by: lid-j-one
0 Replies
5. Solaris
hi :),
i am new to this forum and i am in need of some help. one of my friend i having a Sun Ultra 2 UPA/Sbus (UltraSPARC-II 296Mhz) 640 MB ram. i am not sure if that configuration will be helpful to try out some sysadmin commands. this machine has a 21-inch monster monitor, which i think... (5 Replies)
Discussion started by: sudhiroracle
5 Replies
6. Solaris
Hello Guruz,
I am just looking for all the h/w specifications of SUN solairs.
It would be gr8 if its in the format of chart.
Mainly i am looking for memory capacity and memory slots for all SUN servers in single sheet.
Please let me know if some one know any details?
Thanks in advance. (3 Replies)
Discussion started by: bullz26
3 Replies
7. Solaris
Hi,
Never worked with Sun, but I have been presented to make a decision about Sun server hardware, since the application which we'll be running is not so popular and you guys might not have idea, for reference I can tell you our competitor is running same application (business volume 10 times... (1 Reply)
Discussion started by: tayyabq8
1 Replies
8. Hardware
Hi all
I've just received my T3-1. It has 8 disks and I would like to configure RAID1 on the disks. The Sun documentation states that you can either use the OpenBoot PROMP utility called Fcode or you can use software via the Solaris OS.
The documentation doesn't make it clear if:
1. The... (6 Replies)
Discussion started by: soliberus
6 Replies
9. Hardware
Oracle has put all SUN hardware related downloads into Oracle Support which not free for an old SUN workstation user.
Now I am looking for a new version BIOS for upgrade but nowhere to download.
P.S. it is SUN java workstation w1100z
I'd APPRECIATE any information if someone could give me... (1 Reply)
Discussion started by: Leland
1 Replies
LEARN ABOUT DEBIAN
explain_setenv_or_die
explain_setenv_or_die(3) Library Functions Manual explain_setenv_or_die(3)
NAME
explain_setenv_or_die - change or add an environment variable and report errors
SYNOPSIS
#include <libexplain/setenv.h>
void explain_setenv_or_die(const char *name, const char *value, int overwrite);
int explain_setenv_on_error(const char *name, const char *value, int overwrite);
DESCRIPTION
The explain_setenv_or_die function is used to call the setenv(3) system call. On failure an explanation will be printed to stderr, obtained
from the explain_setenv(3) function, and then the process terminates by calling exit(EXIT_FAILURE).
The explain_setenv_on_error function is used to call the setenv(3) system call. On failure an explanation will be printed to stderr,
obtained from the explain_setenv(3) function, but still returns to the caller.
name The name, exactly as to be passed to the setenv(3) system call.
value The value, exactly as to be passed to the setenv(3) system call.
overwrite
The overwrite, exactly as to be passed to the setenv(3) system call.
RETURN VALUE
The explain_setenv_or_die function only returns on success, see setenv(3) for more information. On failure, prints an explanation and
exits, it does not return.
The explain_setenv_on_error function always returns the value return by the wrapped setenv(3) system call.
EXAMPLE
The explain_setenv_or_die function is intended to be used in a fashion similar to the following example:
explain_setenv_or_die(name, value, overwrite);
SEE ALSO
setenv(3)
change or add an environment variable
explain_setenv(3)
explain setenv(3) errors
exit(2) terminate the calling process
COPYRIGHT
libexplain version 0.52
Copyright (C) 2010 Peter Miller
explain_setenv_or_die(3)