12-02-2011
It won't have any impact however it's not probably correct.
It will read both lines but only the last one will be set at the end.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi , i added ls -F to .profile. and i need to do ./.profile for the effect to take effect BUT i didnt and YET the next day when i came to work and log in, the changes took effect. i am on aix.
please explain..
thanks (4 Replies)
Discussion started by: yls177
4 Replies
2. SCO
what is the difference between these two lines, if we use it in korn shell script:
.profile
.~/.profile (3 Replies)
Discussion started by: maneesh mehta
3 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I have a SunOS -s 5.9 Generic_118558-39 sun4u sparc SUNW,Sun-Fire-V210 system.
I need to set up my .bash_profile. I need to do the following thins.
1) set up history
2) Set up VI as my editor
3) Display the current directory at the prompt.
I have tried using the set command, the... (1 Reply)
Discussion started by: kaushys
1 Replies
4. Infrastructure Monitoring
Hello
I really wonder what's trap in etc/profile and in each user .profile.
I try to google for it but I think I have no luck. Mostly hit is SNMP traps which I think it is not the same thing.
I want to know ...
1. What's a "trap 2 3" means and are there any other value I can set... (4 Replies)
Discussion started by: Smith
4 Replies
5. Solaris
Hi all,
I don't want to enter below command on solaris every time.
How do i permanently set this command on Solaris.
I know that this operation is a piece of cake on redhat because there is a /etc/rc.local file on it.
But Solaris ????
bash-3.00#export PS1="\e (2 Replies)
Discussion started by: getrue
2 Replies
6. Solaris
I am using Solaris ...
I have some settings in my .profile and in .profile iam calling some scripts.
After i logged in to that box if i gave "bash" and proceed with my shorcuts(alias) are not working . (3 Replies)
Discussion started by: girija
3 Replies
7. Red Hat
Hello,
I'm new to RHEL and I was wondering where the prompt setup is from?
This what it looks like:
#
I like this setup but I would like to add some color to it. I looked in the .profile, .bash_profile and .bashrc. I don't see anything in these files that give me the above prompt. So I looked... (2 Replies)
Discussion started by: bitlord
2 Replies
8. Shell Programming and Scripting
Hi
I don't have chsh option.
I want to launch bash instead of ksh ( or launch bash from ksh .profile)
how can I do this ? (1 Reply)
Discussion started by: Sivaswami
1 Replies
9. Solaris
Hi Experts,
Profile file was not found for one of the users on solaris box.
Default shell is bash for the user.
<prod>>:/home/produser::echo $SHELL
/usr/bin/bash
<prod>>:/home/produser::ls -lta |grep bash
-rw------- 1 produser prod 4157 Oct 19 17:32 .bash_history... (1 Reply)
Discussion started by: sai_2507
1 Replies
10. UNIX for Dummies Questions & Answers
Hi,
Below is what i have in my profile:
alias wldm='cd /opt/app/wls'
If i use bash or ksh shell this alias does not work.
What should be done for this alias to work with all these simultaneously -> No Shell, bash shell, and ksh shell (14 Replies)
Discussion started by: mohtashims
14 Replies
LEARN ABOUT OPENSOLARIS
ddi_fm_service_impact
ddi_fm_service_impact(9F) Kernel Functions for Drivers ddi_fm_service_impact(9F)
NAME
ddi_fm_service_impact - report the impact of an error
SYNOPSIS
#include <sys/ddifm.h>
void ddi_fm_service_impact(dev_info_t *dip, int *impact);
INTERFACE LEVEL
Solaris DDI specific (Solaris DDI)
PARAMETERS
dip Pointer to the dev_info structure
impact Impact of error
DESCRIPTION
The following service impact values are accepted by ddi_fm_service_impact():
DDI_SERVICE_LOST The service provided by the device is unavailable due to an error. The operational state of the device will tran-
sition to DEVI_DEVICE_DOWN.
DDI_SERVICE_DEGRADED The driver is unable to provide normal service, but it can provide a partial or degraded level of service. The
driver might have to make repeated attempts to perform an operation before it succeeds, or it may be running at
less than its configured speed. A driver may use this value to indicate that an alternative device should be used
if available, but that it can continue operation if no alternative exists. The operational state of the device
will transition to DEVI_DEVICE_DEGRADED.
DDI_SERVICE_RESTORED The service provided by the device has been restored. The operational state of the device will transition to its
pre-error condition state and DEVI_DEVICE_DOWN or DEVI_DEVICE_DEGRADED is removed.
DDI_SERVICE_UNAFFECTED The service provided by the device was unaffected by the error.
CONTEXT
The ddi_fm_service_impact() function can be called from user, kernel, or high-level interrupt context.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Committed |
+-----------------------------+-----------------------------+
SEE ALSO
fmd(1M), attributes(5), ddi_fm_ereport_post(9F), pci_ereport_post(9F)
SunOS 5.11 14 May 2007 ddi_fm_service_impact(9F)