RE: Cygwin commands are intermittently hanging on Windows

2022-11-25 Thread Brian Inglis
On Wed, 16 Nov 2022 17:19:22 +, Derek Pagel wrote: We've recreated the hanging issue on Windows 2019 and were able to capture and attach a DMP file of a 'cp' command that was hanging. One other thing that we noticed is that the Cygwin commands each tend to hang about 42 or 43 seconds. So t

RE: Cygwin commands are intermittently hanging on Windows

2022-11-08 Thread Derek Pagel via Cygwin
Windows 10 Professional (64 bit) 22H2 Version 10.0.19045.2130 Cygwin: CYGWIN_NT-10.0-19045 HP-Z230 3.3.6-341.x86_64 2022-09-05 11:15 UTC x86_64 Cygwin And you? I've seen the issue on Windows Server 2012 R2 Version 6.3 (Build 9600) and Windows Server 2019 Version 1809 (OS Build 17763.3532) with

Re: Cygwin commands are intermittently hanging on Windows

2022-11-08 Thread Takashi Yano
On Tue, 8 Nov 2022 17:17:50 + Derek Pagel wrote: > Thanks for running the script and trying it. What OS and Cygwin version were > you using? Windows 10 Professional (64 bit) 22H2 Version 10.0.19045.2130 Cygwin: CYGWIN_NT-10.0-19045 HP-Z230 3.3.6-341.x86_64 2022-09-05 11:15 UTC x86_64 Cygwin

RE: Cygwin commands are intermittently hanging on Windows

2022-11-08 Thread Derek Pagel via Cygwin
I ran your script twice, once in command prompt and once in mintty. Both attempts finished without any problems. Thanks for running the script and trying it. What OS and Cygwin version were you using? -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin

Re: Cygwin commands are intermittently hanging on Windows

2022-11-08 Thread Takashi Yano
On Tue, 8 Nov 2022 16:00:52 + Derek Pagel wrote: > Even using Strawberry Perl, "" in above lines cause error. > > Oh, I see, when I copy-pasted the script into the thread, it added a few code > changes, and I missed cleaning up those ones. The script should be able to > run if you remove " "

RE: Cygwin commands are intermittently hanging on Windows

2022-11-08 Thread Derek Pagel via Cygwin
my $TESTDIR = getcwd() . "\\test"; my $MVCMD = "mv test.txt " . $TESTDIR . "\\test.txt"; my $RMCMD = "rm " . $TESTDIR . "\\test.txt test2.txt"; Even using Strawberry Perl, "" in above lines cause error. Oh, I see, when I copy-pasted the script into the thread, it added a few code changes, and

Re: Cygwin commands are intermittently hanging on Windows

2022-11-08 Thread Takashi Yano
On Tue, 8 Nov 2022 13:25:05 + Derek Pagel wrote: > The script was written using Strawberry Perl with Cygwin in the %PATH% > variable. Then the script makes system calls using that Cygwin. my $TESTDIR = getcwd() . "\\test"; my $MVCMD = "mv test.txt " . $TESTDIR . "\\test.txt"; my $RMCMD = "rm

RE: Cygwin commands are intermittently hanging on Windows

2022-11-08 Thread Derek Pagel via Cygwin
The script was written using Strawberry Perl with Cygwin in the %PATH% variable. Then the script makes system calls using that Cygwin. On Mon, 7 Nov 2022 22:06:46 + Derek Pagel wrote: > I've printed the script below for reference: > > use strict; > use Cw

Re: Cygwin commands are intermittently hanging on Windows

2022-11-07 Thread Takashi Yano
On Mon, 7 Nov 2022 22:06:46 + Derek Pagel wrote: > I've printed the script below for reference: > > use strict; > use Cwd; > > my $TESTDIR = getcwd() . "\\test"; > my $MKDIRCMD = "mkdir test"; > my $TOUCHCMD = 'touch test.txt'; > my $CPCMD = 'cp test.txt te

Re: cygwin commands (cat,grep) not working in my windows 2008 machine

2012-08-17 Thread Christopher Faylor
On Thu, Aug 16, 2012 at 06:40:29PM -0700, cyberdon wrote: >HI, > >I was getting error when tryin to run cat command as well but once i ran it >like this: > >/bin/cat pinger.data > >then it began to work and the data from file "pinger.data" was parsed out >Maybe this'll work for you. That implies

Re: cygwin commands (cat,grep) not working in my windows 2008 machine

2012-08-16 Thread cyberdon
HI, I was getting error when tryin to run cat command as well but once i ran it like this: /bin/cat pinger.data then it began to work and the data from file "pinger.data" was parsed out Maybe this'll work for you. Thanks! Cyberdon -- View this message in context: http://cygwin.1069669.n5.n

RE: Cygwin Commands

