How to monitor place in GzipInputStream

My app is processing a large .gz file using GZIPInputStream. I want to use a progressBar to monitor the processing of the file. How can I tell the current position in the inputStream, in order to work out the % done (i.e. (currentPostiton / fileLength) * 100 )?

Put a counting wrapper around either the GZIPInputStream or around the underlying InputStream.

Similar Messages

  • How to monitor sigtran links on a 7604 using mibs

    I've been looking the manuals but I was not able to find how to monitor sigtran links using mibs on a 7604.
    Some Cisco manuals points to URLs that doesn't exist. I would like also to know how to create traps about theses mibs.

    Simply do your integration as instructed by the guides, make sure all user/device/line associations are in place, add someone who doesn't have Jabber to your contact list, he will always show offline and will only show as on a call when he pickups the handset.
    EDIT: this will also happen for people who DO use Jabber, but do not log in.

  • RE: How to monitor who has what service objectconnection?

    We ran into this problem, specifically because we are using a dbsession
    connection pattern and the dba's did not like loosing control over
    connections. We have 8 subsystem, each with a dedicated connection that
    is shared across multiple users. We also have a security pattern in
    place that is token based. Since we have to pass a security token
    through service objects we can track this information using a
    "connection array" on the service object and a system agent to poll the
    contents of the array. When a sql statement is invoked on a
    persistence object we add the user to the array on the persistence
    manager (SO). When the sql is complete we remove the user from the
    array. Since the PO has a system agent we can ask the system agent at
    anytime, who has an open connection/session with the PO. Since system
    agents plug into econsole, the dba can go look any time.
    Any questions, please contact
    Chris [email protected] or
    Gary [email protected]
    MCI Systemhouse
    From: ADRIAN PEGGY LYNN
    To: [email protected]
    Subject: How to monitor who has what service object connection?
    Date: Tuesday, September 24, 1996 9:12AM
    Here at Eli Lilly & Co., we have a customer that would like to know if
    anyone out there has successfully
    devised a method to be able to tell what user has what service object
    connection. Basically, if a customer
    calls the system administrator with a problem with the application, the
    system administrator would like to
    be able to kill certain processes. Right now, the database connections
    running on the server all look the same.
    Some ideas were generated internally, one referring to setting up agents
    but we'd like to see if anyone
    has had success in doing this already that we could use as a contact.
    Thanks,
    Peggy Adrian
    Eli Lilly & Co.
    [email protected]

    Hello Peggy,
    I suggest that you make contact with Paolo Sidoli at DS Data (Italy). They
    have written a very nice package called DORE that includes trouble shooting
    utilities, that allow you to monitor what a remote user is doing (you can
    actually see their screen!).
    You can contact Paolo at [email protected]
    Best regards,
    Richard

  • How to monitor a specific transaction in Solution Manager ?

    Hi all,
    I have configured the Service Level Reporting and it works correctly.
    But i don't know how to monitor a specific transaction like SM21, DB02, FB01N etc... ?
    In the SL Reports configuration steps, we can configure this option : Select Business Processes For SL Report. I did a lot of tests but it does not work.
    Have i to configure the Business Process Monitoring ?
    Thanks.

    Hello,
    it depends a little on what you want to do. If you use the pure CCMS monitoring with the table ALTRAMONI you get average response time per instance and you only get new measurements once the status changes from green to yellow or red.
    In order to get continuous measurements you should look into Business Process Monitoring and the different documentations under https://service.sap.com/bpm --> Media Libary --> Technical Information. E.g. the PDF Setup Guide for Application Monitoring describes this "newer" dialog performance monitor. Probably you have to click on the calendar sheet in the Media Libary to also see older documents as well. As the Business Process Monitoring integrates with BW (there is also a BI Setup Guide in the Media LIbrary) you can get trendlines there. This BW integration also integrates back with SL Reporting.
    Some guidance for SL Reporting is probably given under https://service.sap.com/rkt-solman but I am not 100% sure.
    Best Regards
    Volker

  • How to monitor an application using JMX

    Hi,
    How can I monitor the portal application running on  portal server by using MBeans (JMX)? For this I need to make a connection between my portal application and  MBean class, How to monitor operations? How can I do that? If anybody has come across the same requirement pls explain me with the implementation details.

    Hello,
    I have done that in a project (not Portal, but pure Java Application, should be no difference), working fine.
    The steps are as follows:
    - create MBean Server (e.g. MBeanServerFactory.createMBeanServer("test");)
    - create your MBeans
    - make them accessible to clients (register the MBeans in the server)
    - query them from clients
    see http://java.sun.com/developer/technicalArticles/J2SE/jmx.html
    for very good explanation including sample source code.
    CSY

  • How to monitor OSD TS failure and get alert or report?

    How to monitor OSD TS failure and get some alert or generate an report?
    We have SCCM 2012 R2 CU1 with MDT 2013.
    I have checked the OSD reports in SCCM and everyone is emty, where do SCCM get data to the what to activate?
    (I thinking of "Task Sequence - Deployment Status" reports)
    I am not sure people read report manually or lock at the MDT monitor view. So best I think that generate an email or incident in Service Manager when an TS fails.
    We do have SCOM, SCSM, SCO.
    Is there anyone that can point what way or what option I have?
    /SaiTech

    Specifically you could use this Status Message Query syntax to monitor your Task Sequences for errors:
    select stat.*, ins.*, att1.*, att1.AttributeTime from SMS_StatusMessage as stat left join SMS_StatMsgInsStrings as ins on stat.RecordID = ins.RecordID left join SMS_StatMsgAttributes as att1 on stat.RecordID = att1.RecordID inner join SMS_StatMsgAttributes
    as att2 on stat.RecordID = att2.RecordID where att2.AttributeID = 401 and att2.AttributeValue = "DOJ200A1" and stat.SiteCode = "DOJ" and att2.AttributeTime >= ##PRM:SMS_StatMsgAttributes.AttributeTime## order by att1.AttributeTime desc
    Just replace DOJ200A1 with the Deployment ID of your Task Sequence and DOJ with your SiteCode.
    If you want to generate an alert if the TS fails then you could run a script that calls a utility (or similar) which sends a pre-configured email to a specified address (as an alternative to Torten's response). This could be placed in the built in error
    logging section of the SCCM integrated MDT Task Sequence when it fails which I assume you are using (right at the bottom, called Gather Logs and StateStore on failure).
    There are heaps of ways of generating an email from a TS and controlling error logging just do a search - as you have Service Manager you could even use your instance of Orchestrator and call a run book in your TS which does the email?
    Cheers
    Damon

  • How can we place a push button in ALV  report

    hi
    could anybody inform me
    how can we place a push button in ALV  report
    thanx
    regards
    kals.

    Hi kals.
    please have a look at demoprogram
    SALV_DEMO_TABLE_FUNCTIONS
    BCALV_GRID_05
    Regards
    Bernd

  • How do I place pictures into photo stream ?

    How do I place pictures into photo stream? (5s)

    Hi there Chirique,
    It looks like the article below may have the information you are looking for.
    iCloud: My Photo Stream FAQ
    http://support.apple.com/kb/HT4486
    -Griff W. 

  • How to monitor disk space in BW

    can some body help me out on the following issues.
    1)How to monitor disk space in BW?
    2)How can I delete Application logs in BW?

    When I research with DB02 transaction code in BW, I encountered following tables having lot of log , please some body can help me, how to delete the following log data?
    ARFCSDATA     ARFC Call Data (Callers)          
    BALDAT          Application Log: Log data     
    BSRWBSTORE     Storage for binary large objects (Excel)

  • How can I place calendars in multiple calendar groups?

    I would like to use a group for each of my family members but reference some of the same calendars from multiple calendar groups. Here is an example:
    Lets say I have a calendar for school, sport1, sport2, activity, family, and work
    I would like the groups to look like this:
    Me: family and work
    Wife: activity and family
    Son_1: school, sport1 and family
    Son_2: school, sport2 and family
    When a group is visible, that person can see the activities in which they participate. When several groups are visible, though, only single copies of shared events would appear and shared events would only have to be entered once.
    Is there a way to do this or do I need to place this on the feedback page?

    Bernd Alheit wrote:
    How can I place Windows Media Player in my PDF?
    Why want you the media player in a pdf file?
    e.g. pushing Mozart - button to listen to Mozart's music. But it must be a script not embedded player. Is it possible?

  • How many monitors can you use on a new imac with GEForce 780m?

    My husband bought a new 27" iMac with the optional GEForce 780m with 4 gig of video ram. He wants to know how many monitors he can run simultaneously, and at what resolutions. He would obviously be using the Thunderbolt ports to do this. I thought this information should be easily found in the technical specs for either the iMac or the video card itself on the NVidia site, but it is not.

    Catherine Gramze wrote:
    Ok, rkaufman. Can he use two 4k monitors in addition to his iMac display? He wants to know what his options are in terms of number of monitors and the resolution. Yes, I know which monitor you buy will be the limiting factor for the actual display, but he has not yet purchased these additional monitors. If thunderbolt allows him to run 3840x2160, how many of them can he run at once at 32 bpp? How many if he chooses 2560x1600 instead?
    To be honest I don't know how many Thunderbolt displays he can run, I would STRONGLY recommend contacting Apple to ask. You can ask the online store (phone number is in upper right of it's home page) or if you have an Apple Store in your area, making an appointment with a business specialist and asking that question.

  • My computer crashed so i had to reformat, but the only problem is i lost my old itunes account, had to download new version. Now i have an ipod full of music but how can i place all my music I have on the ipod into my new itunes account??

    my computer crashed so i had to reformat, but the only problem is i lost my old itunes account, had to download new version. Now i have an ipod full of music but how can i place all my music I have on the ipod into my new itunes account??

    Not if you first do a sync and have iTunes make a backup. However, if your only copy of the iTunes data is in the Touch, then you need to first copy the data to a new iTunes Library using third-party software such as Phone To Mac.

  • How to monitor all SAP Server through solution Manager?

    Dear Friends,
    How to monitor all SAP Server through solution Manager?
    Is it possible if yes then how? Please forward configuration and transaction also.
    Please help me as early as possible..
    Thanks,
    Regards,
    Sachin

    Hi sachin,
    You can monitor your sattilite systems through solution manager.
    If you want to monitor systems in solution manager means you need to configure those systems in solution manager.
    Before including the systems in solution manager we need to create a solution using tcode <b>DSWP</b>.
    After that you can include the systems using tcode <b>SMSY</b>.
    For configuring the systems we have lot of phases its very difficult to explain here.
    Try to login to<b> service.sap.com</b> and <b>help.sap.com</b> find the helpfull guides.
    i hope it will help you.
    any issues post it.
    kiran kumar.v

  • How to monitor oracle 11g database sessions on Windows 2008 server?

    Hi Experts
    How to monitor the Oracle 11g database sessions on Windows 2008 server (other than SQL Developer tool), which procedure or query is taking more time with Java application.

    Recently i found this tool- myorasql on the net to monitor the performence of database, easy to setup and check the performence.  i never tested it but seems impresive.  It is free and i think it would be use ful to you.
    http://myorasql.com/
    You can also use Quest - Toad or sqlplus if you are very good at sql commands and all dictionary tables or OEM/EM grid if it is configured .

  • How do I place a SubReport on the last page of a report?

    Post Author: KPichelman
    CA Forum: Crystal Reports
    I am using CR 9.0 and C# to create a report.  Now I need to place a subreport (a signature box) on the last page of the report and I seem to be having difficulties.  I will not know the number of pages until runtime which I seem to be able to get using:
    int rptLastPageNum;ReportPageRequestContext req = new ReportPageRequestContext();rptLastPageNum = oReport.FormatEngine.GetLastPageNumber(req);
    Now, how do I place a subreport in the lower right corner of page "rptLastPageNum"?  Is it possible to do it in the report itself or is there a way to do it in my C# code?  One solution would be to put it in the footer of the report but unfortunately that doesn't work for us as there is another subreport to the left that will need to be shown next to our subreport, not above it.Thanks!!

    Post Author: heathdallison
    CA Forum: Crystal Reports
    have you tried making a section in your report footer to hold your subreport and then using the section expert to make that supress using something like:{current page number}  < {total page number}

Maybe you are looking for

  • Is there a way to access remote login and screen sharing logs?

    I have a very high suspicion that my macbook air has been accessed through remote login. Here's what happened. I closed my macbook air, letting it sleep, and left my house. After coming back I found it logged into the Guest account (which I didn't kn

  • Clock-in and Clock out timings in ESS

    Hi, My client want to display the Clock-in Clock-out timings recorded at the terminal (we are not using CATS) to be displayed in ESS portal.Pleae let me know where (in which node) and how to do this. Thx J

  • Indian programmer for remote programmin​g

    I am looking for a programmer based in India to develop data acquisition software for my company.   I've done it in the past and it is easy enough to set up.

  • Error at the time of opening XL reports

    Hi All, I am facing error when i am opening XL reporter reports. The error is "Security setting in microsoft excel prohibit XL reporter from running" which options i have to update from microsoft excel? Pls help me. Thanks. Nilay Shah

  • LifeInSharepoint Metro UI Sandbox and File Not Found

    We just deployed the LifeInSharePoint Metro UI solution, and we are now experiencing login problems. Site Collection Administrators can log in to the site and access all pages without incident. But site owners cannot login to the welcome.aspx page: