Systrack API query for top 20 apps on a computer - api

I'm looking to query to the top 20 applications that were running on a given computer, over a given period of time.
We have Systrack v10.1.0.117.
I see that I can do this API call that will return an object containing the sysguid systems/name=abc1234
And I can do a call like this to get a massive dump of all applications
processes/systems/b30f5bf2-61ae-4751-9ec8-8ded12345632/logon?user=domain\myuser&startTime=2023-02-02T19:35:00.000Z&endTime=2023-02-14T19:35:00.000Z
Unfortunately the dump appears to be a hierarchical tree of applications, with deeply nested child applications. Instead of a sortable list of applications.
Any idea of how to either convert this hierarchical tree into a flat list or how to query Systrack for just a basic list?

Related

How to create SAS EG Flow programmatically?

I write a solution which manages execution of complex calculations written in heterogeneous environments (R, SAS, Oracle). One of the features I might want to add is the ability to create a nice SAS Enterprise Guide flow using the SAS branches of the execution, using the exposed COM (that is based on the .NET) interface.
I thought I can use SASEGScripting to insert SAS code and link the code according to their dependency that my solution already manages.
I can insert the code object, but unfortunately I don't know how to create a link.
Using the techniques from ExtractCodeAndLog.vbs.txt
I can get an existing link between two flow items using set item = myproject.ContainerCollection.Item and item.Items. If I iterate through the Items collection, I would get links, and would be able to inspect their properties.
In your EG project, right click on the object you want to make the link from and select 'Link' this will show you the list of possible object to link to. just select one from them.
Example:
Step 1
Step 2
Step 3

How to avoid long loading times with sql using delphi xe3

At the moment i use delphi xe3 and an online database,
I use
db.active:=False;
DB.sql.text:='slect*from database';
db.active:=True;
to show and filter records, but when i get to about 1000 records in the database, it becomes very slow, is there a way to make the program usable while the db is being loaded,
kind of like facebook loads while you type, and shows records when they're found.
thank you
Th problem is in * in your select, and ofc in amount of data. You must draw data as it goes from server. I don't know what components do you use so any information about it will be helpfull... In DevExpress's grid component there is property called "GridMode" for this.

Hierarchical Use of SharePoint 2013

I'm trying to determine the best way to utilize SharePoint 2013 to manage a very large project with a number of hierarchical elements. I've thought about using cascading/embedded group permissions (doesn't appear to be possible), audience targeting (I'm concerned about user's ability to understand and correctly enter the appropriate target audience), using some kind of session variable fed from a SharePoint list to determine how to characterize entries but then I need a way to auto filter them in lists (seems awfully complex and not sure this will even work). So I'm wondering if I'm missing a better way to do this. This being the following:
I have various staff levels: people at the bottom who are located at a site, a person at the site that is the manager, a hub that links various sites, areas that oversee hubs and include an area manager. I'd like these various people to be able to see only whats relevant to them so for a simple example: a list with a calendar view. An area lead should be able to see all entries made by his site leads, while a site/hub manager should only be able to see entries made by people under their respective site/hub. This would work perfect if I could assign groups to groups and then filter the list instead of by [me] by [(some permission filter option)]
There has got to be a simple way to do this, anyone have any ideas? I think I'm missing some capability of SharePoint 2013 to do something like this and thus am making it harder than it should be.

How to merge two content source in Sharepoint 2010?

In my share point 2010 website, I added two content source
file system (shared folder)
BDC data (Line of Business Data)
I added the managed properties to map the metadata of the BDC data.
My search result coming link this
I would like to link the two content source, my second content source having the file related information like (tab, category, fileno, case name)
I added the column and also I altered the xslt in the search result web part. the results are coming link below.
From the result, the third one (120) is coming from the database so all the properties are mapped (caseid, casename,fileno, doctab, description)
But it's not mapping to the file system. The file system having relationship with the table with the file name and also the the path of the files having some information:
file://192.168.25.231/FolderName/CaseID/documenttab/filename
CaseId is the primary key for the table which I added as second content source.
How can I achieve this?
Hmm, it's difficult to add much more without seeing the environment. But here's plan B
Given you're using the BCS and want to display both unstructured content (the files) and application data that shares metadata with the files, you could try the following. It will require some coding knowledge. You can make connections between web parts in SharePoint Designer but this will need Visual Studio
create a custom search results web page, and use the standard core search results web part along with separate data web part for displaying the application data
create a custom query box for entering the search query, probably best done with separate fields for the metadata - case ID, case name etc. (You'd normally use a data filter web part, but that won't pass results through to the normal search results - you need to code to run two queries)
format and pass the query to both the core search results web part, and the BCS data web part, to display items that match the query
That's probably as much as I can help with. The SharePoint section on MSDN should be the next port of call. Good luck!
This may be an overly simplistic explanation to keep the response as short as possible.
For your search results page, the best approach when also retrieving application data is to not present that information in the core search results web part. Exclude it from the default scope. Instead, use a federated search results web part added to the results page. You'll also need to create the corresponding federation location for the scope (easy to do), and you can then use XSLT to style the display of the results - application data needs to be presented differently to links to files and web pages.
Then, a search for say the case ID, will display all files containing that information in the core search results web part, and will display any matching application data in the federated results web part, with the different formatting applied. Note - there will be no connection between the two. The only relationship is that they both match the search query. It is possible to connect web parts to filter one based on the selected value in another, but it's an entirely different approach and not easily done using search results.

How to access results of Sonar metrics for use with applications like PowerPivot

I'm trying to run a number of applications with known failure rates through Sonar, with hopes of deciding which metrics are most valuable in determining whether a particular application will fail. Ultimately I'll be making some sort of algorithm that will look at the outputs of whatever metrics I'm using and generate a score from 1 - 100. I've got about 21 applications put through Sonar, and the results have been stored in a MySQL database. I originally planned to use PowerPivot to find relationships in the data, but it seems like the formatting of the tables doesn't lend itself well to that. Other questions on stackoverflow have told me that Sonar's tables are unformatted, and I should instead use the Web Service API to get the information. I'm unfamiliar with API and was unsuccessful in trying to do what I wanted by looking at Sonar's documentation for API.
From an answer to another question:
http://nemo.sonarsource.org/api/timemachine?resource=org.apache.cxf:cxf&format=csv&metrics=ncloc,violations_density,comment_lines_density,public_documented_api_density,duplicated_lines_density,blocker_violations,critical_violations,major_violations,minor_violations
This looks very similar to what I'd like to have, except I'm only looking at each application once (I'm analyzing a sample of all the live applications on a grid), which means Timemachine isn't really what I'm looking for. Would it be possible to generate a similar table, except instead of the stats for a particular application per date, it showed the statistics for an application and all of its classes, etc?
If you're not familiar with the WS API, you can also create your own Sonar plugin to achieve whatever you want: it is written in Java and it will execute on every analysis you run. This way, in the code ot this custom plugin, you can do whatever you want: flush the metrics you need in an output file, push them into a third party system, ... etc.
Just take a look on how to write a plugin (most probably you will create a Decorator). You have concrete examples also to get started faster.