2012-05-18 Thread Matt Seitz (matseitz)
> From: m...@kalani.com [mailto:m...@kalani.com] > When I enter: > > admin@mypc ~ > $cd > > admin@mypc ~ > $ The Cygwin/POSIX "cd" command is different from the Windows "cd" command. Cygwin/POSIX "cd" without arguments: change the current directory to the user's "home" directory Windows "cd"

RE: Cygwin Commands

2012-05-17 Thread Buchbinder, Barry (NIH/NIAID) [E]
Max wrote on May 17, 2012 5:37 PM I fully agree with Otto. You need to learn more (and to learn it elsewhere) before you will be ready to pose questions in this forum. But to explain. > admin@mypc ~ > $cd > > admin@mypc ~ > $ The ~ represents your home directory. You started in your home dir

Re: Cygwin Commands

2012-05-17 Thread Otto Meta
> Here's what is going on... Here’s your solution: http://lmgtfy.com/?q=unix+for+beginners > When I enter: > > admin@mypc ~ > $cd > > admin@mypc ~ > $ The first guide on the search mentioned above already has the answer for you. > or > > admin@mypc ~ > $dir > > admin@mypc ~ > $ Pretty much

Re: Cygwin commands in the Windows command line

2009-08-13 Thread Corinna Vinschen
On Aug 13 15:10, Olumide wrote: > Hi - > > I've noticed for sometime that Cygwin commands such as "ps" and "ls" > (now) work in the Windows command line (cmd), and I'm not sure if its > because something extra I installed on/did to my machine. (In fact, the > command "pwd", when run in the cm

Re: Cygwin commands in the Windows command line

2009-08-13 Thread Dave Korn
Olumide wrote: > I've noticed for sometime that Cygwin commands such as "ps" and "ls" > (now) work in the Windows command line (cmd), and I'm not sure if its > because something extra I installed on/did to my machine. (In fact, the > command "pwd", when run in the cmd, shows a Cygwin path like > /

Re: cygwin commands (cat,grep) not working in my windows 2008 machine

2009-04-02 Thread Christopher Faylor
On Thu, Apr 02, 2009 at 05:25:53AM -0700, sudhap85 wrote: >The same test got passed with cygwin 5.2 in windows 2003. There is no cygwin 5.2. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http:/

Re: cygwin commands (cat,grep) not working in my windows 2008 machine

2009-04-02 Thread sudhap85
hi, The same test got passed with cygwin 5.2 in windows 2003. Eric Blake wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > According to sudhap85 on 4/2/2009 5:45 AM: >> Hi, >> what i means the problem here is that function is not working for >> me. >> (i.e) if i run cat

Re: cygwin commands (cat,grep) not working in my windows 2008 machine

2009-04-02 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to sudhap85 on 4/2/2009 5:45 AM: > Hi, > what i means the problem here is that function is not working for me. > (i.e) if i run cat > file1 >>file2. Here file1 content is not copied to > file2. This is not cygwin specific. Nor is it ho

RE: cygwin commands (cat,grep) not working in my windows 2008 machine

2009-04-02 Thread sudhap85
Hi, what i means the problem here is that function is not working for me. (i.e) if i run cat > file1 >>file2. Here file1 content is not copied to file2. Also Am running perl script (PERL version 5.8.0) in windows 2008 platform. Phil Betts-2 wrote: > > sudhap85 wrote: >>I am using wind

RE: cygwin commands (cat,grep) not working in my windows 2008 machine

2009-04-02 Thread Phil Betts
sudhap85 wrote: >I am using windows 2008 machine. I have installed latest cygwin. > Here I am facing problem with the "cat" "grep" commands. In command > line its working fine. but In my scripts it's giving error. So what's the error? Without this as a clue, we can only guess. How are you r

Re: cygwin commands sometime hang on dual-processor (WinNT-SP5)

2003-03-21 Thread Christopher Faylor
On Fri, Mar 21, 2003 at 12:58:33PM +0100, Henrik Wist wrote: >This didn't change even over lunchtime, so I killed it. >For what it's worth, my cygcheck -c -v -s is attached. Can maybe >Christopher comment on the message from July last year? Messages from eight or nine months ago rarely have any b

Re: cygwin commands sometime hang on dual-processor (WinNT-SP5)

2003-03-21 Thread Henrik Wist
Hi, On 20 Mar 2003, at 14:35, Joe Buehler wrote: > > WindowsNT SP5. I'm seeing hangs on random commands (rm, cat, cut > > ...) when running my scripts. I searched Google already and it > > turned up a > > What does Task Manager say about CPU usage when you get a hang? Both CPUs are completely i

Re: cygwin commands sometime hang on dual-processor (WinNT-SP5)

2003-03-20 Thread Joe Buehler
Henrik Wist wrote: WindowsNT SP5. I'm seeing hangs on random commands (rm, cat, cut ...) when running my scripts. I searched Google already and it turned up a What does Task Manager say about CPU usage when you get a hang? Sometimes 'rm -r' will go into an infinite loop if it tries to remove an