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)
Hello,
I got this question which tells me to customize my login script. Some people in the forums suggested to modify the .profile file in my home directory. I did so, but none of my customizations show up when I open the terminal after.
So, I tried to modify other files in my home directory,... (1 Reply)
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)
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)
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)
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)
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)
Hi
I noticed that my bash profile has duplicate entries.
For example there are two entries for the variable
$APP_HOME = /app/soft/install
$APP_HOME =/app/software/install
Will this have any impact ? Please advise (2 Replies)
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 DEBIAN
dbix::profile
Profile(3) User Contributed Perl Documentation Profile(3)NAME
DBIx::Profile - DBI query profiler
Version 1.0
Copyright (c) 1999,2000 Jeff Lathan, Kerry Clendinning.
All rights reserved.
This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
SYNOPSIS
use DBIx::Profile; or "perl -MDBIx::Profile <program>"
use DBI;
$dbh->printProfile();
DESCRIPTION
DBIx::Profile is a quick and easy, and mostly transparent, profiler
for scripts using DBI. It collects information on the query
level, and keeps track of first, failed, normal, and total amounts
(count, wall clock, CPU time) for each function on the query.
NOTE: DBIx::Profile use Time::HiRes to clock the wall time and
the old standby times() to clock the CPU time. The CPU time is
pretty coarse.
DBIx::Profile can also trace the execution of queries. It will print
a timestamp and the query that was called. This is optional, and
occurs only when the environment variable DBIXPROFILETRACE is set
to 1. (ex: (bash) export DBIXPROFILETRACE=1).
Not all DBI methods are profiled at this time.
Except for replacing the existing "use" and "connect" statements,
DBIx::Profile allows DBI functions to be called as usual on handles.
Prints information to STDERR, prefaced with the pid.
RECIPE
1) Add "use DBIx::Profile" or execute "perl -MDBIx::Profile <program>"
2) Optional: add $dbh->printProfile (will execute during
disconnect otherwise)
3) Run code
4) Data output will happen at printProfile or $dbh->disconnect;
METHODS
printProfile
$dbh->printProfile();
Will print out the data collected.
If this is not called before disconnect, disconnect will call
printProfile.
setLogFile
$dbh->setLogFile("ProfileOutput.txt");
Will save all output to the file.
AUTHORS
Jeff Lathan, lathan@pobox.com
Kerry Clendinning, kerry@deja.com
Aaron Lee, aaron@pointx.org
Michael G Schwern, schwern@pobox.com
SEE ALSO
L<perl(1)>, L<DBI>
perl v5.8.0 2001-12-17 Profile(3)