Progress Bar or Progress Monitor for a system command

Hello,
I am running a DOS copy command in a Java Swing application. I understand that I
can implement a Progress Bar or a Progress Monitor if I open the first file, read it,
and write to a second file. But if I have a need to use the DOS copy command,
is there a way to implement a Progress Bar or a Progress Monitor for it. If there is,
could you please point me to some example code?
Thank you,
Chris

Hello Chris,
you would have to write some native code which peeks or watches the DOS process and its progress. Surely not an easy task. But without that information, how will you set values for the ProgressMonitor?
What you could do, however, is showing an Indeterminate JProgressBar at DOS process start and make it disappear at process end.

Similar Messages

  • System Monitoring for Satellite System in Solution Manager

    Hi,
      I configured satellite system in solution manager through SMSY,and i created solution in dswp.I want to configure system monitoring through ccms agent,how to install ccms agent,how to configure system monitoring for satellite system in solution manager .Please guide me.
    Thanku

    Hi,
    In Solution manager I did below steps. :
    1)  Activated background dispatching in Rz21 (Client : 000).
    2)  Created CSMREG user (In RZ21)
    3)  Generated the configuration file for agent (CSMCONF).
    I down loaded the ccmagent_35-20001346.sar file.
    What are the steps i have to do in satellite system.
    Thanku

  • What Is iTunes Doing? 20 min. progress bar to write tags for 1 file?

    What the heck is going on? I try to simply write info tags for one new movie conversion. I'm looking at at progress bar (??!!!) for twenty minutes now. What is itunes doing? This is beyond spooky.

    ok, the writing tags to the video files thing I have seen before. I think in the end I switched to using a different program to convert videos, and it pretty much stopped happening. It puzzled me for a while, but after monkeying around with it I pretty much found it was a problem with the video file. If I had a problem with a certain file, then re-encoded it with different program, then the slow write to tags thing didn't happen. As for the hiccup playing video, that'll probably always happen to some extent. Is the usb drive idle before you are trying to play video off of it? Once itunes requests the video file from the drive it has to spin up the hard drive before it can play video from it. You could set your external drive to never spin down. Also check the firmware for the external drive, they often have updated firmware available for externals that no one ever checks on.

  • Disable monitoring for non-system disks.

    Hi all,
    Our backup server dynamically mounts disks (with drive letters) when it's backing up a Virtual Machine.
    These disks are giving a lot of alerts in our monitoring that we don't need, therefore we want to disable monitoring for these disks. What is the best way to disable monitoring for these non-system disks ? As I said, these disks are dynamically mounted and
    unmounted ...
    Any experience with this case ?
    Kind Regards,
    J. Monnens

    This is a bit surprising, since the logical disk discovery only runs once a day, plus it's not supposed to discover network and removable drives.
    That means that your disks are mounted when the discovery runs and that they appear as "real" logical disks...
    Unfortunately there is no "sync time" parameter for this discovery, which would have allowed you to specify the time of the day at which the discovery runs; thus allowing you to set a time at which you know the drives are not mounted.
    Is there any other parameter that could help identifying these specific disks, besides their letter, so you could add them to a dynamic group?
    Otherwise, what you could maybe try is to create your own logical disk discovery based on the native one, but with specific settings that would exclude your drives and then disable the native discovery.
    But this again implies that you have something that would let you identify specifically your mounted drives... Also the native discovery is a quite complex VBS, I wouldn't actually recommend disabling/modifiying it.
    Maybe I could have another idea with more details about your environment...

  • Please read the following diagnostics of hardware monitor for my system Macbook Pro

    Following report was generated through "HARDWARE MONITOR" software run on my Macbook Pro:
    CPU A temperature diode 43 degree
    CPU core 1 45 degree
    CPU  core 2 -44 degress
    enclosure bottom side -33 degre
    enclosure bottom side 2  -32
    degre
    enclosure bottom side pos 3 -33 degre
    main heat sink  -37
    northbridge position- 40
    degrees
    smart disk hitachi - 32  deghgress
    smart battery- 33 degrees
    CPU A temperature during system check was 75 degrees.
    please suggest me if it is ok for my new system and whether it would be advisible to use software like "Hardware monitor" to generate such reports intermittantly or there is any other alternative

    Welcome to Apple Support Communities
    Temperatures are normal, so your MacBook Pro is working correctly. Fans will turn on automatically when temperature is high, so don't worry about that. If you see that fans don't turn on, reply back because it would be a hardware problem

  • CCMSPING Availability monitoring for Cluster system

    Hi!
    I would like to know which entry in SOLMAN (tcode RZ21,  field Message Server Host Name) for the CCMSPING Availability monitoring of the satellite systemdoes apply?
    The satellite system was installed as cluster with 2 nodes.
    The problem is that I can see the node in RZ21 (Availability) but no data is shown
    I think possible are the following:
    first node (ABCD1234)
    seconde node (DFRG1234)
    ABCDdbpxx (virtual db node)
    ABCDcipxx (virtual instzance node)
    IP adress of the system
    Thank you very much!
    regards
    Thom

    The CCMSPING is used only to configure the logon check. After this there is a  data collection method CCMS_AVAIL_LOGON_CHECK responsible to update the status.
    The normal configuration the method run in dialog every 5 minutes. Sometimes a solution for this kind of "value is obsolete" is changing to background.
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/49/2fb95c65a116b4e10000000a42189d/content.htm
    Anyway, you also should check the ccms_selfmonitoring in RZ20.

  • Automated monitoring for backend system connectivity

    HI ,
    I have a requirement to monitor the system connectivity from portal to back-end (ISU/CRM/UME) and send an alert e-mail to admin group. It should check the connection on a regular interval (say every 30 min) and send a report.
    Can anybody suggest?
    Thanks,
    Manchari N

    Yes, tell me your customer and i will implement it ... Jokes apart, what do you expect? That we give you a complete solution? You should use the SCN if you have a specific problem but not to get your work done by others. I don't think you will get much help with such a thread.
    Best regards,
    Tobias

  • No progress bar for QT movies?

    Is there no progress bar in Safari or QT for to show the completion of downloading of embedded or separate QT movies? My .mov files just do nothing except show the big Q, say nothing, until the whole movie has been loaded.

    Hi William,
    I think I understand: You say you do "NOT want the movies to play automatically". This means that you don't want them to stream.
    In that case, I don't think there is a progress bar, unless the movie author has developed one. The built-in "progress bar" in QT is for streaming files. Even with Flash movies, the progress bar is authored; there's no automatic progress bar.
    If you do NOT want streaming, then maybe Enable Instant On should be un-checked.
    Otherwise, there are two preferences that affect a movie's automation: QuickTime >> QuickTime Preferences >> Browser >> Play movies automatically, and back up to QuickTime >> Preferences (plain ole' "Preferences") "Automatically play movies when opened".
    I happen to have the former checked, and the latter unchecked; but can't say how it affects the files (which I allow to stream).
    Have you tried the QuickTime Discussions to see if anyone has answers to your "stutter"? It might be worth searching around and posting your problem there; because it seems what you are saying is that you would want streaming if the delivery was smoother.

  • Loading dataprovider progress bar possible?

    Gidday
    I'm loading data out of SQLLite into an array in my AIR app, ready to populate a datagrid once the SELECT hs been successful:
    data_grid.dataProvider = new DataProvider(evt.data)
    It works really well, but I was wondering if there is a way to display progress?
    50 000 rows takes a couple of seconds to populate, and I'm catering for up to 200 000 rows.
    Is it possible to directly monitor progress of SELECT queries, and then for Flash to populate a dataProvider, or is it a case of having to split up the query into chunks of say, 10 000 rows, break, update a progress bar, then go back for the next SELECT?
    Also - similar topic - is it possible to set up progress for browseForDirectory type operations? I'm loading in large filelists and parsing the file names. I have set up progress tracking once the parsing starts, but cannot seem to do the same after the Event.SELECT listener kicks in, and I run this code in a function:
    var f1:Array = d1.getDirectoryListing();
            var len:int = f1.length;
            for(var i:int = 0; i < len; i++) {   
                f2.push(f1[i].name); //if current item in f1 array is a file, push it onto the f2 array
                f3.push(f1[i].nativePath);//save location of file
                if (f1[i].isDirectory) {
                    gL(f1[i]);
    Thanks guys!

    you can't display the progress of any single select query.  the best you can do is to break the select into several "chunks" or warn the user that your app will be unresponsive for some period of time.
    here's the general idea with chunking:
    Chunks
    For example, if you have a for-loop that takes 10 seconds to execute, your game will appear to freeze for 10 seconds after this loop starts. Nothing will update on stage and nothing will respond to user input. Either you should warn your user before starting that loop or you should break that loop into several smaller chunks that allow visual updates to the user so they do not think your game is broken.
    For example, this for-loop that adds odd numbers (and shows the first m odd numbers sum to m*m) freezes my Flash Player for about 9 seconds.
    var i:Number;
    var n:Number=3000000000;
    var s:Number=0;
    var startI:Number=1;
    var endI:Number=n
    var startTime:int=getTimer();
    for (i=startI; i<endI; i+=2) {
           s+=i;
    // 9 seconds
    trace((getTimer()-startTime)/1000,s,n*n/4,s-n*n/4);
    The following technique shows how to break this (and any other for-loop) into chunks that allow the Flash Player to update every second.
    var i:Number;
    var n:Number=3000000000;
    var s:Number=0;
    var startTime:int=getTimer();
    // This is the number chunks into which the previous for-loop will broken. If the // previous for-loop took about 9 seconds, using 10 chunks means there will be updates // about every 0.9 seconds.
    var chunks:int=10;
    var startI:Number=1;
    var endI:Number=n/chunks;
    var t:Timer=new Timer(100,1);
    t.addEventListener(TimerEvent.TIMER,f);
    f();
    function f(e:Event=null):void {
           for (i=startI; i<endI; i+=2) {
                  s+=i;
           trace("stage update",startI,endI,s);
           if (endI<n) {
                  t.reset();
                  t.start();
           } else {
                  trace((getTimer()-startTime)/1000,s,n*n/4,s-n*n/4);
           startI+=n/chunks;
           endI+=n/chunks;

  • Progress Bars

    Hello All
    I've been trying to get a progress bar to appear in a cell in a JTable. The Progress bar is to monitor the progress of a file copier i have written.
    At the moment i have a class that does the copying with a ProgressMonitorInputStream <- pretty sure this is wrong...
    and a JProgressBar <- the first parameter of the ProgressMonitorInputStream is my JProgressBar....
    I don't like giving in to the fact that i can't do it so if anybody could point me in the right direction... even a clue? I'd be very grateful.
    Frustratedly
    Fuzzy

    JTable has a cell editor which by default has a text field as the editor component and a default cell renderer which inherits from JLabel.
    One could extend this two inorder to change the cell appearance.

  • Need very simple ''progress bar'' or a ''Please wait notice'' in javascript

    I have a JSF portlet app, made in JSC. It uses remote EJB calls and some calls take a long time to finish. E.g. User clicks a button, some data are gathered, sent to an EJB and the app. is waiting for reply.
    For the user it looks like this: Click ... Internet Explorer progress bar flashes, nothing happens for 30s, then the progress bar starts from zero again and loads the next page in 15s.
    So I need a very simple notice in the middle of the screen, that will just say "Take a break, don't click the button again, please! ... " and animate a clock, a bar or whatever, maybe disabling the window so the user will not be able to push buttons. (The users are annoying folk!)
    The message should dissapear as soon as the next (or the same) page loads.
    I've never did javascript, so if anybody has a simple example code, I will be grateful and give him a duke or two. (And I really don't need the AJAX super-components)

    Martin, best of luck, i fought this same problem last year.
    Even when I got a progress bar on my page, it would not "animate" as IE apparently does not animate gifs after a form is submitted (and before the page is destroyed). I think I eventually got around this by adding an onclick event to my form submit that reset the image.
    Best of luck.
    Ideally, is there anyway that we can get this IE behavior (page loads, waits for X times, page loads again correctly) fixed? This is highly confusing to my clients.

  • Preloader progress bar not move in IE, but move well in Firefox

    I have been in this problem for several days. I really got
    frustrated about it. Pls. anybody can give me some help.
    I created a general preloader using movieClipLoader object
    and draw a progress bar using movieClip. I set the progress bar's
    progress by setting bar_mc._x = percentage, and created as a swf
    file. when test it , it works well, when open it using firefox, it
    still work well, can show the gradual progress in the bar, but if I
    using IE 6 or 7 to open it, it will not show the gradual progress ,
    just jump from 0% to 100% after the whole file is completely
    loaded.
    I saw a note about progress bar not show graduate progress in
    Flash Player 9, so I uninstall it and install Flash Player 8 again,
    it is still like that.
    I really don't know what 's the problem. Could any friends
    give me some suggestion or idea, that will be greatly helpful.
    Thanks.

    Have you contacted Project VII support or searched their knowledge base?
    http://www.projectseven.com/support/index.htm
    Also, is there any way to remove unused styles (in an external CSS) in DW? Just it would be a pain to go through and remove the styles I've tried, but then later decided not to use.
    Not exaclty a DW answer, but I've used the free FireFox add-on to help me find unused selectors. Point it to a sitemap.xml and it can spider the whole site (as listed in that xml file).
    https://addons.mozilla.org/en-US/firefox/addon/5392
    But be careful with it. It apparently doesn't read JavaScript and your PMM triggers are actually used.
    Mark A. Boyd
    Keep-On-Learnin' :-)
    If you are reading this via email, be aware that it may not be an accurate representation of my message. Login to read the actual message and/or to reply.

  • Progress bar in Table ivew

    Hi all,
    is it possible to have a progress bar a table view?
    After some test I have not got the result I need: I have set, in the expression field for that progress bar column, a numeric field (the numeric field belongs to the custom table I am reading), but the progress bars are completely full for each row of the output table (even though values are differents).
    Thank you,
    Diego.

    Hi Mario,
    thank you for the solution you suggested me. Now I just have to "persuade" my users!
    Jokes apart, I have also tried to import 5 GIF images, because 5 are the possible values of the numerical column, conditioning the visualization but during the rendering they were scaled (because of the height of the table row) and the bar images I have imported appeared invisibles and centered... not a big result!
    At times the imagination can be helpful but not this case.
    Thank you again.
    Diego.

  • Muse progress bar says installing but it isn't

    I am trying to install Adobe muse 2014.3 on an imac running OS 7.5 Lion, but the progress bar just stays up for hours without doing anything in application manager. I did try with an older version installed and updating but the same thing happened, so I uninstalled but it hasn't changed anything, still the same lack of action. There are no error messages or timing out, what am I doing wrong? All other Adobe software I have installed has worked fine through application manager by just clicking install.

    Hello,
    Adding on to Cari's suggestions can you please confirm if you are installing Muse CC 2014.3 from Adobe Application Manager or Adobe Creative Cloud.
    In case of any confusion please  make sure you are installing it from Creative Cloud application. You can download it from the link below.
    Download Adobe Creative Cloud apps | Free Adobe CC trial
    Once installed > Sign In with Adobe Id > Go to "Apps"> Install Muse C 2014.3 from the list
    Regards
    Vivek

  • Progress bar check-in...

    Developed a lot with Captivate but took a couple of years using web content and back doing some captivate again.  My question is, is there an easier way to do custom progress bars in versions 7 or 8?  Do we have to assign events/variables to each thing or is there an embedded way or widget that can handle this now?  We have an array of elearning we are going to publish soon that just uses either next/back buttons or auto-rotates so trying to find a way for user to see where they are are (slide % or make a slide part of progress indicator).  thanks for the help as always

    Well for some of the elearnings we would want every piece part of the progress so yes TOC would work but not the look we were gearing at.  For most though we would have maybe 5-10 major sections and once each section was done we would want the progress bar to progress.  I have handled this by creating events/variables to push back to an area of the page...  I was part of the adobe customer qa group back then and thought this was on their to-do list but maybe I am wrong about that.  It isn't that this is hard to do but the fact is I just do the harder things and manage a group that does these things and it can be complicated for the non-programmer type.

Maybe you are looking for

  • When to go for generic extraction using view and infoset query?

    Hi,                     Can anyone clarify me when we should go for generic extraction using view and when we should go for generic extraction using infoset query.... Also what is the difference between view and infoset? I tried but could not find ou

  • HOW TO INCREASE HD SPace - Logic FCP=almost full

    MBP 2.2 120GB HD, anyone know of a larger HD they can recommend at a decent price? Prefer 7200, but really want largest...also noticed there are some FW LAcie that apple sells also with eSata, but moving files means taking HD. I know the loops alone

  • ACE Configuration (urgent)

    I am facing problem with ACE configuration. I want to redirect 443 traffic to my Proxy Server. But I am not able to do this. I want to redirect only subnet 192.168.80.0/24 I have the following configuration access-list BC line 8 extended permit tcp h

  • My phone tells me I have a message, but then won't display the message?

    I recently purchased a Droid Mini. Whenever the phone is locked and I get a message, the phone lights up and tells me I have a message, but when I unlock the phone the message is not displayed. Messages that are delivered while the phone is unlocked

  • How to see the  file transfer speed on a mac

    Hi, I'm kind of a beginner with a Mac, I have worked on windows for all this years and now I have a small dilema. Can someone please tell me how you can see the file transferring speed on a mac. When you copy and paste from one drive to another, or f