Socket TCP, in C++ with QT, compiled in MinGW 32 bits for pc windows XP service pack 1.
Error : not found for CancelIoEx "No se encuentra el punto de
entrada del procedimiento CancelIoEx en la biblioteca de vinculos
dinamicos kernel.32.dll"
The CancelIoEx function wasn't added until Windows Vista:
Requirements
Minimum supported client: Windows Vista [desktop apps | UWP apps]
That is why you cannot find it in Windows XP.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed last year.
Improve this question
I'm having difficulties identifying what causes my website to load extremely slow, I have found something but google archives don't provide the right answer or even explanation.
In my raw-access logs I found multiple records about different robots accessing my website, here's an example:
202.46.53.40 - - [31/Dec/2016:03:30:51 +0100] "GET /en/home/184-2016-hyperlite-motive-wakeboard.html HTTP/1.1" 302 - "-" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.93 Safari/537.36"
202.46.54.27 - - [31/Dec/2016:03:30:52 +0100] "GET /en/home/184-2016-hyperlite-motive-wakeboard.html HTTP/1.1" 301 - "-" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.93 Safari/537.36"
202.46.56.210 - - [31/Dec/2016:03:30:53 +0100] "GET /en/home/184-2016-hyperlite-motive-wakeboard.html HTTP/1.1" 302 - "-" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.93 Safari/537.36"
202.46.56.114 - - [31/Dec/2016:03:30:54 +0100] "GET /en/wakeboards/184-2016-hyperlite-motive-wakeboard.html HTTP/1.1" 200 140041 "-" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.93 Safari/537.36"
180.76.15.154 - - [31/Dec/2016:03:31:26 +0100] "GET /en/26-sup HTTP/1.1" 406 73864 "-" "Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)"
157.55.39.40 - - [31/Dec/2016:03:31:50 +0100] "GET /en/helmets/57-2015-mystic-mk8-helmet-mint.html HTTP/1.1" 302 - "-" "Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)"
157.55.39.40 - - [31/Dec/2016:03:31:55 +0100] "GET /en/helmets/57-2015-mystic-mk8-helmet-mint.html HTTP/1.1" 301 - "-" "Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)"
77.75.77.95 - - [31/Dec/2016:03:34:03 +0100] "GET /robots.txt HTTP/1.1" 404 57839 "-" "Mozilla/5.0 (compatible; SeznamBot/3.2; +http://napoveda.seznam.cz/en/seznambot-intro/)"
77.75.77.95 - - [31/Dec/2016:03:34:05 +0100] "GET /en/31-bags HTTP/1.1" 301 - "-" "Mozilla/5.0 (compatible; SeznamBot/3.2; +http://napoveda.seznam.cz/en/seznambot-intro/)"
163.172.66.143 - - [31/Dec/2016:03:43:36 +0100] "GET /en/13-rokavice HTTP/1.1" 302 - "-" "Mozilla/5.0 (compatible; AhrefsBot/5.2; +http://ahrefs.com/robot/)"
202.46.54.134 - - [31/Dec/2016:04:04:20 +0100] "GET /en/accessories/169-plavutke-pro-ii.html HTTP/1.1" 302 - "-" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.93 Safari/537.36"
202.46.54.102 - - [31/Dec/2016:04:04:21 +0100] "GET /en/accessories/169-plavutke-pro-ii.html HTTP/1.1" 301 - "-" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.93 Safari/537.36"
202.46.48.140 - - [31/Dec/2016:04:04:22 +0100] "GET /en/accessories/169-plavutke-pro-ii.html HTTP/1.1" 200 110602 "-" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.93 Safari/537.36"
180.76.15.10 - - [31/Dec/2016:04:04:55 +0100] "GET /en/56-kiteboarding-gear HTTP/1.1" 406 62988 "-" "Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)"
66.249.76.47 - - [31/Dec/2016:04:25:33 +0100] "GET /380/komplet-oceanrodeo-razor-fst8-advenced-performance-kite.jpg HTTP/1.1" 200 126044 "-" "Googlebot-Image/1.0"
112.210.233.49 - - [31/Dec/2016:04:29:17 +0100] "POST /modules/sendtoafriend/sendtoafriend_ajax.php?rand=1472104141118 HTTP/1.1" 500 - "https://proadrenalin.si/modules/sendtoafriend/sendtoafriend_ajax.php?rand=1472104141118" "Mozilla/4.0 (compatible; MSIE 9.0; Windows NT 6.1)"
66.249.76.78 - - [31/Dec/2016:04:33:09 +0100] "POST /modules/leocustomajax/leoajax.php?rand=1482019200024 HTTP/1.1" 200 14 "https://www.proadrenalin.si/en/20-wakeboards?p=3" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
Is it possible that this visits are causing the problem with slow page load ?
For 31st December i have 1342 requests, 1st Jan. 1222, 2nd Jan - 2374 requests, 4th Jan - 2391... This goes on every day.
Webshop is run by Prestashop, and as far as I've been inspecting the platform is not causing any problems which would result in slow page load. Most of modules are disabled, removed, only needed (enabled) ones are on server, cashing is on, recompile when something changes..
Any tips, links to read, possible solutions...would be very useful because currently I'm living in nightmare..
You can find the IP patterns of the robots hitting your store and then block those IPs using the .htaccess file.
Visit following URL for more details on this:
How to Block an IP address range using the .htaccess file
I have the same problem and currently trying a solution to block that bot via robots.txt like this:
User-agent: SeznamBot
Disallow: /
Taken from official source https://napoveda.seznam.cz/en/full-text-search/crawling-control/
Situation:
Sending a HTML form (method POST) results sporadically in broken GET request on webserver (405). In the browser is displayed "Method now allowed" (405).
The incorrect string in front of the wrong GET method looks like some form variables . For example checkout=Weiter+%3E%3E, which is the value-attribute of the submit button (Weiter >>).
WA Log entries:
"egoryID=vvXAqAFS1FIAAAFA6CQIDsbGGET /is-bin/WFS/XYZ-DE-Site/de_DE/-/EUR/ViewData-Start/1268826926?JumpTarget=ViewRequisitionCheckout-ShowLoginPage HTTP/1.1" 405 92 "https://www.XYZ.de/is-bin/WFS/XYZ-DE-Site/de_DE/-/EUR/ViewData-Start/1268341878?JumpTarget=ViewRequisition-View" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0_2 like Mac OS X) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A501 Safari/9537.53" 1016
"t_State=true&processLogin=WeiterGET /is-bin/WFS/XYZ-DE-Site/de_DE/-/EUR/ViewData-Start/1269223568?JumpTarget=ViewRequisitionCheckout-ManageAddresses HTTP/1.1" 405 92 "https://www.XYZ.de/is-bin/WFS/XYZ-DE-Site/de_DE/-/EUR/ViewData-Start/1268974319?JumpTarget=ViewRequisitionCheckout-ShowLoginPage" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0_2 like Mac OS X) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A501 Safari/9537.53" 1309
"ipTo=true&checkout=Weiter+%3E%3EGET /is-bin/WFS/XYZ-DE-Site/de_DE/-/EUR/ViewData-Start/1270218168?JumpTarget=ViewRequisitionCheckout-ManageAddresses HTTP/1.1" 405 92 "https://www.XYZ.de/is-bin/WFS/XYZ-DE-Site/de_DE/-/EUR/ViewData-Start/1269355351?JumpTarget=ViewRequisitionCheckout-ManageAddresses" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0_2 like Mac OS X) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A501 Safari/9537.53" 1223
"KpsHpPhxqCtk&apply=Weiter+%3E%3EGET /is-bin/WFS/XYZ-DE-Site/de_DE/-/EUR/ViewData-Start/1271422613?JumpTarget=ViewRequisitionCheckoutPayment-Edit HTTP/1.1" 405 92 "https://www.XYZ.de/is-bin/WFS/XYZ-DE-Site/de_DE/-/EUR/ViewData-Start/1270749634?JumpTarget=ViewRequisitionCheckoutPayment-Edit" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0_2 like Mac OS X) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A501 Safari/9537.53" 1132
"egoryID=KzfAqAFSLHUAAAFARCQIDsbGGET /is-bin/WFS/XYZ-DE-Site/de_DE/-/EUR/ViewData-Start/499191000?JumpTarget=ViewRequisitionCheckout-ShowLoginPage HTTP/1.1" 405 92 "https://www.XYZ.de/is-bin/WFS/XYZ-DE-Site/de_DE/-/EUR/ViewData-Start/499170102?JumpTarget=ViewRequisition-View" "Mozilla/5.0 (iPad; CPU OS 7_0_2 like Mac OS X) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A501 Safari/9537.53" 1072
"rue&checkout=Bestellung+absendenGET /is-bin/static/WFS/XYZ-DE-Site/-/de_DE/jscript/snippets/catalog/LeftPanelCatalog.js HTTP/1.1" 405 92 "https://www.XYZ.de/is-bin/WFS/XYZ-DE-Site/de_DE/-/EUR/ViewRequisitionCheckoutFinish-Dispatch" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0_2 like Mac OS X) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A501 Safari/9537.53" 1086
"ponent=&addList=In+den+WarenkorbGET /is-bin/static/WFS/XYZ-DE-Site/-/de_DE/images/ajax_loader_bg_white.png HTTP/1.1" 405 84 "https://www.XYZ.de/is-bin/WFS/XYZ-DE-Site/de_DE/-/EUR/ViewDirectRequisition-List" "Mozilla/5.0 (iPad; CPU OS 7_0_2 like Mac OS X) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A501 Safari/9537.53" 813
"4E45&QuantityString=1&Position=1GET /is-bin/static/WFS/XYZ-DE-Site/-/de_DE/images/ajax_loader.gif HTTP/1.1" 405 84 "https://www.XYZ.de/is-bin/WFS/XYZ-DE-Site/de_DE/-/EUR/ViewDirectRequisition-List" "Mozilla/5.0 (iPad; CPU OS 6_1_3 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10B329 Safari/8536.25" 740
[...]
WA Log analysis:
User Agent
mostly mobile Safari (Version 6.0, 5.1.1)
-- iPad und iPhone (Apple iOS; Version 7.0.x, 6.x)
sometimes desktop Safari (Version 5.1.1)
-- Macintosh (Mac OS X; Version 10.6.8)
different pages
apparently only HTTPS (SSL)
Question
What causes this behavior?
When I kick off a Jenkins job that runs a GWTTestCase through Maven, the job fails randomly with the same exception. I can't reproduce this behavior in Eclipse. Below is the exception.
<testcase time="300.144" classname="client.gdo.model.impl.GwtTestLevelOfDetailDefinition" name="testGetAttributesAfterJsonParse">
<error message="The browser did not complete the test method WebFrameworkClientTest.JUnit:client.gdo.model.impl.GwtTestLevelOfDetailDefinition.testGetAttributesAfterJsonParse in 300000ms.
We have no results from:
161.134.22.175 / Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.19) Gecko/2010031422 Firefox/3.0.19
Actual time elapsed: 300.144 seconds.
Try increasing this timeout using the '-testMethodTimeout minutes' option
" type="com.google.gwt.junit.client.TimeoutException">com.google.gwt.junit.client.TimeoutException: The browser did not complete the test method WebFrameworkClientTest.JUnit:client.gdo.model.impl.GwtTestLevelOfDetailDefinition.testGetAttributesAfterJsonParse in 300000ms.
We have no results from:
161.134.22.175 / Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.19) Gecko/2010031422 Firefox/3.0.19
Actual time elapsed: 300.144 seconds.
Try increasing this timeout using the '-testMethodTimeout minutes' option
at com.google.gwt.junit.JUnitShell.notDone(JUnitShell.java:1031)
at com.google.gwt.junit.JUnitShell.runTestImpl(JUnitShell.java:1381)
at com.google.gwt.junit.JUnitShell.runTestImpl(JUnitShell.java:1309)
at com.google.gwt.junit.JUnitShell.runTest(JUnitShell.java:653)
at com.google.gwt.junit.client.GWTTestCase.runTest(GWTTestCase.java:441)
I believe this is because depending of your architecture, GWTTestCase can be very long to execute.
Try augmenting the timeout as indicated in the error log.
OS: windows XP
In a cmd shell, piping the output from tasklist /v does some weird things. I am trying to pipe to grep so I can filter the output, and the results are intermittent and inconsistent. A simpler way to see that the problem resides with tasklist /v is to simply execute the command tasklist /v | more - there must be a bunch of weird (cursor-up??) characters that tasklist /v is spewing out. Anyone have any insight?
Here is the straight output from tasklist /v:
C:\Users\mcintd2\FPF\CVSROOT_working\bin
>tasklist /v
Image Name PID Session Name Session# Mem Usage Status User Name CPU Time Window Title
========================= ====== ================ ======== ============ =============== ================================================== ============ ========================================================================
System Idle Process 0 Console 0 28 K Running NT AUTHORITY\SYSTEM 258:04:49 N/A
System 4 Console 0 72 K Running NT AUTHORITY\SYSTEM 1:24:24 N/A
smss.exe 1448 Console 0 60 K Running NT AUTHORITY\SYSTEM 0:00:04 N/A
csrss.exe 1520 Console 0 3,144 K Running NT AUTHORITY\SYSTEM 0:07:35 N/A
winlogon.exe 1568 Console 0 9,440 K Running NT AUTHORITY\SYSTEM 0:03:03 N/A
services.exe 1612 Console 0 3,936 K Running NT AUTHORITY\SYSTEM 0:26:43 N/A
lsass.exe 1624 Console 0 3,628 K Running NT AUTHORITY\SYSTEM 0:07:55 N/A
ibmpmsvc.exe 1788 Console 0 724 K Running NT AUTHORITY\SYSTEM 0:00:00 N/A
nvsvc32.exe 1820 Console 0 4,408 K Running NT AUTHORITY\SYSTEM 0:02:37 NVSVCPMMWindowClass
svchost.exe 1924 Console 0 2,872 K Running NT AUTHORITY\SYSTEM 0:03:50 N/A
svchost.exe 1976 Console 0 2,520 K Running NT AUTHORITY\NETWORK SERVICE 0:01:28 N/A
svchost.exe 404 Console 0 35,864 K Running NT AUTHORITY\SYSTEM 0:31:27 N/A
Smc.exe 488 Console 0 7,612 K Running NT AUTHORITY\SYSTEM 0:32:32 SS
S24EvMon.exe 752 Console 0 5,688 K Running NT AUTHORITY\SYSTEM 0:00:02 IWMSWindow
svchost.exe 1064 Console 0 1,988 K Running NT AUTHORITY\NETWORK SERVICE 0:00:27 N/A
svchost.exe 1180 Console 0 1,732 K Running NT AUTHORITY\LOCAL SERVICE 0:03:04 N/A
ccSvcHst.exe 1300 Console 0 3,028 K Running NT AUTHORITY\SYSTEM 0:05:07 N/A
spoolsv.exe 324 Console 0 4,676 K Running NT AUTHORITY\SYSTEM 0:01:37 N/A
LVPrcSrv.exe 384 Console 0 1,240 K Running NT AUTHORITY\SYSTEM 0:00:20 N/A
svchost.exe 680 Console 0 1,908 K Running NT AUTHORITY\LOCAL SERVICE 0:00:01 N/A
tphkload.exe 1124 Console 0 320 K Running NT AUTHORITY\SYSTEM 0:00:00 N/A
TPHKSVC.exe 1368 Console 0 384 K Running NT AUTHORITY\SYSTEM 0:00:00 N/A
trcboot.exe 200 Console 0 256 K Running NT AUTHORITY\SYSTEM 0:00:00 N/A
PCS_AGNT.EXE 260 Console 0 460 K Running NT AUTHORITY\SYSTEM 0:00:01 PCS_AGNT
svchost.exe 1112 Console 0 412 K Running NT AUTHORITY\LOCAL SERVICE 0:00:00 N/A
CcmExec.exe 1168 Console 0 13,272 K Running NT AUTHORITY\SYSTEM 0:19:28 N/A
cvsservice.exe 1888 Console 0 508 K Running NT AUTHORITY\SYSTEM 0:00:00 N/A
cvslock.exe 2056 Console 0 464 K Running NT AUTHORITY\SYSTEM 0:00:00 N/A
DOZESVC.EXE 2264 Console 0 260 K Running NT AUTHORITY\SYSTEM 0:00:00 N/A
tpnumlk.exe 2400 Console 0 692 K Running NT AUTHORITY\SYSTEM 0:00:00 N/A
EvtEng.exe 2408 Console 0 4,080 K Running NT AUTHORITY\SYSTEM 0:00:01 N/A
PresentationFontCache.exe 2720 Console 0 1,004 K Running NT AUTHORITY\LOCAL SERVICE 0:00:00 N/A
unsecapp.exe 2828 Console 0 1,116 K Running NT AUTHORITY\SYSTEM 0:00:00 N/A
wmiprvse.exe 2888 Console 0 4,796 K Running NT AUTHORITY\SYSTEM 0:00:06 N/A
miragent.exe 3012 Console 0 3,624 K Running NT AUTHORITY\SYSTEM 0:00:57 N/A
jqs.exe 3468 Console 0 1,412 K Running NT AUTHORITY\SYSTEM 0:13:49 N/A
LMAgent.exe 3492 Console 0 5,280 K Running NT AUTHORITY\SYSTEM 0:00:41 N/A
CamMute.exe 3624 Console 0 204 K Running NT AUTHORITY\SYSTEM 0:00:00 N/A
micmute.exe 3640 Console 0 312 K Running NT AUTHORITY\SYSTEM 0:00:00 N/A
LMS.exe 3660 Console 0 848 K Running NT AUTHORITY\SYSTEM 0:01:23 N/A
mdm.exe 3692 Console 0 1,912 K Running NT AUTHORITY\SYSTEM 0:00:27 N/A
sqlservr.exe 3708 Console 0 6,836 K Running NT AUTHORITY\NETWORK SERVICE 1:34:58 N/A
NACAgent.exe 3780 Console 0 1,268 K Running NT AUTHORITY\SYSTEM 0:00:00 N/A
nvPDsvc.exe 3892 Console 0 500 K Running NT AUTHORITY\SYSTEM 0:00:19 N/A
PWMDBSVC.exe 3940 Console 0 1,464 K Running NT AUTHORITY\SYSTEM 0:00:00 N/A
RegSrvc.exe 640 Console 0 628 K Running NT AUTHORITY\SYSTEM 0:00:00 N/A
SgeCtl.exe 1220 Console 0 792 K Running NT AUTHORITY\SYSTEM 0:00:00 OleMainThreadWndName
sqlbrowser.exe 1912 Console 0 248 K Running NT AUTHORITY\NETWORK SERVICE 0:00:00 N/A
sqlwriter.exe 2072 Console 0 856 K Running NT AUTHORITY\SYSTEM 0:00:00 N/A
svchost.exe 2088 Console 0 2,116 K Running NT AUTHORITY\SYSTEM 0:00:07 N/A
SUService.exe 2100 Console 0 4,068 K Running NT AUTHORITY\SYSTEM 0:00:00 N/A
Rtvscan.exe 2168 Console 0 5,084 K Running NT AUTHORITY\SYSTEM 0:04:32 N/A
tvt_reg_monitor_svc.exe 2248 Console 0 1,032 K Running NT AUTHORITY\SYSTEM 0:00:17 OleMainThreadWndName
tvtsched.exe 2296 Console 0 2,376 K Running NT AUTHORITY\SYSTEM 0:00:00 OleMainThreadWndName
wdfmgr.exe 2212 Console 0 256 K Running NT AUTHORITY\LOCAL SERVICE 0:00:00 N/A
UNS.exe 2356 Console 0 14,756 K Running NT AUTHORITY\SYSTEM 0:04:37 N/A
WksCfgSrv.exe 2684 Console 0 1,508 K Running NT AUTHORITY\SYSTEM 0:01:04 SafeGuard Easy WksCfgSrv Class
Wuser32.exe 2812 Console 0 536 K Running NT AUTHORITY\SYSTEM 0:00:23 N/A
ldlcserv.exe 3980 Console 0 268 K Running NT AUTHORITY\SYSTEM 0:00:00 N/A
wmiprvse.exe 3148 Console 0 2,272 K Running NT AUTHORITY\SYSTEM 0:00:05 N/A
TPOSDSVC.exe 3420 Console 0 412 K Running MYFIRMMASKED\mywinid 0:00:14 tphkmgr
tpnumlkd.exe 3440 Console 0 2,008 K Running MYFIRMMASKED\mywinid 0:00:03 ThinkPad NumLock/CapsLock Indicator
TPONSCR.exe 3776 Console 0 688 K Running MYFIRMMASKED\mywinid 0:00:02 tpvolbar
TpScrex.exe 2860 Console 0 3,992 K Running MYFIRMMASKED\mywinid 0:00:01 TpUZoom
wmiprvse.exe 980 Console 0 8,456 K Running NT AUTHORITY\NETWORK SERVICE 0:01:58 N/A
explorer.exe 4112 Console 0 24,272 K Running MYFIRMMASKED\mywinid 0:21:22 N/A
SmcGui.exe 4388 Console 0 7,144 K Running MYFIRMMASKED\mywinid 0:17:52 Network Activity
wmiprvse.exe 4488 Console 0 3,436 K Running NT AUTHORITY\SYSTEM 0:00:03 N/A
rundll32.exe 1480 Console 0 364 K Running MYFIRMMASKED\mywinid 0:00:00 BluetoothNotificationAreaIconWindowClass
tpam.exe 4284 Console 0 340 K Running MYFIRMMASKED\mywinid 0:00:00 dummy
SynTPEnh.exe 4756 Console 0 4,000 K Running MYFIRMMASKED\mywinid 0:21:51 Syn Visual Window
ecview.exe 4804 Console 0 2,636 K Running MYFIRMMASKED\mywinid 0:00:39 SafeGuardr Easy
scheduler_proxy.exe 5264 Console 0 580 K Running MYFIRMMASKED\mywinid 0:00:00 N/A
rundll32.exe 5292 Console 0 11,084 K Running MYFIRMMASKED\mywinid 0:02:33 ATM main window
tpfnf7sp.exe 5928 Console 0 1,748 K Running MYFIRMMASKED\mywinid 0:00:02 tpfnf7
SynTPLpr.exe 2600 Console 0 320 K Running MYFIRMMASKED\mywinid 0:00:00 Touchpad driver helper window
TpShocks.exe 4464 Console 0 424 K Running MYFIRMMASKED\mywinid 0:00:00 N/A
rundll32.exe 4692 Console 0 5,760 K Running MYFIRMMASKED\mywinid 0:00:03 MediaCenter
GravitixService.exe 3620 Console 0 6,552 K Running NT AUTHORITY\SYSTEM 0:00:06 N/A
pddm.exe 3212 Console 0 360 K Running MYFIRMMASKED\mywinid 0:00:01 Desktop Deployment Manager
ccApp.exe 3460 Console 0 536 K Running MYFIRMMASKED\mywinid 0:00:09 CCALERT
ctfmon.exe 5252 Console 0 2,780 K Running MYFIRMMASKED\mywinid 0:01:05 N/A
SCHTASK.EXE 5144 Console 0 2,888 K Running MYFIRMMASKED\mywinid 0:00:21 ScheduledTask
cmd.exe 5364 Console 0 1,276 K Running MYFIRMMASKED\mywinid 0:00:00 cmd
thunderbird.exe 15540 Console 0 1,576 K Running MYFIRMMASKED\mywinid 0:00:19 MCI command handling window
notepad++.exe 5160 Console 0 11,960 K Running MYFIRMMASKED\mywinid 0:02:03 C:\Users\mcintd2\FPF\tasklistOut.txt - Notepad++
OUTLOOK.EXE 19324 Console 0 52,680 K Running MYFIRMMASKED\mywinid 0:25:49 Inbox - Microsoft Outlook
devenv.exe 28940 Console 0 154,576 K Running MYFIRMMASKED\mywinid 2:59:07 FPF - Microsoft Visual Studio
wfcrun32.exe 34880 Console 0 2,612 K Running MYFIRMMASKED\mywinid 0:00:02 Remote Application Runtime
mstsc.exe 40500 Console 0 29,568 K Running MYFIRMMASKED\mywinid 0:01:26 N/A
wincvs.exe 40780 Console 0 18,228 K Running MYFIRMMASKED\mywinid 0:27:55 wincvs - [C:\Users\mcintd2\FPF\CVSROOT_working\bin\]
firefox.exe 39996 Console 0 513,708 K Running MYFIRMMASKED\mywinid 0:41:35 windows xp - tasklist output used in pipe is broken - Stack Overflow - M
WinMergeU.exe 37836 Console 0 9,052 K Running MYFIRMMASKED\mywinid 0:00:03 WinMerge
cmd.exe 40036 Console 0 2,868 K Running MYFIRMMASKED\mywinid 0:00:00 dummyWindowTitle
cmd.exe 40600 Console 0 3,296 K Running MYFIRMMASKED\mywinid 0:00:00 cmd - tasklist /v
mspdbsrv.exe 42136 Console 0 3,032 K Running MYFIRMMASKED\mywinid 0:00:00 N/A
cmd.exe 43364 Console 0 108 K Running MYFIRMMASKED\mywinid 0:00:00 TD
nsload.exe 43260 Console 0 13,672 K Running MYFIRMMASKED\mywinid 0:00:36 N/A
conset.exe 43592 Console 0 288 K Running MYFIRMMASKED\mywinid 0:00:00 N/A
nsverctl.exe 44756 Console 0 5,748 K Running NT AUTHORITY\SYSTEM 0:00:00 N/A
tasklist.exe 43156 Console 0 5,740 K Running MYFIRMMASKED\mywinid 0:00:00 OleMainThreadWndName
Here is the output from tasklist /v | more :
C:\Users\mcintd2\FPF\CVSROOT_working\bin
>tasklist /v | more
Image Name PID Session Name Session# Mem Usage Status User Name CPU Time Window Title
winlogon.exe 1568 Console 0 9,440 K Running NT AUTHORITY\SYSTEM 0:03:03 N/A
services.exe 1612 Console 0 3,996 K Running NT AUTHORITY\SYSTEM 0:26:36 N/A
svchost.exe 1976 Console 0 2,520 K Running NT AUTHORITY\NETWORK SERVICE 0:01:28 N/A
svchost.exe 1180 Console 0 1,732 K Running NT AUTHORITY\LOCAL SERVICE 0:03:04 N/A
tphkload.exe 1124 Console 0 320 K Running NT AUTHORITY\SYSTEM 0:00:00 N/A
CcmExec.exe 1168 Console 0 13,180 K Running NT AUTHORITY\SYSTEM 0:19:28 N/A
EvtEng.exe 2408 Console 0 4,080 K Running NT AUTHORITY\SYSTEM 0:00:01 N/A
jqs.exe 3468 Console 0 1,440 K Running NT AUTHORITY\SYSTEM 0:13:45 N/A :00:00 N/A
mdm.exe 3692 Console 0 1,912 K Running NT AUTHORITY\SYSTEM 0:00:27 N/A
RegSrvc.exe 640 Console 0 628 K Running NT AUTHORITY\SYSTEM 0:00:00 N/A
SUService.exe 2100 Console 0 4,068 K Running NT AUTHORITY\SYSTEM 0:00:00 N/A
UNS.exe 2356 Console 0 14,680 K Running NT AUTHORITY\SYSTEM 0:04:35 N/A
TPOSDSVC.exe 3420 Console 0 412 K Running MYFIRMMASKED\mywinid 0:00:14 tphkmgr
notepad++.exe 5160 Console 0 11,960 K Running MYFIRMMASKED\mywinid 0:02:03 C:\Users\mcintd2\FPF\tasklistOut.txt - Notepad++
wincvs.exe 40780 Console 0 18,228 K Running MYFIRMMASKED\mywinid 0:27:25 wincvs - [C:\Users\mcintd2\FPF\CVSROOT_working\bin\]
mspdbsrv.exe 42136 Console 0 3,032 K Running MYFIRMMASKED\mywinid 0:00:00 N/A
tasklist.exe 41524 Console 0 5,748 K Running MYFIRMMASKED\mywinid 0:00:00 OleMainThreadWndName
more.com 44544 Console 0 1,604 K Running MYFIRMMASKED\mywinid 0:00:00 N/A
nsverctl.exe 44756 Console 0 5,748 K Running NT AUTHORITY\SYSTEM 0:00:00 N/A
tpfnf7sp.exe 5928 Console 0 1,748 K Running MYFIRMMASKED\mywinid 0:00:02 tpfnf7
C:\Users\mcintd2\FPF\CVSROOT_working\bin 0 320 K Running MYFIRMMASKED\mywinid 0:00:00 Touchpad driver helper window
>pShocks.exe 4464 Console 0 424 K Running MYFIRMMASKED\mywinid 0:00:00 N/A
rundll32.exe 4692 Console 0 5,760 K Running MYFIRMMASKED\mywinid 0:00:03 MediaCenter
gravitixService.exe 3620 Console 0 6,552 K Running NT AUTHORITY\SYSTEM 0:00:06 N/A
pddm.exe 3212 Console 0 360 K Running MYFIRMMASKED\mywinid 0:00:01 Desktop Deployment Manager
ccApp.exe 3460 Console 0 432 K Running MYFIRMMASKED\mywinid 0:00:09 CCALERT
ctfmon.exe 5252 Console 0 2,780 K Running MYFIRMMASKED\mywinid 0:01:03 N/A
SCHTASK.EXE 5144 Console 0 2,888 K Running MYFIRMMASKED\mywinid 0:00:21 ScheduledTask
cmd.exe 5364 Console 0 1,276 K Running MYFIRMMASKED\mywinid 0:00:00 cmd
thunderbird.exe 15540 Console 0 1,576 K Running MYFIRMMASKED\mywinid 0:00:19 MCI command handling window
Notice half the output is missing, and the command prompt winds up in the middle of the list. Invoking tasklist /v | more results in different, bizzare behaviour each time.
Here's a screenshot from the first pause by more:
Note how much data is missing and the odd position of the cursor. Here is a sreeenshot after hitting space in the above cmd shell window:
You can't see the cursor this time (I didn't hit the prtsc at the right time), but its on the line immediately above the --- more -- line.
Uh it turns out that tasklist spits garbage to stderr, which in turns causes issues in (display of) later pipe stages.
To see that, change console font to Lucida (in properties), codepage to 437 (chcp 437) and re-run tasklist
To get rid of use tasklist 2>nul | more (or grep, obviously)
(As far as I'm able to tell if affects only display, so tasklist |grep whatever >result.txt should also give consistent/proper results.
Tested under same version as yours (5.1.2600 SP3).
Annoying... looks like a bug to me.
Piping through more give me no less lines, more actually
C:\Steven\Desktop\etc>tasklist -v | C:\cygwin\bin\wc
39 448 8780
C:\Steven\Desktop\etc>tasklist -v | more | C:\cygwin\bin\wc
41 458 9013