Sysinternals Homepage
Forum Home Forum Home > Sysinternals Utilities > PsTools
  New Posts New Posts RSS Feed - PSlist waits for keypress
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

PSlist waits for keypress

 Post Reply Post Reply
Author
Message
VitasLoWang View Drop Down
Newbie
Newbie


Joined: 27 December 2008
Location: Czech Republic
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote VitasLoWang Quote  Post ReplyReply Direct Link To This Post Topic: PSlist waits for keypress
    Posted: 12 January 2018 at 4:01pm
Hello, I wonder why PSlist waits for some input even when it has finished already?
If I run it like this
pslist.exe -s 2
in task manager mode for 2 seconds (so I have the CPU load numbers for processes) it never ends unless a key is pressed. This is useless if I want to call it from another script and have output in a file like this
pslist.exe -s 2 >procs.txt
because it never finishes! Anybody has an idea if anything else can be done except killing a process after some time?
Back to Top
VitasLoWang View Drop Down
Newbie
Newbie


Joined: 27 December 2008
Location: Czech Republic
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote VitasLoWang Quote  Post ReplyReply Direct Link To This Post Posted: 16 January 2018 at 7:29am
nobody...
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.06
Copyright ©2001-2016 Web Wiz Ltd.