Redirect input/output of a program and view it at any time?

I'll start by saying I don't have a complete understanding of how I/O works in Linux terminals. I have a game server set up, and to run it, I execute the server .jar file. This then causes the server software to use the current screen for I/O (I'm not running an X server - I don't want a GUI). Is there any way I can sort of redirect this I/O in a way that I can access it at any time from SSH and interact with it? Any help would be very greatly appreciated. Thank you!

DSpider wrote:
When you say input/output, what exactly do you mean? Read/write speeds, network, upload speed, what?
Because you can probably SSH and run iotop. It's just like top but for disk writes.
You can also tail a log file and see the changes being made as they happen (if the game server provides logs, of course).
By input/output, I meant that of a specific program. I've figured this out with screen - it does just what I want. However, now I'm having another problem. My /etc/rc.local contains this to start the game server:
#!/bin/bash
# /etc/rc.local: Local multi-user startup script.
su - huskehn -c "cd /home/huskehn/minecraft/server/; screen -S minecraft java -Xms1G -Xmx1G -jar minecraft_server.jar nogui"
The purpose of the script is to cd to the game server's directory and create a new screen, as my user and not as root, and execute the game server within the screen (that's the java command and everything after it). If I run this script by logging in and typing /etc/./rc.local, it works just as I want it to and the game server starts. However, on system boot, it doesn't seem to run. The game server never starts. Is there some kind of log I can view that could tell me why this is happening?
Last edited by Huskehn (2012-04-24 00:06:02)

