Print out to the console

I'm writing a program to update something to the console. Let's say I have some fields like this:
client1 Name1 ID1 value1
client2 Name2 ID2 value2
the number of client could be changed, but not much. I would like to update the value field on the console, say, every 5 seconds.
How I could do that? It's much like some Linux/Unix program as top. System.out.println surely doesn't do the job.
Thanks in advance for your help.

Well, I'm new to gui application on linux. Couldyou
tell me in a few words how to do it? Which libraryI
should use? Thanks,Look into swing, it's a part of the standard library.Swing couldn't run on Linux/Unix without X server requirement. What I need is a terminal based application.

Similar Messages

  • How do I get a PDF document put into an attachment form that I can drag to an e-mail.  Usually I get an icon showing an spiral note book which then becomes an attachment when I drag it to the e-mail, but occasionally it stays in PDF and prints out on the

    How do I get a PDF document put into an attachment form that I can drag to an e-mail.  Usually I get an icon showing an spiral note book which then becomes an attachment when I drag it to the e-mail, but occasionally it stays in PDF and prints out on the e-mail.  What have I done differently?

    Thanks again for the detailed instructions Srini!
    And I really hate to be a pest . . . but . . .
    Using your example and not modifying it, I get the e-mail form filled out correctly and the pdf attached, however, I'm not prompted to sign it.
    Any more clues?

  • How to take the print out of the entire data from the waveform chart

    i am using cont acq to spreadsheet file.vi to acquire data from a number of channels. this vi also plots the acquired data on the waveform chart. i want to take the print out of the entire data. how can i do it ?
    also how can i take print out of the data between given interval??
    please reply me
    thank you

    There are a number of different ways of achieving your goal. Depending on which version of LabVIEW you have and which development environment, the Report Generation Toolkit is a very powerful tool. Attached is an example that prints the acquired data without the use of additional toolkits.
    Jonathan Hildyard
    Applications Engineer
    National Instruments
    Attachments:
    DAQ_with_Print.llb ‏115 KB

  • How do I keep BI Publisher running when I log out of the console in linux?

    I am using the standalone version of BI Publisher and I want to keep it running even after I log out of the console. I have a script that starts it so I typed 'nohup start_bipub.sh &' but when I log out it shuts down anyway. I started my apache server the same way and it still runs after I log out so the only thing I can think of is that X is being killed due to the logout and BI Pub needs it. Is there anyway to keep this process running?
    Thanks,
    Denise

    It depends on the data path from the tower you're using, through NATs and many routers, all the way back to the server. Which depends on your current location and sheer luck.
    For some users, the data path stays alive for 30-45 minutes at a time... thus the phone only has to ping the server that often for push to work. Their push doesn't use much battery.
    Other users have the misfortune of being connected via pathways that only keep a connection alive for 5-10 minutes. Their iPhones eat battery like crazy, and they usually end up switching to a 15-30 minute timed fetch instead.

  • Server grayed out in the console

    Hello,
    I have several servers which are becoming grayed out in the console very often.
    I found the article http://support.microsoft.com/kb/974722 but it did not apply as I have already SCOM 2007 R2 CU7 .
    on #1 the event 
    Event Type: Error
    Event Source: Service Control Manager
    Event Category: None
    Event ID: 7031
    Date: 9/15/2014
    Time: 10:24:36 AM
    User: N/A
    Computer: VOSMARTPUMP1
    Description:
    The System Center Management service terminated unexpectedly. It has done this 5 time(s). The following corrective action will be taken in 60000 milliseconds: Restart the service.
    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
    is happening after each restart of the healthservice then it becomes event id 7034
    Event Type: Error
    Event Source: Service Control Manager
    Event Category: None
    Event ID: 7034
    Date: 9/15/2014
    Time: 10:25:57 AM
    User: N/A
    Computer: VOSMARTPUMP1
    Description:
    The System Center Management service terminated unexpectedly. It has done this 7 time(s).
    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
    any idea?
    Thanks,
    DOm
    System Center Operations Manager 2007 / System Center Configuration Manager 2007 R2 / Forefront Client Security / Forefront Identity Manager

    Hi,
    How is antivirus software configured?
    Recommendations for antivirus exclusions that relate to Operations Manager
    http://support.microsoft.com/kb/975931
    What if you reinstall the agent on one server, still the same error?
    Same issue here:
    http://www.networksteve.com/enterprise/topic.php/scom_2007_r2_-_Health_Service_will_not_keep_running/?TopicId=62587&Posts=0
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • SRM PO's to be printed out with the PO

    Hello All,
    I have a requirement in my current project wherein the  attachments with SRM PO's are to be printed out along with the PO.
    In the SAP implementation guide for this it is mentioned that `SAP
    delivers a standard implementation with which you can print and fax
    attachment documents' and also mentions that to implement the BAdI ie
    BBP_DOC_PRINTDOC the requirement is of installing the SAP interface
    External Document Converter (XDC) of the SAP component Print and Output
    Management (BC-CCM-PRN).
    Does this mean i  need a third party tool to make this possible or SAP provides a standard with which we can print and Fax attachement documents.
    Regards,
    Sreejesh

    Hi,
    here is a SAP document and thread (found in abap general SDN forum) where you should post your question.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6e33a590-0201-0010-0197-99896fd22cda
    XDC - External Document Converter
    Kind regards,
    Yann

  • Help before I throw this printer out of the window!!!!!!!!!!!!!!!!!

    I have just purchased a Deskjet 2540 all in one printer - I will only ever need to print boarding passes etc. -
    this looked so good on Amazon ideal for my iPad and said how easy to set up!!! In my dreams - I have now spent 10 hours
    Trying to set this up and last night was close to cracking:-
    I am setting this by wirless. I have the password and the printer showing on my iPad.
    Each time I try and load the softwear I am told an unexpected error has occurred please try again later - I
    Have tried and tried to no avail. Apple staff have said I do not need this softwear????????
    The network test results say:-
    1 check the printer network name ssid matches your wireless router network name ssid exactly!!!!!
    2 if they do not match exactly, run the wireless setup from the printer software to configure your hp printer!!!!!
    But no where can I find how to do this and sorry I really do not understand what this means.
    Reading Amazon some people have set up in 15 min!!!!
    The cost of bringing in an expert to set this up is worth more than the printer cost!!!!!!
    Thanks for reading feel better letting of steam will defiantly be a 0 from me for the feed back to Amazon

    Hello SueJon,
    Welcome to the HP Support Forums!
    I hope this reply finds you with the printer not thrown out of the Window. Regarding the Deskjet 2540 setup to work with the iPad, I would like to help.
    There are two ways that you can print from the iPad to the 2540. The first, Wireless Direct. Wireless Direct is a network that the printer broadcasts and the iPad would connect to it. This method will leave the iPad with no other network access while connected.
    Second, and more functional, is having the printer connected to the same network that the iPad is connected too.
    In order to setup this connection, follow the steps outlined below;
    Turn Wireless Direct on from the front panel button on the printer. (number 4).
    Connect the iPad to the printer network, Settings> Network> HP-Print-2540.
    Open Safari and type this I.P address into the address bar, 192.168.223.1 and hit Enter.
    Go to Network or Wireless and then Wireless Setup Wizard.
    Select your network and enter the needed information.
    Once connected, the Wireless light should be solid, connect the iPad back to your network. To print, open a document, hit the Share button (), and if an option to print is available you will be able to select the print option.
    I hope you find this information helpful.
    JERENDS
    I work on behalf of HP
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to the left of the reply button to say “Thanks” for helping!

  • Is It Possible To Print Out All The Names In Address Book At Once?

    I have got rather a lot of names and email addresses in my Address Book.
    I would like to print them on a few sheets of A4 but the only print options I can find are to print out a single card (with one name) at a time.
    Is it possible to print them all in one go?
    Ian.

    Yes, this is very easy. Select the 'All' group, then choose Print from the File menu. Choose your printing options from the menus and send it to your printer.
    Mulder
    If this answered you question, please consider awarding some points. Why Reward Points?
    iMac G4 700Mhz   Mac OS X (10.3.9)  

  • When I print one of my Yahoo emails, the text of the message doesn't wrap, so is cut off,and the side bar with Inbox, Sent, Drafts, etc is printed out with the message.

    When I print a Yahoo email, the text does not wrap (it used to) so part of the text is cut off. Also, the side bar that list my Inbox, Drafts, Sent, etc is printed out along with the email - it didn't used to and because of that, there is not enough room for all of my email. I tried resetting it to Shrink to Fit, but that didn't help; also tried changing the print setting from 100% to 60% but it still doesn't fit on the page.
    == This happened ==
    Every time Firefox opened
    == Today

    help I have the same problem. it just started recently. I didn't change anything and all of a sudden my printed emails have the entire sidebar and also does not wrap the text so parts are missing.

  • Is it possible to get a print-out of the Firefox Help screens? How do I do it?

    I'm not a computer geek and I'm having great difficulty getting my head around using Firefox with Windows 7. It might be easier if I could print out the Help Screens to create a User Manual that I could follow in step-by-step fashion,
    How could I do this?
    Thank you in advance.
    John Crawford.

    Select the text you wan't to print out.
    Then pres ctrl+c and open word or notpad,
    and press ctrl+v then print it out.

  • Printing out of the Tracking Workspace

    After I create a layout in the tracking workspace I am unable to print out the information. When I go to Print Preview all I am able to see is the information located on the top right view within the tracking workspace.
    How can you print a resource profile and resource spreadsheet out of the Tracking Workspace?
    Or is this another one of Primavera "Enhanced requests" issues?
    Thanks
    Brandon

    bdub81 wrote:
    After I create a layout in the tracking workspace I am unable to print out the information. When I go to Print Preview all I am able to see is the information located on the top right view within the tracking workspace.
    How can you print a resource profile and resource spreadsheet out of the Tracking Workspace?
    Or is this another one of Primavera "Enhanced requests" issues?
    Thanks
    BrandonYou have to tell the program what you want to print.
    If you goto page setup under options you can chose the Gantt chart as well as the usage profile to be printed.
    Also, it is Enhancement request, not enhanced.
    -Jason

  • What I see in Preview does not print, only the Layout Topics print out, not the type in the body of the document

    I have received a template document. The sender filled in with black type, making the document 9 pages. When I bring the document up in Pages I see everything, the preformated words, and the type. However, when I print it, only the preformated (or template) words appear in blue. I want the entire document so that I can edit it. I checked "help" and from what I can read, everything should print. I am a new user, both to Mac and Pages. Can you help me? Thank you in advance.

    When you get a problem like this check if the problem is isolated, so create something in another application like TextEdit and try printing that to see if it occurs there as well which would indicate a problem with the printer.
    Further check that you have updated everything to the latest version.
    How new is new user? Since you are still on OSX 10.6.8, it seems not that new.
    Peter

  • Runtime print out on the ServletOutputStream (like a printout on console)

    Hi all,
    i need to do a thing.
    I've a webapp with a lot of output. i would printout on a servlet the output of this project but in realtime.
    my first trial was to pass the servletoutputstream to the other classes and use this stream to printout the output. But the output is displayed only when the process is done.
    how can i see the output when the process is still running?
    thanks

    ELStefen wrote:
    thanks for your reply,
    i solvedi in this way:
    i create a static class that has an hasmap<String,Vector> the string is the key, the vector is all the output.
    this class has some method to fill in the vector.
    when the computation is finished i retreive the vector from the class and printout all the things.
    if i want to do in realtime i only need to create an ajax poller system that takes the data from that class.
    is working an i think is good enough.
    thanksI just want to (re) caution you that this will eventually lead to problems. You are storing everything in memory. Ideally (and this includes your algorithm for processing), you want to read from a stream and hold onto only the items that are necessary in memory. For example, aggregated values like totals or ongoing calculations. Storing everything in memory "works" (and works fast) but normally shows issues when you have multiple users or multiple simultaneous requests (or both).
    - Saish

  • My printer now prints out in the wrong colours or not at all, why?

    Hi
    I am using a photosmart 5515 driver version 3.5.2 on a mac IOS version 10.6.8.
    My problem is that up until recently I have been able to print without any problems and then all of a sudden the printer is printing documents in a very pale blue colour instead of black.  If i change the presets it sometimes doesnt print at all just churns out blank pages after going through the motions of printing ie the ink carriage moving across the page.
    I have tried uninstalling and then reinstalling the original software without success.
    I have also taken it back to PC World where I bought it from who did a test print successfully.
    I am therefore thinking it must be a communucation problem but I dont know what.
    Help please

    I would Update printer driver
    I would try with another computer
    If same issue i would have a talk with the printer maker

  • Problem with "extends" ,why my code print null on the console?

    two classes work together.
    //Super class is :
    public class Father
         public String data = "father";
         Father()
              printData();
         public void printData()
              System.out.println("fatherprint->"+data);
    //it's Son class is :
    public class Son extends Father
         Son()
         String db = new String("son");//in the printData method ,it print null.
    //here, if it define like this: static String db = new String("son");
    //then the output works well.
         public void printData()
              System.out.println("output ->"+this.db);
         public static void main(String[] args)
              Son son = new Son();
    when i run the Son.java ,it just print "output ->null"?why is so?
    hoping for your tips.

    Because the superconstructor Father() is run before the fields in Son are initialized. The superconstructor calls the overridden method printData() in Son. Only after the superconstructor is run do the fields in Son get initialized.
    Also, there's no reason to say = new String("..."), you can just use = "..."

Maybe you are looking for

  • Video Ingest Options

    I was hoping to get a little guidance from folks on an idea I had.  Long story short, I have a  Sony mini-dvd camcorder that has been giving me fits in Premiere.  The video it takes looks good on the DVD but when I import it into Premiere the end pro

  • Mac OSX 10.9.4 Internet Issue

    Hello, I recently updated my OS to 10.9.4 and started getting some Internet problems after the install. Before the update, my Internet was working fine, but afterwards, my browsers (Safari and Chrome) started restricting website access. Now, I can on

  • IPhone 3gs is no longer charging

    After an unfortunate accident, my iPhone has been having weird charge cycles. Every time I plug it in, it will charge like normal for a second and then give me the message "Charging is not supported on this accessory". The extremely odd part is that

  • Ever since I downloaded OS X Mountain Lion I get and error message that says my start up disk is full.

    I downloaded Mountain Lion about a week or so ago. Ever since then I have constantlly been getting this very annyoing message saying: "Your Mac OS X startup disk has no more space available for application memory" And makes me force quit safari, mail

  • Printer sharing with Epson printer not working

    I have an iMac using OS X 10.5.5 with 2 printers, an Apple LaserWriter Select 360 and an Epson Stylus Photo 820. I want to share these printers with Windows XP machines. The Apple LaserWriter works fine. I can print from the Windows machine without a