Listing current queues in memory...
Hello!
Is it possible to get a list of all the names of queues, that are created with the Obtain Queue function, in a running program?
I just want the names of the queues, not of the elements within them.
The Enrichment Center is required to remind you that you will be baked, and then there will be cake.
tst wrote:
Short answer - no, you have to maintain such a list yourself.
Longer answer - I think the Desktop Execution Trace Toolkit can list the queues, but I don't have it, so I'm not sure.
Agreed!
Not all queues have names by the way.
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction
Similar Messages
-
How can I "see" what drivers are currently loaded in memory
I am currently trying to track down an "apparent" memory leak where the performance of my relatively idle Macbook degrades over time due to an ever increasing allocation of wired memory (as viewed from Activity Monitor). Within about two hours of rebooting with only the essential processes running, I see my wired memory continue to increase up to and beyond 700 MB. About this time I experience intermittent spikes in the "CPU-%System" allocation of 25% and more which causes severe lagging in my mouse and keyboard. The machine eventually becomes unusable and requires a reboot.
Because I see the wired memory continue to grow inexplicably over time and I am unable to isolate this to any processes listed in the Activity Monitor pane I have to believe that it is something not "visible" from the AM pane. I have read that wired memory is responsible for hosting the VM objects, the VM buffer caches, the I/O buffer caches, and the drivers.
FWIW, I downloaded "Main Menu" maintenance software from Santa Software and ran all of the cache maintenance scripts - unfortunately, this did not effect any discernible improvement.
My next guess is that there is some ill-performing driver loaded into memory that is chomping on my wired memory but I do not know how to "view" what drivers are currently resident.
Is there a way to view each of the drivers that are currently loaded in memory?
And, better yet, is there a way to view what amount of memory is currently allocated to each such driver?
Any help is much appreciated - thanks in advance!
- BruceYou would certainly see SOME "depreciation in memory", due to e.g. spotlight indexing and other processes. But it should be nowhere near to what you describe to the point where your CPU fan runs.
Without any further detailed technical expertise, I would assume that it could be a RAM stick that is not working as it should be, resulting in the CPU having to make the extra "effort" to compensate for lack of RAM.
Have you taken the RAM sticks out and reseated them? An dust preventing good contact?
http://support.apple.com/kb/HT1651
Any good? -
Dear Sir/Madam,
1) I would like to be able to obtain a list of all queues and notifiers in memory. How to do so?
2) I would like to be able to change the behaviour of the queue. Instead of holding and waiting for an element to be read out of a full queue (when a new element in to be inserted), I would like to be able to push out the oldest element.
Any suggestions?
Thanks!
Regards
AlbertThank you all.
Thans for the VI, but unfortunately I could not read it (version too high). However, I found "Smart Buffer" and "Recent History" VIs in the "Search Examples". Unfortunately, these are not applicable since I need to generate the queues and notifiers in undefined number of instances.
What I eventually did:
1) I would like to be able to obtain a list of all queues and notifiers in memory. How to do so?
Used a functional global variable VI which stored the names, as well as created/destroyed queues.
2) I would like to be able to change the behaviour of the queue. Instead of holding and waiting for an element to be read out of a full queue (when a new element in to be inserted), I would like to be able to push out the oldest element.
I used notifiers:
a) I call a VI that returns the status of the notifier, and I read all the available notifiers from it.
b) I append the new data to the one obtained from the notifier, and cut the result to limit the length of this "buffer".
c) I call a Send Notifier VI, which puts the new data set into the notifier.
This way is possible but uncomfortable...
DEAR NI Tech Support,
Please respond to the questions, and let me know, if there are more elegant solutions (e.g. reading a property node for the list of queues or notifiers, or writing a property node for setting the behaviour of the queue).
Thanking you in advance.
Sincerely
Albert Lysko
Message Edited by alysko on 12-10-2007 06:48 AM -
BoLinkedObject Enumeration For List of Queue
hi,
i want to know the
BoLinkedObject Enumeration Value For List of Queue in Service Call.Hi Satish,
The help files are your friend!
You can easily find these in the SBO Help file. Just go to <i>UI API > Reference > Overview > Enumerations > BoLinkedObject Enumeration</i>
<b>Overview of 'ServiceCall' in BoLinkedObject Enumeration</b>
Member Description Value
lf_ServiceCall Service Call object. 191
lf_ServiceCallSolution Service Call Solution object. 189
No queue there, if you can't use above enumerations, it can't be linked by the BoLinkedObject...
Hope it helps,
Rowdy -
My macbook pro currently has 2gb memory how much will two more increase perfomance?
my macbook pro currently has 2gb memory how much will two more increase perfomance? (capacity is 4)
Here is the system specs can i get up to 8 on this machine?
Also I run Adobe cs5 and final cut if that makes any difference?
Model Name: MacBook Pro
Model Identifier: MacBookPro5,1
Processor Name: Intel Core 2 Duo
Processor Speed: 2.4 GHz
Number of Processors: 1
Total Number of Cores: 2
L2 Cache: 3 MB
Memory: 2 GB
Bus Speed: 1.07 GHz
Boot ROM Version: MBP51.007E.B06
SMC Version (system): 1.41f2 -
Daqmx, queue, and memory
Hi all,
I have a loop that would read the analog in buffer and put the data (24x1000 2d array /element) onto three queues (one for display, one for file I/O, and one for motion control). It seems to be that this is very wasteful, but I can't think of a better way. Apparently, LV agrees with me, and it is giving me a memory error, saying that I don't have enough memory to perform the operation. I understand that I am buring a lot of memory, but it surprised me that LV can't handle that. Can you help? Thanks!
Kudos and Accepted as Solution are welcome!Hi jyang72211,
can you upload your vi, so we can look into it?
Maybe it helps if you use an action engine for your data and only send a "new data" command with the queues.
Mike -
How can I list print queues per server via power shell script
Hello,
we are managing many print servers on our domain environment, now for auditing purpose I need to report print queues per server, and it seems bit difficult task doing it via GUI in print management view, could someone help me with script which
gets me the no. of print queues on each print server.
Also I need to list all the print drivers installed on each print servers.
I tried to list the drivers " Get-WmiObject win32_printerDriver -filter " but this will get me complete information about the driver, I need to list only the driver name (-filter) either _RELPATH or _PATH
dibuYou can also use WMI like this:
(get-WmiObject win32_printer -computer ws702).count
I don't understand what you mean by list only. Just select what you need.
See: http://technet.microsoft.com/en-us/scriptcenter/dd742419
That will give you some basic background on how to use PowerShell to get the properties of objects.
¯\_(ツ)_/¯ -
List current DML in DB including SELECT for Update
In order to list all currently opened DML we can select v$open_cursor and link it to to v$SQL in order to retrieve the v$SQL.COMMAND_TYPE.
All DML operation have the following number in v$sql.command_type :
2 : 'INSERT'
6 : 'UPDATE',
7 : 'DELETE',
189 : 'MERGE'
But 'SELECT for update it is still 3 like any non regular SELECT.
I did not found information in v$lock nor in v$transaction that would allow me
to link an open cursor of type 3 (SELECT but in fact for update) to the opened transaction in v$transaction.
Does anybody knows how to assert than a SELECT is in fact a DML short of grepping the 'FOR update' in the SQL text.
Such an Horrible trick would force me to search all opened cursor text for each session with an entry in v$transaction.Thanks for replying.
I could have had the usage of less aggressivity and more competences. You advice is simply stupid :
-- seesion 1 :
select * from toto where id = 20 for update ;
select sid from v$mystat where rownum = 1 ; -- > sid=1614
-- session control : check v$transaction
col version new_value version noprint
col field new_value field noprint
col used_urec format 999999 head 'Undo|Records'
col undo_size head 'Undo|size (k)' justify c
set lines 150
select substr(version,1,instr(version,'.',1)-1) version from v$instance;
select decode(&version,9,'','XID,') field from dual;
Select r.segment_name,To_Char(To_Date(vt.Start_Time,'MM-DD-RR HH24:MI:SS'),'MM-DD HH24:MI:SS') strt
, decode(vs.status,'ACTIVE',vs.last_Call_et,0) since , vs.sid, vs.status se_status,
&field vt.status tr_status, log_io, phy_io,cr_get,cr_change, vt.used_urec, vt.used_ublk * p.value/1024 undo_size
From dba_rollback_segs dr,
v$rollstat rs,
v$transaction vt,
v$session vs,
v$process vp,
dba_rollback_segs r,
v$parameter p
Where vs.Paddr = vp.Addr (+) AND p.name = 'db_block_size'
and vt.xidusn (+) = r.segment_id
And vs.UserName Is Not Null
And vs.Taddr Is Not Null
And vs.Taddr = vt.Addr
And vt.xidusn = dr.segment_id
And vt.xidusn = rs.usn
Order By VS.OsUser, To_Date(vt.Start_Time,'MM-DD-RR HH24:MI:SS') ;
Running Session Transact Undo Undo
SEGMENT_NAME Start time time (s) SID Status XID Status LOG_IO PHY_IO CR_GET CR_CHANGE Records size (k)
_SYSSMU21$ 04-13 11:02:24 0 1614 INACTIVE 0015002A0003A800 ACTIVE 3 0 104 0 1 8
-- so we have a transaction in 1614. Let's retrieve its SQL :
-- session control : what do we have in v$session :
1 select sql_hash_value, b.sql_text sql_text, prev_hash_value , bb.sql_text prev_sql_text
2 from
3 v$session a, v$sql b, v$sql bb
4 where sid = 1614
5 and a.sql_hash_value = b.hash_value (+)
6* and a.prev_hash_value = bb.hash_value (+)
SQL> /
SQL_HASH_VALUE SQL_TEXT PREV_HASH_VALUE PREV_SQL_TEXT
0 897388722 select sid from v$mystat where rownum = 1
-- gone !
-- Conclusion : joining v$session to v$transaction is useless if you want to retrieve the SQL in system currently opened.
-- moreover, if start a transaction with many queries, you are still limited to 2 slot in v$session. -
Store integer list in Windows Phone Memory
Hi!
I need to store a list of integer values in the Windows Phone (8.1) memory, preferrably using the Windows.Storage namespace as an ApplicationData.LocalSettings. How may I acheive this?
I tried doing the following to create a new List<int> out of a key stored in the the LocalSettings.Values dictionary;
using Windows.Storage;
var AppSettings = ApplicationData.LocalSettings;
List<int> IntegerList = new List<int>();
try {
IntegerList = (List<int>)AppSettings.Values["IntListInMemory"];
catch { }
return IntegerList;
I apologize if my code is unprofessional and buggy (it is, because it throws an exception regarding an un-supported data type); I'm a nnewbie to WP 8.1 Dev.
Tx. :)Well if IsolatedStorage is acceptable, then a simple code could do that:
IsolatedStorageSettings settings = IsolatedStorageSettings.ApplicationSettings;
List<int> ListObj= new List<int>();
ListObj.Add(1);
ListObj.Add(2);
ListObj.Add(3);
if (!settings.Contains("IntKey"))
settings.Add("IntKey", ListObj);
settings.Save();
// And to retrieve the list:
List<int> ListObj= readSetting("ListObj") != null ? (List<int>)readSetting("ListObj") : new List<int>();
http://developer.nokia.com/community/wiki/Using_Crypto%2B%2B_library_with_Windows_Phone_8
Hi Vineet24,
I think IsolatedStorageSettings will not be supported in windows phone 8.1(xaml), are you sure about it ? Just curious to know.
Pradeep AJ -
Tab Navigation List - Current Tab
I'm using a tab navigation list to hide/show regions on a page. When the page displays, all the tabs are showing the same way and there is no way to know what tab is current. Is there a way to change the display of tab if it is current?
Hi,
Edit the List you are using in the Tabbed Navigation.
Under "Current List Entry" select "Colon Delimited Page list" and enter the page(s) in "List Entry Current for Condition" for each of the list entries.
Regards, -
Determine the current max shared memory size
Hello,
How do I determine the max shared memory value in effect on the box I have. I dont wish to trust /etc/system as that value may not be the effective value unless the system has been rebooted after that setting.
Any pointers would be appreciated.
Thanks
MaheshYou can get the current values using adb:
# adb -k
physmem 3e113
shminfo$<shminfo
shminfo:
shminfo: shmmax shmmin shmmni
10000000 c8 c8
shminfo+0x14: shmseg
c8
The shminfo structure holds the values being used and the shminfo
macro will print out the values in hex.
Alan
Sun Developer Technical Support
http://www.sun.com/developers/support -
How can i make an MDB to choose from a list of Queues
In my application i am having 40 Queues in all, now my present MDB is configured to read messages from only one Queue and act upon it. Now in order to handle messages from 20 different Queues, do i need to deploy 20 MDBs , one for each Queue. Ot is it possible to program a single MDB in such a way so that it can act on 20 or more queues, taking one Q at a time.
rc...hi jm4rc,
until the ejb 2.1 specifications, it does not specify that you can or cannot define more
than one destination per consumer or MDB. however, the specification is consistent
about mentioning a destination per MDB which uses Queues as end pont, hence is
called PTPP (point-to-point protocol), e.g, from "one" end to "another".
if you do define in your descriptor file that your MDB (consumer) should listen to more
than one destination, the behavior is not specified nor defined at how the container
will handle a scenario, i.e., it can behave properly or troublesome.
if your intention is to allow your MDB to listen to multiple destination, you might want
to configure your MDBs to become "subscriber", rather than "consumer" so that it
may be able to listen to more than one end-point and you could also configure it to
publish message to more than one end-point as well.
in the end, you may have to define only a single MDB to process messages that will
arrive at many end-points. after all, container can instantiate multiple instances of
one MDB type, maintain them in the pool, activate them to process several requests
simultaneously.
regards, -
A few functionalities I would like to see added to Queue functions:
1. The ability to queue up an array of elements all at once (rather than having to use a For Loop with the Enqueue Element function inside).
2. Given: A Queue with a set maximum number of elements. I would like a boolean flag on the Enqueue Element function to allow addition of elements to a full queue (thus pushing out the oldest element(s)).
Granted, I can reproduce the above effects thru coding, but it would be nice if they could be handled by the existing Queue functions.For getting around this, what you can do is build your routines once and then use some hierarchy renaming tool so that you can have unique names for all the VIs. Personally, I occasionally do this with a modified version of a duplicating tool I downloaded from MGI - I simply take the base files I want to duplicate, make a copy of the hierarchy and tell the tool to change\add the prefix or suffix I want.
If you still want to keep the functionality in some base files you can modify, you can write the core using variants (place in the user.lib folder inside a folder beginning with an underscore and it won't appear in the palettes) and then only use the wrappers per project. Of course, you'll suffer some performance penalty with this method.
Try to take over the world! -
How to list current transactions?
Hi,
Is there a select statement or package that can display the current transaction(s) based on user?
Best Regards,
BrianThis may not be exactly what you want, but Tom Kyte has a script that's a good place to start:
http://asktom.oracle.com/pls/ask/f?p=4950:8:620539::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:767025833873,%7BV%24Transaction%7D
(you'll have to straighten the URL out yourself. sorry)
rgds, APC -
I have external list where i want to apply multiple filter for every column like we do in Excel spreadsheet - we can filter a spreadsheet column by selecting multiple checkbox for every column. I am using Sharepoint 2010
Is this possible in sharepoint 2010? Any idea how to acheive that?
Thanks in advance.Hi Rahul,
According to your description, my understanding is that you want to use filter with multiple values on a column of an external list in SharePoint 2010.
Per my knowledge, there is not an OOB way to achieve it. As a workaround, you can custom the web part to implement it. There is an articles for your reference:
http://blogs.telerik.com/aspnet-ajax/posts/13-11-05/add-excel-like-multi-select-filtering-to-your-asp.net-datagrid
In addition, you can use a third party solution to achieve it, please take a look at:
http://abilitics.com/Blog/index.php/sharepoint-improved-grids-with-excel-like-inline-editing/
http://social.technet.microsoft.com/forums/sharepoint/en-US/3d19b9d3-d394-4af9-9e8e-2dee70b50540/filter-column-with-multiple-filter-values-in-sharepoint-list
I hope this helps.
Thanks,
Wendy
Wendy Li
TechNet Community Support
Maybe you are looking for
-
I have a form that I have created in LiveCycle with a submit button to have the completed form emailed to a specific person. I have it set up with a message in the body of the email, but I am looking to add an additional message based on the results
-
How to find database table for field in CRMD_ORDER?
Hello, in CRMD_ORDER there is a field CRMT_7850_SERVICE_UI-DURATION. The structure is CRMT_7850_SERVICE_UI The fieldname is DURATION How can i find out in which database table content of this field is stored? Thanks a lot Best regards Manfred
-
Firefox works in Safe mode. Narrowed the issue down to plugins. Don't have an Adobe Flash player plugin, but do have Adobe Acrobat and Windows Live Photo gallery (which I'm considering suspect).
-
While I have no problem booting into the Startup Manager using the command key with my wireless keyboard I'm finding it impossible to boot into Safe Mode using the option key. Any suggestions would be appreciated.
-
How to upload photos directly to my Ovi account
Hi, How can I upload photoes directly from my 5800 phone to my Ovi account I have checked the "share online" menu and found only "Vox" & "Ikbis" I tried to add a new account - "update services" but didn't work for me Regards