Similar Messages

  • How to insert a link of file in the form and view it at any time i need

    Hi
    I'm using developer 2000/Form designer form version 4.5
    how i can insert a link of any file Word, Excel, PDF, JPG in the form run time
    and open it from the form at any time i need
    example
    i have employ table which contain details of the employ and i want to attach a link of his photo which i already saved it in local drive
    so when i have a new employ i enter his details and brows of his photo and when i select the link of the photo will be with his other details
    and when i need to view the details of the employ just enter the emp_no and i will get details including the photo link and when i want to open the photo just double click the link
    any body can help me on this
    regards

    Hi,
    I think you should investigate in how to upload the information into the database. If the employee keeps the photo on the local drive then this isn't realy for everyone to use
    Your options are : Upload to the database as ImageItem
    Frank
    Ps.: Forms 4.5 is desupported

  • How to input/output a digital signal and acquire an analog signal at the same time?

    Dasylab, version: 8.0.04
    Acquirement Card: PCI1002L
    When I use DasyLab to acquire the analog signals is no problem without digital inputs and outputs,
    and when I use DasyLab to input or output a digital signal is no problem also, but when I do that at the
     same time, DasyLab tell me the rate is too high and stop.
    so, I searched the manual book1 (user guide) for that, it showed me :
    To internally equalize measurement time and system time in the analog input, digital input and counter
    hardware modules, use the following settings:
       Synchronization: PC Clock
       Sampling rate: <= 5Hz
       Block size: =1
    the problem is, if I set the Sampling rate to 5Hz, the speed of the acquirement datas is not enough for my
    application.
    so, how to improve it? who can give me a example programm for me. thanks!
    by the way, I come from China, my English isn't good, I'm sorry.
    Allen, China.

    Hi,
    Have things changed over the years?
    I need to syncronise a digital output (Modul NI9474) and an analoge input (AI-Modul NI9203) module. I need to measure time intervals from a flank in signal A to a flank in signal B. I would like accuracies of the order of 1 ms. Currently, the signals are not synchronised, with errors of the order of 2 times the block length (block size x sample rate), sometimes much higher. The best I got so far was a block size of around 20 with a sample rate of 1 kHz.
    If I use the master and slave settings on the RTSL settings, my program doesn't run properly.
    If I use digital signals for input and output, I can syncronise them with RTSL settings and everything is good, but I can't always do that.
    Also, if I do anything in the GUI (such as scrollowing something or going to another window), my output gets screwed up properly.
    1. What can be done to synchronise AI with DO?
    2. Is there something that can be done to avoid messing up the output when something happens in the user interface? (I know that I am messing up the outputs as they make some valves switch and that is loud).
    Thanks in advance!

  • Pb of input/output error between iPod and my PBG4

    Hi
    I have a iPod Nano 2Go and I get all of the problems listed here : wether I try to restore or use the Disk mode, nothing worked ;
    all that I could get was a message of error : one saying "1418 error" and other saying "input output error". I tried everything
    all I only did was disconnect the ipod when I didn't have to do it.
    I have this ipod since last month, and I am really disapointed of that problem
    the worst is that Apple doesn't seem to care about it.
    Is anyone getting any idea about that...???
    Thanks
    Kriss / F.Guiana

    I suggest that take a read the following first, and find a PC connect your iPod with it and follow the instruction
    http://discussions.apple.com/thread.jspa?threadID=640556&tstart=0

  • I get more and more "input/output error" I erased and reinstalled

    I am getting more and more "input/output error" on a multitude of subjects . I cannot repair the problem even though I have done a complete erase and instal.
    I have a core duo intel based unit with 4 GB ram running 10.6.7.

    It sounds like your hard drive is failing. If you haven't already done so, back up as much data as you can, then take the unit to an authorized service provider for testing.

  • How do I log into more than one email account and view at the same time?

    In the past, I could log in to hotmail.com and open and view more than one email account in firefox. I must have closed something, so now I can't do that?
    HELP???

    Hi Shasanka,
    ofcourse it's possible to control more than one instrument at a time.
    You should use the VISA routines to access all your devices. Every device get it's 'address' as 'VISA resource name'. This resource name contains information on the used bussystem and the (internal) device address (i.e. GPIB devices have an address number).
    So I suggest to read the manual and to look at the examples that come with LabView!
    And (from your question) it seems you should take the 3 or 6 hour seminar as well! (Look at www.ni.com -> academics.)
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • I want to start objective-c programming and app development. Any pointers as to what affordable hardware and software is good enough for absolute beginners?

    I'm interested in learning objective c programming and iOS software programming. I want to get an affordable macbook for that purpose. any advice on the hardware specs and software tools to get me started? I also like to do the general tasks on the device....

    If you're new to iPhone development, then you should definitely read this first:
    My First iPhone App, a Programming Tutorial.
    In a nutshell if you want to develop for the iPhone:
    You need a Mac Computer of some kind, Mac Mini, iMac, MacBook etc. You cannot develop for the App Store on a Windows or Linux PC.
    Join the Free iPhone Developers Program. This gives access to the SDK and Xcode development system which you download and install. It includes an emulator so you can test most apps except those which need hardware such as the camera or GPS.
    Pay $99 a year for access to the developer program. This lets you install apps on your own iPhone/iPod Touch/iPad. It also gives earlier access to betas and past versions of the SDK.
    Development Process
    So you've been developing away and have got a version that runs in the emulator. Next you've paid your $99 and been accepted in the developer's program. This means you can now try your app out on your iPhone. Here is an overview of how you do that. Apple's developer website provides a lot more detail.

  • Windows 7, 64 bit, iTunes 10.3. Nothing works anymore! I keep getting error 7, 14001 along with a side by side app error. I've tried wiping out all apple programs and re-installing a 100 times, nothing works. I've been messing with this 2 weeks!

    I've searched the net , and I've noticed a lot of people seem to b having this same problem. I've tried everything I can think of. I'm out of options and getting rather annoyed with apple. Please help me!  I think I've given all the info needed about my operating system. Windows 7, 64 bit, iTunes 10.3. I've erased everything re-installed it, no joy; removed again and downloaded QuickTime and iTunes separately, no good; I've removed and re-installed numerous different ways, numerous times and nothing works. All of the apple programs that are installed with iTunes have this same error.  Ive been messing with this for over 2 weeks! Any help would be appreciated, especially if it works!!!!

    I've searched the net , and I've noticed a lot of people seem to b having this same problem. I've tried everything I can think of. I'm out of options and getting rather annoyed with apple. Please help me!  I think I've given all the info needed about my operating system. Windows 7, 64 bit, iTunes 10.3. I've erased everything re-installed it, no joy; removed again and downloaded QuickTime and iTunes separately, no good; I've removed and re-installed numerous different ways, numerous times and nothing works. All of the apple programs that are installed with iTunes have this same error.  Ive been messing with this for over 2 weeks! Any help would be appreciated, especially if it works!!!!

  • I just tried to connect and sync my iTouch (4G) to iTunes and I got an error message that said :This iPod can'be used because  Apple Mobile Device service is not started". I tried searching my PC for the program and no luck. Any suggestions?

    I just tried to connect and sync my iTouch 4G to iTunes and got this error message: " This iPod can't be used because Apple Mobile Device service is not started". I just did the upgrade fo Safari and iCloud.   Any suggestions?
    Thanks!
    Dan Farrell

    I corrected the link in the previous post you responded to, but here is the correct link again.
    http://support.apple.com/kb/ts1567
    B-rockt

  • I fried by hard drive and I would like to know if I can retrieve my programs and/or data from my time capsule. If so, how do I go about doing that?

    I need to retrieve my iTunes, tax receipts, and critical documents. Apple inadvertantly sent my hard drive to be destroyed so I've lost whatever is not on the Time Capsule. My mini would do automatic backups, but I don't know how to transfer my information to a new computer from the Time Capsule. Appreciate any help.

    Mac Basics: Time Machine

  • What is difference between report programming and dialog programming?

    hi,
    what is difference between report programming and dialog programming? plz provide some example code
    bye

    ABAP programming
    Basically reports are used to read database and represent the results in lists.
    Reports are collections of processing blocks that the system calls depending on events.
    We can use reports to evaluate data from database tables.
    Reports are stand alone programs and controlled by events.
    A report itself never creates events
    steps in report:
    Processing the selection screen
    Reading the database
    Evaluating the data and creating lists
    Outputting a list.
    1st u write simple logics, after that u can enhance the code as step by step.
    http://venus.imp.mx/hilario/Libros/TeachYrslfAbap4/index.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/d1/802cfc454211d189710000e8322d00/frameset.htm
    http://www.sapdev.co.uk/reporting/reportinghome.htm
    Dialog Programming
    Structure of a Dialog Program
    A dialog program consists of the following basic components:
    Screens (dynpros)
    Each dialog in an SAP system is controlled by dynpros. A dynpro (DYnamic PROgram) consists of a screen and its flow logic and controls exactly one dialog step. The flow logic determines which processing takes place before displaying the screen (PBO-Process Before Output) and after receiving the entries the user made on the screen (PAI-Process After Input).
    The screen layout fixed in the Screen Painter determines the positions of input/output fields, text fields, and graphical elements such as radio buttons and checkboxes. In addition, the Menu Painter allows to store menus, icons, pushbuttons, and function keys in one or more GUI statuses. Dynpros and GUI statuses refer to the ABAP/4 program that control the sequence of the dynpros and GUI statuses at runtime.
    ABAP/4 module pool
    Each dynpro refers to exactly one ABAP/4 dialog program. Such a dialog program is also called a module pool, since it consists of interactive modules. The flow logic of a dynpro contains calls of modules from the corresponding module pool. Interactive modules called at the PBO event are used to prepare the screen template in accordance to the context, for example by setting field contents or by suppressing fields from the display that are not needed. Interactive modules called at the PAI event are used to check the user input and to trigger appropriate dialog steps, such as the update task.
    All dynpros to be called from within one transaction refer to a common module pool. The dynpros of a module pool are numbered. By default, the system stores for each dynpro the dynpro to be displayed next. This dynpro sequence or chain can be linear as well as cyclic. From within a dynpro chain, you can even call another dynpro chain and, after processing it, return to the original chain.
    Check this link for basics.
    http://sap.mis.cmich.edu/sap-abap/abap09/index.htm
    Check this link for Dialog Programming/Table Control
    http://www.planetsap.com/Tips_and_Tricks.htm#dialog
    Check this SAP Help for Dialog Program doc.
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9cdc35c111d1829f0000e829fbfe/content.htm
    Check this SAP Help link for Subscreens.
    http://help.sap.com/saphelp_nw70/helpdata/en/9f/dbabfe35c111d1829f0000e829fbfe/content.htm
    Check this link for subscreen demo program.
    http://abapcode.blogspot.com/2007/05/demo-program-to-create-subscreen-in.html
    Also check this link too.
    http://abapcode.blogspot.com/2007/06/dialog-programming-faq.html
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9cdc35c111d1829f0000e829fbfe/frameset.htm
    http://sap.mis.cmich.edu/sap-abap/abap09/sld004.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/52/670ba2439b11d1896f0000e8322d00/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/52/670c17439b11d1896f0000e8322d00/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/52/670c17439b11d1896f0000e8322d00/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9ccf35c111d1829f0000e829fbfe/frameset.htm
    http://abapprogramming.blogspot.com/

  • Global,intilization,input ,output parametrs to be assigned

    hi guys these is layout of my form to be added to existing smart form and fields to be added are below ,now can what should be added in global,intilization,input ,output parameters to be and in the  interface section and how should i create layout
    1     Whs BOL     VBAK-VBELN     Field is mapped from order header
    2     Order No     VBAK-VBELN     Field is mapped from order header
    3     Customer PO     VBKD-BSTKD     Field is mapped from order header
    4     Ship To     KUWEV-KUNNR     "This is field is mapped from order header to delivery header
    Ship to need to populate the fields below"
         Ship to Name          
         Ship to Address          
         Ship to City, State, Postal Code          
    5     Material No     LIPS-MATNR     Field is mapped from delivery item level
    5a     Legacy Item #     MARA-ZZQNUM     Field is mapped from material master
    6     Description     LIPS-ARKTX     Field is mapped from delivery item level
    7     Ship Qty     LIPSD-PIKMG     Field is mapped from delivery item level
    8     Unit of Measure (UOM)     LIPSD-VRKMP     Field is mapped from delivery item level
    9     Pallets     VEKP-EXIDV     Count of VEKP-EXIDV for LIPS-MFRGR
    LAYOUT
    Whs. BOL:                Customer PO:                    
    Order No:                                   
    Ship to:                                    
    Material No     Description     Ship Qty     UoM          Pallets          
    010018500013850003     16OZ 1/12 LPT ICED TEA PEACH       216     CS          2.00          
    904560                                   
    010018500013850005     16OZ 6/2 LPT ICED TEA RASP       108     CS          1.00          
    904561                                   
    010018500013850006     16OZ 6/2 LPT ICED TEA SNL       324     CS          3.00          
    904562                                   
    010018500013850007     16OZ CAN 1/12 MTN DEW AMP       118     CS          1.00          
    904563                                   
         POINTS WILL BE AWARDED TO ALL ANSWERS

    Hi,
    In form interface u have to define the fields or tables which all are u passing from the program.
    In the glabal definitions  you can define your types for internal tables or other purposes in 'TYPES' tab, then declare the global datas your internal tables, work areas etc.
    write ur select statement and othe codings there in initializations, define subroutines in form routines,
    then, u cna use loops , command lines for additional purpose in each pages.

  • Help with Input Output error

    I am learning java and when I got to input output (the sample program is a BMI calculator) in my book i had to stop because i got a weird error.
    Error:
    BMICalculator.java:17 cannot find symbol
    symbol : method create(java.io.InputStream)
    location : class java.util.Scanner
    Scanner stdin = Scanner.create(System.in);
    ^
    And the line it has a problem with:
    Scanner stdin = Scanner.create(System.in);
    I would appreciate any help.

    impot java.util.*;
    public class BMICalculator {
    public static void main(String[]args) {
    final double KILOGRAMS_PER_POUND = 0.454;
    final double METERS_PER_FOOT = 0.3046;
    System.out.println("BMI Calculator\n");
    //Line it has a problem with
    Scanner stdin = Scanner.create(System.in);
    System.out.print("Enterweight (lbs): ");
    double weight = stdin.nextDouble();
    System.out.print("Enter height (feet); );
    double height = stdin.nextDouble();
    double metricWeight= weight * KILOGRAMS_PER_POUND;
    double metricHeight = height * METERS_PER_FOOT;
    double bmi = metricWeight / (metricHeight * metricHeight);
    System.out.println("A person with");
    System.out.println(" weight " + witght + " (lbs) ");
    System.out.println(" height " + height + " (feet) ");
    System.out.println("has a BMI of " + Math.round(bmi));
    }

  • Start up programs and running programs folder??

    Where can I go to disable start up programs and view any programs that are running in the background??

    The checkbox only has to do with hiding and not hiding an app on startup--although results vary.
    Deleting it, on the other hand, should have stopped it from loading.
    Check in you user/Library/LaunchAgents or user/Library/StartupItems for anything Entourage or Microsoft. However, I don't know why they would put something in there if they are using the Login Items.

  • Input/Output Error in Disk Utility w/ Failing HD

    Hey Apple Community,
    I know others probably have asked this question, but I didn't want to spend an hour looking for the correct solution (if one even exists)...thanks for understanding.
    Last night my Mid-2009 Macbook Pro failed to boot after a shutdown. I've had a couple things replaced in the past, but upon restarting in Recovery HD mode, it became obvious that the hard drive was failing (I'm assuming, the S.M.A.R.T. designation in Disk Utility said "failing" in red font).  I tried to create an image to an external 1 TB Hard Drive after verifying and a repair attempt, in an attempt to back up my original Hard Drive, but I received the following error message: "Input/Output Error...," and quit the image creation attempt.
    I don't have a lot on my computer, about 95% of the original HD was unused. What is important though are prior Graduate School documents, and a few work-related projects. Is there any way to get the information off the HD before it shuts down completely? I am technologically proficient enough to do things on my own, but the local Mac specialists (nearest Apple store is 2 hours away) wanted $150-300 for the work. I can replace the HD myself, so the issue is just getting at least part of the information off the original hard drive onto my external one.
    Thank you in advance for any advice/solution/etc you may have! -Matt

    Rudiger314 wrote:
    Partition Map Scheme: Unformatted
    Repair/Verify options are unavailable—buttons grayed out. Erase and Partition options appear to work fine until I press Apply/Erase
    1. When Disk Utility starts, select the drive in the sidebar (the line with the size and make/ID).
    2. Select the Partition tab, then set the number of partitions from the drop down menu (use 1 partition unless you wish to make more.)
    3. Click Options, then choose either GUID (for Intel Macs), or +Apple Partition Map+ (for PPC Macs)
    4. For each partition, click on it (it will then be outlined in blue), then supply a name (this is the name that will appear on your desktop and/or Finder sidebar) and size (either by typing in the box or dragging the dividers), and be sure the format type is +Mac OS Extended (Journaled.)+ Don't use any of the other options unless you're sure you need to.
    5. When you've got everything the way you want it, click Apply and wait until the process has completed.

Maybe you are looking for

  • How to hide buttons in UWL

    Hi, When we select one task and click on View Detail in UWL it will open another window with task details and some buttons Launch Webdynpro,Forward,Assign to Me,Open Form and links like Display details in SAP GUI. We want to hide some of the buttons

  • Why is the customer order form not showing up in my email box?

    I am using Forms Central and the customer order request is not showing up in my email box. I understood this to be a function of the order form. Why is the information only showing up on the report, but, no emails being received?

  • Where is "Synchronize Phone Book" link?

    The user manual states that you can Synchronize the Verizon 'Phone Book' and 'Calendar' with programs such as Outlook. It states: Go to FIOS Digital Voice Account Manager and Click "Synchronize Phone Book" link  in "Phone Book" and Click "Synchronize

  • Revert from Yosemite to Maverick

    I downloaded Yosemite a few days ago and made the bone headed mistake of not backing up my files before upgrading to yosemite, my macbook pro won't start up normal without freezing a getting the spinning wheel. The only way I can get into my Macbook

  • Audio and text in a slide.

    In one of my slides my audio keeps going but my texte stops appearing. I have to click the play button for it to start appearing again. How do i fix it so my audio and my texte keep going without having to click the play button? My project has over 4