Search found 941 matches
- 29 Jun 2012 16:04
- Forum: DOS Batch Forum
- Topic: how to change priority of pipe commands?
- Replies: 13
- Views: 11992
Re: how to change priority of pipe commands?
Thanks Jeb, I have a problem with priority abovenormal, high and realtime. When i start with belovenormal and low this works. But when i start with higher priority some child processes have "normal" priority example Start.cmd: @echo off echo [ZERO] [%time%] > CON start "" /b /HIG...
- 29 Jun 2012 14:18
- Forum: DOS Batch Forum
- Topic: how to change priority of pipe commands?
- Replies: 13
- Views: 11992
how to change priority of pipe commands?
Hi,
I would like to know if there is a possibility of giving a priority to all processes involved in a pipe
Example:
I wish that all the children processes involved were assigned the same priority
How can I do?
I would like to know if there is a possibility of giving a priority to all processes involved in a pipe
Example:
Code: Select all
batch1.cmd | batch2.cmd
I wish that all the children processes involved were assigned the same priority
How can I do?
- 28 Jun 2012 10:50
- Forum: DOS Batch Forum
- Topic: I want to make StartProcess
- Replies: 2
- Views: 5081
I want to make StartProcess
hi, I need to realize a function for start a process with more controll than "start" I found that is possible via vbscript with WMI control. I want realize with your help a generic procedure , an wrapper?, for start a process. the process be started with a priority and a parameter to hide ...
- 28 Jun 2012 10:05
- Forum: DOS Batch Forum
- Topic: pass data through processes with less latency
- Replies: 2
- Views: 3567
Re: pass data through processes with less latency
I'm asking the experts.
It seems to me that the method of redirection is not the solution. That the only method is through the use of pipes.
You agree with my thesis? Or you have a workaround?
It seems to me that the method of redirection is not the solution. That the only method is through the use of pipes.
You agree with my thesis? Or you have a workaround?
- 22 Jun 2012 00:30
- Forum: DOS Batch Forum
- Topic: Why this code don't work?
- Replies: 8
- Views: 7059
Re: Why this code don't work?
It doesn't work here fawers, either. Dunno why - something to do with the realtime session. @OP This does work though. What more do you want it to do? typeperf "\Processor(_Total)\% Processor Time"|more +2 >>file.txt Yes, this work but I have already open a 3D for the resync problem/laten...
- 21 Jun 2012 17:16
- Forum: DOS Batch Forum
- Topic: DOS and VBScript - A Better Interaction?
- Replies: 18
- Views: 15179
Re: DOS and VBScript - A Better Interaction?
I only use the best: assembly language! More than 25 years ago I wrote several small programs as auxiliary commands for Batch files. They were really small files, less than 400 bytes the majority. For example, below is my GetKey program that read a key from keyboard and return its Ascii code via ER...
- 21 Jun 2012 17:08
- Forum: DOS Batch Forum
- Topic: Why this code don't work?
- Replies: 8
- Views: 7059
Re: Why this code don't work?
there is no output with
is blocked...
Code: Select all
for /f "skip=2 delims=" %a in ('typeperf "\Processore(_Total)\% Tempo processore"') do @echo %a
is blocked...
- 21 Jun 2012 16:35
- Forum: DOS Batch Forum
- Topic: Why this code don't work?
- Replies: 8
- Views: 7059
Re: Why this code don't work?
The output i want is the output of typeperf when lanched in a command prompt window open a windows and type (english language) typeperf "\Processor(_Total)\% Processor Time" The output (mine is italian) "(PDH-CSV 4.0)","\\PC-XP-MASTER\processore(_Total)\% Tempo processore&qu...
- 21 Jun 2012 15:27
- Forum: DOS Batch Forum
- Topic: Why this code don't work?
- Replies: 8
- Views: 7059
Why this code don't work?
Hi, Why this code don't work? @echo off ping -n 2 127.0.0.1 > nul setlocal enabledelayedexpansion if "%1" EQU "resto" goto :resto start "test 1" /LOW cmd /c "typeperf "\Disco fisico(_Total)\%% Tempo disco" "\Processore(_Total)\%% Tempo processore&quo...
- 21 Jun 2012 08:36
- Forum: DOS Batch Forum
- Topic: pass data through processes with less latency
- Replies: 2
- Views: 3567
Re: pass data through processes with less latency
Sorry my fault...
the latency is minor.
The timestamp on typeperf is on initial time of sampling. But the problem remains
the latency is minor.
The timestamp on typeperf is on initial time of sampling. But the problem remains
- 15 Jun 2012 14:21
- Forum: DOS Batch Forum
- Topic: pass data through processes with less latency
- Replies: 2
- Views: 3567
pass data through processes with less latency
Hi, my program is controlling a few performance counter and then on alarm execute an action. I realized it in batch. The monitor portion use typeperf. I tried the otpion with "Performance Log and Alert" on XP sp2 but the alert are send with little control. I initially tried with a "lo...