Within the GUI of VSS it is possible to view the history of an item 'including' or 'excluding' the labels.
I'm trying to do the same thing but from the command line but I just can't see which switch I need to use in order to 'exclude' labels (by default they are included).
e.g. I'm running:- ss.exe HISTORY -I- $/Source/Path/FileName.txt
Why? We have Cruise Control setup to automatically create a label on each successful build...so there are alot of labels. When I run that 'get history' command above it takes 20-30 secs per file and I want to run a process that will hit every file...
If anyone can tell me which switch I need to use (it must be there if the GUI allows you to choose??) that would help very much :-)
Thanks!
You can use the -L parameter as follows:
ss.exe history -L : shows history labels only
ss.exe history -L- : shows history without labels
Related
Background:
Sometime I have the need to monitor the change of a value in a certain program.
My solution is to use a batch file to capture the part of the screen with where the value is shown with Minicap and then use Tesseract to convert the value to plain text. However this script would not work so good if I would need to monitor value change every second for several hours.
Current solution (simplified example):
minicap.exe -captureregion 800 600 850 620 -save C:\file.png -exit -escapequit
tesseract.exe C:\file.png out.txt
Question:
What I would like is some simple way to OCR a value directly from the screen to use in the batch file, perhaps buffer several values before appending them to a csv file. I would prefer to do this without the need to install python or write compiled software
(Posted on behalf of the question author, to move the solution to the answer space).
I found that I could use Capture2Text. The following command takes the on screen text and prints it to stdout:
Capture2Text_CLI.exe --screen-rect "800 600 850 620"
This way it's possible to run the command, check if the value is changed, and if so, append it to a log file together with a timestamp.
When I debug and use JMeter GUI with listener(s),
I sometimes want to remove certain outputs, as the last 5, or failed ones, but keep all other outputs
Can I select output to be clear ? because I can't mark using Ctrl some outputs and I don't want to clear all output
Well, there is no option to remove certain output from the specified listeners what you can do is, you can write the result set in csv sheet from the listener and manipulate the result set according to your need.
This is the simple solution that you can try for your problem.
I have a script that displays a menu for my applications with details about them such as PID, runtime, and other static data.
In this script I wait for a user input to preform some actions on the application such as kill \ start \ update.
I want to add to the data I'm displaying, a dynamically changing stat about its CPU usage, and say update it every second.
The problem is that with printf "%s\r" "$(appCPUusage)" is that it requires this print to be the last thing that appears on the screen but I need it to be somewhere in the center of the script, and put the refreshing of $appCPUusage on the background and still allow users to input their action and use the script.
Is that doable on bash?
On the CPUsage column is where I want the dynamically changing var to be.
Thanks.
I can't copy the information in softice to disk/file. I am aware of IceExt but everytime I execute the command to dump the screen to disk(such as "!DumpScreen \??\c:\test.raw")it crashes my system entirely. When I try to copy with the mouse, the cursor only makes it possible to copy one line. I have already read through the softice manual. I just need a way to retrieve data from softice. Any help would be appreciated. I am using xp professional.
Turns out that no addons are required to accomplish this. Using the command "u cs:eip L 1000" from softice. You will then see a duplicate of the data within softice's screen displayed in the command window.
The u 'unassembles' code at the address cs:eip (the current EIP), the L specifies a length of 1000 bytes, you might need more than 1000 so adjust accordingly. Once you've done this you should exit SoftICE and select File / Save SoftICE History As from Symbol Loader, with any luck the resulting file will contain your code dump.You may have to to use F10 to step through inorder to get the data in softice's history log.
Using this method, I successfully dumped the entire code window and data window. The main drawback to this method is that the resulting text will contain alot of noise(unnecessary data). I haven't figured out how to get around this. This is a adaptation of woodmann's method.
I am using JMeter and have 2 questions (I have read the FAQ + Wiki etc):
I use the Graph Results listener. It seems to have a fixed span, e.g. 2 hours (just guessing - this is not indicated anywhere AFAIK), after which it wraps around and starts drawing on same canvas from the left again. Hence after a long weekend run it only shows the results of last 2 hours. Can I configure that span or other properties (beyond the check boxes I see on the Graph Results listener itself)?
Can I save the results of a run and later open them? I know I can save the test plan or parts of it. I am unclear if I can save separately just the test results data, and later open them and perform comparisons etc. And furthermore can I open them with different listeners even if they weren't part of original test (i.e. I think of the test as accumulating data, and later on I want to view and interpret the data using different "viewers").
Thanks,
-- Shaul
Don't know about 1. Regarding 2: listeners typically have a configuration field for "Write All Data to a File", which lets you specify the file name. You can use the Simple Data Writer to store results efficiently for later analysis.
You can load results from a previous test into a visualizer by choosing "Write All Data to a File" and browsing for the file you wish to load. Somewhat counterintuitively, selecting a file for writing also loads that file into the visualizer and displays the results. Just make sure you don't run the test again while that file is selected, otherwise you will lose your saved test data. :-)
Well, I later found a JMeter group that was discussing the issue raised in my first question, and B.Ramann gave me an excellent suggestion to use instead a better graph found here.
-- Shaul