Mail Archives: cygwin/2008/04/15/15:46:32
Hello,
I performed a fresh install of cygwin on windows XP. I am seeing
that some commands take a really long time to execute, I was wondering
if anyone else is experience this. For example, the 'which' command
takes 2s while the 'pwd' command runs just fine. Please see my sample
output below and if you have encountered this before, let me know
what's up!
$ time which
Usage: which [options] [--] COMMAND [...]
Write the full path of COMMAND(s) to standard output.
--version, -[vV] Print version and exit successfully.
--help, Print this help and exit successfully.
--skip-dot Skip directories in PATH that start with a dot.
--skip-tilde Skip directories in PATH that start with a tilde.
--show-dot Don't expand a dot to current directory in output.
--show-tilde Output a tilde for HOME directory for non-root.
--tty-only Stop processing options on the right if not on tty.
--all, -a Print all matches in PATH, not just the first
--read-alias, -i Read list of aliases from stdin.
--skip-alias Ignore option --read-alias; don't read stdin.
--read-functions Read shell functions from stdin.
--skip-functions Ignore option --read-functions; don't read stdin.
Recommended use is to write the output of (alias; declare -f) to standard
input, so that which can show aliases and shell functions. See which(1) for
examples.
If the options --read-alias and/or --read-functions are specified then the
output can be a full alias or function definition, optionally followed by
the full path of each command used inside of those.
Report bugs to <which-bugs AT gnu DOT org>.
real 0m2.082s
user 0m0.030s
sys 0m0.000s
Greg AT laptop1 ~
$ time pwd
/home/Greg
real 0m0.001s
user 0m0.000s
sys 0m0.000s
My environment:
$ set
!::='::\'
!C:='C:\cygwin\bin'
ALLUSERSPROFILE='C:\Documents and Settings\All Users'
APPDATA='C:\Documents and Settings\Greg\Application Data'
ASLOGDIR='C:\Program Files\Intuit\QuickBooks 2006\'
BASH=/usr/bin/bash
BASH_ARGC=()
BASH_ARGV=()
BASH_LINENO=()
BASH_SOURCE=()
BASH_VERSINFO=([0]="3" [1]="2" [2]="33" [3]="18" [4]="release"
[5]="i686-pc-cygwin")
BASH_VERSION='3.2.33(18)-release'
CLASSPATH='.;C:\Program Files\Java\jre1.6.0_03\lib\ext\QTJava.zip'
COMMONPROGRAMFILES='C:\Program Files\Common Files'
COMPUTERNAME=LAPTOP1
COMSPEC='C:\WINDOWS\system32\cmd.exe'
CVS_RSH=/bin/ssh
DIRSTACK=()
EUID=1005
FP_NO_HOST_CHECK=NO
GROUPS=()
HISTFILE=/home/Greg/.bash_history
HISTFILESIZE=500
HISTSIZE=500
HOME=/home/Greg
HOMEDRIVE=C:
HOMEPATH='\Documents and Settings\Greg'
HOSTNAME=laptop1
HOSTTYPE=i686
IFS=$' \t\n'
INFOPATH=/usr/local/info:/usr/share/info:/usr/info:
LOGONSERVER='\\LAPTOP1'
MACHTYPE=i686-pc-cygwin
MAILCHECK=60
MAKE_MODE=unix
MANPATH=/usr/local/man:/usr/share/man:/usr/man::/usr/ssl/man:/usr/share/qt3/doc/man:/usr/X11R6/man
NUMBER_OF_PROCESSORS=2
OLDPWD=/usr/bin
OPTERR=1
OPTIND=1
OS=Windows_NT
OSTYPE=cygwin
PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin
PATHEXT='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PIPESTATUS=([0]="0")
PKG_CONFIG_PATH=/usr/X11R6/lib/pkgconfig
PPID=1
PRINTER='HP Color LaserJet 2605dn_2605dtn PS'
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER='x86 Family 6 Model 15 Stepping 6, GenuineIntel'
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=0f06
PROGRAMFILES='C:\Program Files'
PROMPT='$P$G'
PS1='\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ '
PS2='> '
PS4='+ '
PWD=/home/Greg
QMAKESPEC=/usr/lib/qt3/mkspecs/cygwin-g++
QTDIR=/usr/lib/qt3
QTJAVA='C:\Program Files\Java\jre1.6.0_03\lib\ext\QTJava.zip'
RR='C:\Program Files\Lenovo\Rescue and Recovery'
SESSIONNAME=Console
SHELL=/bin/bash
SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments:monitor
SHLVL=1
SONICCENTRAL='C:\Program Files\Common Files\Sonic Shared\Sonic Central\'
SWSHARE='C:\SWSHARE'
SYSTEMDRIVE=C:
SYSTEMROOT='C:\WINDOWS'
TEMP=/cygdrive/c/DOCUME~1/Greg/LOCALS~1/Temp
TERM=cygwin
TEXDOCVIEW_dvi='cygstart %s'
TEXDOCVIEW_html='cygstart %s'
TEXDOCVIEW_pdf='cygstart %s'
TEXDOCVIEW_ps='cygstart %s'
TEXDOCVIEW_txt='cygstart %s'
TMP=/cygdrive/c/DOCUME~1/Greg/LOCALS~1/Temp
TVT='C:\Program Files\Lenovo'
TVTCOMMON='C:\Program Files\Common Files\Lenovo'
TVTPYDIR='C:\Program Files\Common Files\Lenovo\Python24'
UID=1005
USER=Greg
USERDOMAIN=LAPTOP1
USERNAME=Greg
USERPROFILE='C:\Documents and Settings\Greg'
WINDIR='C:\WINDOWS'
_=pwd
f=
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -