How should I find out the number of messages on queue?
I am using iMQ 3.0. Point-to-point messaging.
I have sent some messages to the queue. How should I
find out the number of messages on queue ?
You can use MQ's admin tools (imqcmd or imqadmin)
to find that out.
'imqcmd query dst -n queuename -t q' will print out what
you want.
Check the administration guide for more info.
Similar Messages
-
How can I find out the number of lines in a text file?
How can I find out the number of lines in a text file?
java.io.BufferedReader in = new java.io.BufferedReader( new java.io.FileReader( "YourFile.txt" ) );
int lineCount = 0;
while( in.readLine() != null )
lineCount ++;
System.out.println( "Line Count = " + lineCount ); -
How can I find out the number of pixels a photo has in i photo.
How can I find out the number of pixels a photo has in iphoto.
Do you mean in iPhoto on the MacBook Pro?
The dimensions (width and height iin pixels)are shown in the "Info" panel - multiply the two numbers:
Regards
Léonie
P.S: on an IOS device you see the same information in iPhoto, when you select the photo in an album and click th Info button ( i ). -
How should I find out the stuff that keeps freezing the display?
Hi,
I am using gnome-shell from testing repo on a laptop computer. The system(I do not know which part) has frozen several times in a same way. The whole display just suddenly stops reacting while I am scrolling down the web page in Chrome, opening a wine program, or something else. I have not figured out any pattern of its occurrence, so it's not repeatable for now. It seems that it's related to some modules or libraries used by Google Chrome browser or Wine because it mostly happens when I am interacting with Chrome browser.
It seems that only the display is frozen. I could not enter the tty with Ctrl + Alt + <F1...F8>, but I could move the cursor with my TrackPoint mouse. The NumLk/CapsLk LED also reacts normally. Even the network is working - when turning off and on the hardware switch of wireless, WiFi LED shows like the system is trying to reconnect the WiFi automatically.
If there's anything related Chrome, I guess one of the possible reasons is that when installing google-chrome-dev from AUR, I replaced libpci with libpciaccess in the depends array so that it won't cause a file exists conflict when installing.
Another possible reason is xinput, which I use for TrackPoint scrolling.
Now I am very curious in finding out what exactly it is that keeps freezing the display, but I'm not sure where to start. Could anyone give me some suggestions?
THANKSdemian wrote:I'd start my DE from the terminal and when it freezes use alt+sysrq to regain control and see what happened. alt+sysrq+r,e,i should bring you back to the terminal.
thanks, but my SysRq and PrtSc are on same button, and when I press Fn + Alt + [PrtSc, SysRq], the system just recognizes as Alt + PrtSc. This is weird.... -
How do I find out the number of rows in a resultset ?
Without scrolling it.
And explain to me, oh sarcastic one, how it wouldn't be a better idea to put that data into a datastructure and pass that back.1. Performance with very large ResultSet objects for which only sparse data is desired (that's what pages are for).
2. Resource optimization.
3. Efficient sequential processing.
4. The ability to intelligently determine based on resource usage whether to page the results or use your implementation for small ResultSet objects.
Answering your points:
1. I just showed him a very easy way to get the size.
2. I don't see any advantage of a collection (if that's what you were envisioning) over a paged ResultSet. Actually the ResultSet is a collection of sorts.
3. Your data is reliant on the connection initially anyway. The collection would only provide an advantage in the possibly short window while the data was being viewed.
4. You can always resort a ResultSet by requerying. -
How to find out the number of threads created under java vm at runtime
our application seems to have hit the max number of threads that can be created under vm and the vm will just hang after that. that behavior seems to be consistent from an article that I read earlier.
I wonder any way that java app can find out the number of threads currently created under vm?
thanks in advance!If you are not starting an extra thread group you can use the Thread.activeCount method. But this willnot return all the threads, as there are some jvm threads, i.e. garbage collector. Also if you are running on a Unix type operating system then you can send a signal to the jvm to give you a thread dump, i think the signal is sighup.
If the application is hanging i would of thought that you have a deadlock situation rather then the JVM not being able to create new threads, roughly how many threads should be running ?? -
I havev installed a new Hard Drive on my laptop but cannot find my Photoshop Elements product box with the serial number to install Elements 10 or Elememts Premier 10. How can I find out the serial / installation codes for these? I saw a reply however, it was not my name and assumed it was for someone else. Now timed out. Can UI still have help on this matter please?
If you registered PSE before, go to the main page of adobe.com, sign in and go to your account and you should find the serial number there in your purchases.
-
How can I find out the apn number of the battery without having it?
I dont have the battery of my iphone 5 anymore but how can i find out the apn number of the battery? I would like to change it but i need to know the apn number to choose the right battery.
Apple does not provide any user-serviceable parts (other than accessories or sometimes a SIM card tray).
Therefore, there are no legitimate iPhone batteries available for sale anywhere.
Anything you find will either be salvaged, counterfeit, or stolen. -
How to find out the Number range object for Incident number
How to find out the Number range object for Incident number ?
CCIHT_IAL-IALID
regards,
lavanyaHI, an example.
data: vl_num type i,
vl_char(6) type c,
vl_qty type INRI-QUANTITY,
vl_rc type INRI-RETURNCODE.
CALL FUNCTION 'NUMBER_GET_NEXT'
EXPORTING
NR_RANGE_NR = '01'
OBJECT = 'ZRG0000001'
QUANTITY = '1'
SUBOBJECT = ' '
TOYEAR = '0000'
IGNORE_BUFFER = ' '
IMPORTING
NUMBER = vl_num
QUANTITY = vl_qty
RETURNCODE = vl_rc
EXCEPTIONS
INTERVAL_NOT_FOUND = 1
NUMBER_RANGE_NOT_INTERN = 2
OBJECT_NOT_FOUND = 3
QUANTITY_IS_0 = 4
QUANTITY_IS_NOT_1 = 5
INTERVAL_OVERFLOW = 6
BUFFER_OVERFLOW = 7
OTHERS = 8
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
vl_char = vl_num.
write vl_char.
Regard -
How to find out the number of songs in my iTunes 11 library
How to find out the number of songs in my iTunes 11 library
Welcome to the Apple Support Communities
To see the number of songs, go to View menu > Show Status Bar, so the number of songs you have will appear at the bottom of the iTunes window -
How to find out the number of fields in generated proxy structure?
Hi All,
Can anybody help me to find out the number of fields in generated proxy structure in back end system along with controller fields.
i know how to get number of fields in XI system but i want the number of fields in back end system when we generate proxy including automatically generated controller fields.
Thanks in advance.
Regards,
UjwalkumarU mean u want to know at runtime?
Get the output from ur proxy as a string, count the number of "<" characters and divide it by 2. :-P
Of course, you'll have to treat the header fields separately.
Regards,
Henrique. -
How can I find out the total number of gigabytes of all my photos in Iphoto?
How can I find out the total number of gigabytes of all my photos in Iphoto?
In the Event mode open the Info window at the bottom left (Command+i or click on the blue i button). Then select all of the Events. The number of photos and size will be shown in the Info window at the right.
OT -
How do find out the number of rows
how to find out the number of rows of as all tables in a schema with one sql statement
Hi,
What u can try doing is...
declare
numrows number;
begin
for i in (select tname from tab)
loop
execute immideate 'select count(1) into numrows from ' | | i.tname ;
dbms_output.put_line(numrows);
end loop;
end;
Hope this helps. This works only in 8i. So if u need to do the same in 8.0 u have to use dbms_sql pkg.
The logic is same but the way u open ands execute the code is a bit diff.
Best Of Luck.
Regards,
Ganesh R -
How do I find out the ID of a reminder created with an applescript?
I created an applescript to create a reminder from Quicksilver, but I want it to show the reminder once it has been created if Reminders was already open. If I use this, then another reminder with the same name sometimes gets shown. How do I find out the ID of a reminder when I create it and set it to a variable so that it will select the reminde I want it to, and if this is not possible, how should I do it?
Here is the applescript:
using terms from application "Quicksilver"
on process text reminderData
if reminderData is "help" then return "Syntax: \"Name:Priority Time Date List Notes\""
set isName to true
set isPriority to false
set hasBeenPriority to false
set priorityEntered to false
set isTime to false
set hasBeenTime to false
set timeEntered to false
set isDate to false
set hasBeenDate to false
set dateEntered to false
set isList to false
set hasBeenList to false
set listEntered to false
set isNotes to false
set reminderName to ""
set reminderPriority to ""
set reminderTime to ""
set reminderDate to ""
set reminderNotes to ""
set reminderList to ""
set reminderDataCharacters to the characters of reminderData
repeat with i from 1 to number of items in reminderDataCharacters
set currentItem to item i of reminderDataCharacters
if isName is false and hasBeenPriority is false then set isPriority to true
if hasBeenPriority and hasBeenTime is false then set isTime to true
if hasBeenTime and hasBeenDate is false then set isDate to true
if hasBeenDate and hasBeenList is false then set isList to true
if hasBeenList then set isNotes to true
if isName then
if currentItem is ":" then
set isName to false
else
set reminderName to reminderName & currentItem
end if
end if
if isPriority then
if currentItem is "!" or currentItem is "-" then
if currentItem is "!" then set reminderPriority to reminderPriority & "!"
set priorityEntered to true
else
if currentItem is " " and priorityEntered then
set isPriority to false
set hasBeenPriority to true
end if
end if
end if
if isTime then
if currentItem is " " then
if timeEntered then
set isTime to false
set hasBeenTime to true
end if
else
if currentItem is not "-" then set reminderTime to reminderTime & currentItem
set timeEntered to true
end if
end if
if isDate then
if currentItem is " " then
if dateEntered then
set isDate to false
set hasBeenDate to true
end if
else
if currentItem is not "-" then set reminderDate to reminderDate & currentItem
set dateEntered to true
end if
end if
if isList then
if currentItem is " " then
if listEntered then
set isList to false
set hasBeenList to true
end if
else
if currentItem is not "-" then set reminderList to reminderList & currentItem
set listEntered to true
end if
end if
if isNotes then set reminderNotes to reminderNotes & currentItem
end repeat
if reminderDate is not "" then
if reminderTime is "" then set reminderTime to time string of (current date)
end if
if reminderTime is not "" and reminderTime does not contain "am" and reminderTime does not contain "pm" then
try
if (item 1 of the characters of reminderTime) as number is greater than or equal to 8 and (item 1 of the characters of reminderTime) as number is less than or equal to 11 then
set reminderTime to reminderTime & "am"
else
set reminderTime to reminderTime & "pm"
end if
end try
end if
try
set reminderDateAndTime to date (date string of (date (reminderDate & "/" & last word of (date string of (current date)))) & " " & time string of (date reminderTime))
on error
set reminderDateAndTime to false
end try
createReminder(reminderName, reminderPriority, reminderNotes, reminderList, reminderDateAndTime)
tell application "Quicksilver" to show notification "The reminder was created successfully" text "Quicksilver successfully created your reminder."
end process text
on createReminder(theName, thePriority, theNotes, theList, theDate)
if thePriority is 1 then set thePriority to 9
if thePriority is "!" then set thePriority to 9
if thePriority is 2 then set thePriority to 5
if thePriority is "!!" then set thePriority to 5
if thePriority is 3 then set thePriority to 1
if thePriority is "!!!" then set thePriority to 1
tell application "System Events"
if exists process "Reminders" then
set wasOpen to true
else
set wasOpen to false
end if
end tell
tell application "Reminders"
if theDate is false then
try
make new reminder at list theList with properties {name:theName, body:theNotes, priority:thePriority}
on error
make new reminder with properties {name:theName, body:theNotes, priority:thePriority}
end try
else
try
make new reminder at list theList with properties {name:theName, body:theNotes, remind me date:theDate, priority:thePriority}
on error
make new reminder with properties {name:theName, body:theNotes, remind me date:theDate, priority:thePriority}
end try
end if
if wasOpen then
show reminder theName
else
quit
end if
end tell
end createReminder
end using terms fromThis seems to find the ID, which is sort of the answer to my question, but I still don't seem to be able to use it to show to right reminder. I get this error:
error "Reminders got an error: Can’t make reminder id \"1E436B16-561C-4F88-8CA6-78029BE68BBF\" into type integer." number -1700 from reminder id "1E436B16-561C-4F88-8CA6-78029BE68BBF" to integer
What is wrong, and how should I fix it?
Here is the createReminder block now:
on createReminder(theName, thePriority, theNotes, theList, theDate)
if thePriority is 1 then set thePriority to 9
if thePriority is "!" then set thePriority to 9
if thePriority is 2 then set thePriority to 5
if thePriority is "!!" then set thePriority to 5
if thePriority is 3 then set thePriority to 1
if thePriority is "!!!" then set thePriority to 1
tell application "System Events"
if exists process "Reminders" then
set wasOpen to true
else
set wasOpen to false
end if
end tell
tell application "Reminders"
if theDate is false then
try
set theReminder to make new reminder at list theList with properties {name:theName, body:theNotes, priority:thePriority}
on error
set theReminder to make new reminder with properties {name:theName, body:theNotes, priority:thePriority}
end try
else
try
set theReminder to make new reminder at list theList with properties {name:theName, body:theNotes, remind me date:theDate, priority:thePriority}
on error
set theReminder to make new reminder with properties {name:theName, body:theNotes, remind me date:theDate, priority:thePriority}
end try
end if
set theID to the id of theReminder
if wasOpen then
show theID
else
quit
end if
end tell
end createReminder -
How do I find out the spec of my old iPod ?
How do I find out the spec of my old iPod ... I can't remember if it's 2nd or 3rd generation ... it's an 8gb, and that's as much info as I can remember/find in the 'About' area of the iPod ... is there a way to find out please?
Append the last three characters of its serial number to http://www.everymac.com/ultimate-mac-lookup/?search_keywords= and load the page.
(119532)
Maybe you are looking for
-
Exclamation marks when i click on thumbnail in i photo
Hi all, When I click on the thumbnails in IPhoto the picture won't come up, I just get an exclamation mark. I restored my librry from time machine, but not sure where I am going wrong. Any advice appreciated Thanks
-
Alerts configuration- getting the actual contents of the payload
Hi We are on XI 3.0 SP18 - My understanding so far - on alert category definitions has been that - we can create container variables - pull in - system variables as a part of the contents of the alert message - Now , if I want to grab the contents
-
Tidal Enterprise Scheduler - Get Job status using c#
Is it possible to get the list of jobs scheduled and their status in Tidal Enterprise scheduler using a programming language like C# ?
-
Solairs 10 installation did not start inetd
Has anyone experienced this and/or knows why it happens or how to solve the issue? Have recently installed Solaris 10 on an E450 with no visable issues. Everything went through smoothly: Chose to use the Full Installation with OEM support. Manually c
-
As you've gathered from the title there is two issues: 1. The Photosmart 7525 (alias: CZ046A) is no longer functions and says Missing or failed printhead. 2. HP's warranty check says warranty expired on Aug 31, 2013 even though it was bought Aug