Running as linux background service

Hi
I am making a background service to be run on linux machines. As far as I know, Linux services are just regular programs running as: "programname &"
However, before I begin I would like to know if there is anything else I should take into account. For instance, when giving status/information/warning/errors should I just dump it to System.out.println, or is there any other stream that are more appropriate?

no one know anything about this? I would even be
satisfied with only a "no you dont have to do
anything special" or something like that...No you dont have to do anything special ;-)

Similar Messages

  • Is it possible to run steam as a service in the background?

    Now that Steam In-Home streaming works from a Linux host, I was wondering if was possible to get Steam t run as a background service?  The idea being that I simply need to boot the host computer and can then play games on my laptop elsewhere without needing to log into the host box - or start Steam on it manually.
    Apart from possible performance issues, users on the host computer need not even be aware that Steam is running.
    Can this be done?

    MainStage is an application, not a plugin. So, no, it can't be used in Cubase.

  • AE Render Engine Run as Background Service ?

    Hello,
    I am trying to setup a render farm with AE networked rendering and was wondering if there was a way to make the Render Engine become a background service so it would not require any log on for it function (for example 3dsmax's backburner, V-ray, Maya... they all run as a background service on the render farm)
    Thanks a lot for any help !
    Alvin

    Thanks for the prompt reply and for the info Mylenium !
    I have looked into it and have successfully got it to run AfterFX as a service, EXCEPT it doesn't seem to be taking into account the parameters -re -wf <path>(formatted like this: "z:\folder" where z: is a mapped drive ). I used the nssm software to make afterfx a service. Now I can see the AfterFX.exe process running in the task manager but it doesn't do anything such as picking up a render job, there's no watched_folder.htm file being created there as  opposed to just runnig it . I guess  I have  to figure that part out so it actually renders.
    Any Ideas ?
    Thanks again !
    Alvin

  • Memory Cap for a Windows Service to run in the background all the time on Windows 8.1 Device

    I have a Windows Store app that would run on a 2GB windows 8.1 Pro tablet. I want to create a service that would run in the background and more than one store app can utilize that service. The question I have is , is there any memory usage limit for the
    service to run on a 2 GB RAM tablet?
    I am expecting that the service might use 900 MB of RAM when its operational .
    Kindly help 

    Hi,
    For this situation, it seems that you create a wcf service and host the service on windows service which is running on the 2GB windows 8.1 Pro tablet. And other store app in the tablet can utilize that service.
    If you want to limit the memory usage for the service, it's recommended that you could host the wcf service on other machine, such as a computer. You just call the service from the store application if you want to invoke the service.
    Regards

  • SAFARI: running in the background:

    When I access a website there is an automatic refresh of the content. When I open a different webpage with Safari, then the automatic refresh on the first page stopps! How can I have a webpage be refreshed in background?
    Does Safari download content when it is minimized / not visible?
    When I go back to the first page, then the automatic refresh is not there any more. The function has been de-activated by Safari on Ipad. (On a Firefox on windows there is no such problem). How can I get the same webpage behaviour than before. (I know that reloading the page does the job. But this should be automatic and not from the user)

    The ipad like a lot of other mobile devices use a type of multitasking that differs from multitasking you would find on Mac OS X, Windows or Linux.  Apple chooses to put most background apps on iOS devices in a suspended mode which allows the application to be paused in the background and then respond quickly when brought to the foreground. Some application functions can continue to run in the background.
    Features that are allowed to run in the background are music, location services, airplay, VoIP, push notifications, but it is still up to the developers to make use of this functionality.
    I don't believe Safari is one of the applications that will continue to run in the background.
    Why does Apple choose to do this? Short answer: Battery life and performance.  If app developers were allowed to choose whether or not to have their application to run in the background, bad programmers would quickly kill the performance and battery on the iOS device.
    Some devices such as andriod phones and the blackberry playbook allow broader multi-tasking. The trade off? Andriod phones have task killers, which forces the user to manage their performance and battery life. The playbook comes shipped with a default of using suspended multi-tasking on vs. full multi-tasking - since full multi-tasking would again affect performance and battery life.
    I agree it would be nice if webpages continued to load if Safari is in the background, and maybe this will be added / enabled in the future. I think Apples design provides a better user experience and still allows most of the functions to run in the background that need to.  (I don't need a movie to play in the background or game).
    My guess would be Safari doesn't allow background use right not because of issues like auto-refresh pages, which again would affect performance and battery.

  • Can a java program be run in the background?

    Hi all,
    Can a java program be run in the background without the user being aware of it? I need to make a program that continuosly monitors a pc at regular intervals and runs at all time. It should be hidden(shouldn't display on the screen while running) from the user, and also, can it be run as a system file so that even if a user checks he/she would think of it as a system file?

    I'm the administrator of all the computers. Then as I said there are commercial applications that do that.
    Presumably you expect a problem now. And implementing an acceptable solution is going to take you months. Because not only need to 'hide' the application, you also need to set up all the monitoring and logging capability. And the first will require quite a bit of JNI work along with testing (in particular as it could interfer with existing applications on the users computers.)
    I need to
    install the software in all the machines and i want
    that the users who use the machine should not be able
    to close the program through the task manager. If the users have admin rights then they can terminate a windows service.
    And if they don't have admin rights then you can simply turn off the ability to install anything.
    I want
    to know what the resources of the computers are and
    that if anyone has added a resource to it or
    not(attaching a flash usb thumbdrive etc). Lots of JNI.

  • Is there a way to keep apps from running in the background?

    I just updated to an Iphone 6, with the latest version of IOS.  It's a great product, but for me there is one annoyance.  There are times when my memory gets low.  I find out that it's the apps that are running in the background.  I personally don't use this.  All it does is hog memory.  Then, to close the apps, you have to close each one individually.  I forgot how many apps I have open, I'm of the mindset that when I close the app, that it's "really" closed, not still running in the background.  It would be nice if there was a way to disable this function.  It doesn't seem to serve a purpose for me in the way I use the Iphone.  I just "cleaned up my list of "behind the scenes apps" and I had about 20.  It gets frustrating to have to go to each one to close it.  Any comments or suggestions?

    Some things that might help:
    1. Only the most recently used apps actually occupy memory (used to be the most recent 4, but may have changed in the latest iPhones). After 4 (or so), IOS writes them out of active memory, as it does for even the latest 4 if there's no activity for a long time. So the business of closing all the open apps, apart from the most recent ones doesn't make a difference. Tis article has a good explanation:
    http://www.speirs.org/blog/2012/1/2/misconceptions-about-ios-multitasking.html
    2. There are settings about background app activity that might help:
    - Settings, General, Background App Refresh controls which apps can update their data in the background
    - Settings, Notifications controls which apps can tell you things, which they have to wake up to do.
    - Settings, Privacy, Location Services controls which apps monitor your location - another activity that uses resources
    Hope some of that helps

  • Newsy running in the background

    How do I prevent Newsy from running in the background. I don't remember downloading this service. I went to read a page on Huffington Post and I started hearing their reports.

    Hello, not sure but get...
    Find Any File...
    http://apps.tempel.org/FindAnyFile/
    Hold Option or alt key when selecting Find to Find All.
    Search for Name contains... newsy
    See if there's a .plist hidden deep that you can trash, then restart.

  • Too much stuff running in the background

    I have a Casio Commando Gz'One.  I installed an App called Advanced Task Killer to be able to turn unnecessary things off that are constantly running the background.  What I have noticed is even right after I run Advanced Task Killer, there is A LOT of stuff that keeps turning itself back on.  How can I permanently turn off apps/stuff that I rarely if ever use? 
    As an example of Apps/stuff that constantly is on and turning itself back on in the background........My Verizon Mobile, Gallery, Camera, Desk Cradle, Mobile IM, Skype Mobile, Slacker, City ID, etc etc etc.
    I'd prefer to not have all this stuff constantly running in the background and using up memory.  I notice that when I don't run Advanced Task Killer for a while my phone responds slower and slower and the longer I leave things be, my available memory available goes down......
    How do I do this?

    Thanks, Ann, that's a great article, very helpful to a veteran Windows user like me, who isn't used to RAM being managed this way by the OS.
    I  just did a quick check on my Samsung Stratosphere using Menu > Applications > Memory usage, then tapping Running. There's a lot of stuff running, and I do wonder about some of it. Slacker Radio, for instance, which I've never used and don't intend to use, has been running for 24 hours and is using 2.3 MB of memory. When I press and hold it, I get a screen informing me that it was started by an application called Tap to stop, and a warning, "Service started by application. Stopping service may cause application to fail." If I throw caution to the winds and tap Stop anyway, I get another message, "Stop this system service? Some features of your phone may stop working correctly until you turn it off and then on again," at which point I grab caution back from the winds and hit Cancel.
    So, granted that I should just leave things alone and "let Android be Android," as the writer of the article you linked to says, I'm still curious. What the heck is the application called "Tap to stop"? I don't see it anywhere. What feature of my phone would fail if I forced Slacker Radio to stop?
    Thanks again for the article. It's fun to learn about a new OS.

  • Running Apps in Background

    Hey All,
    Is it possible to install a app on IPhone and allow it to run in the background?

    devacc,
    The iPhone does not allow background applications for performance and usability reasons. Background apps affect performance, and managing priority and resources for background applications can be a UI nightmare. This is discussed during the WWDC Keynote in more detail.
    However, in the near future applications developers will be able to use an application push service to allow notifications when the application is not running.
    I would recommend watching the WWDC Keynote for more details.
    Hope this helps,
    Nathan C.

  • Can we run itunes as a service on windows

    Can we run itunes as a service? If not we really need the dev team to step up and fix it.
    With the new option for sync over wifi we really need a service that runs in the background of our home pc's for the sync. As you know this takes place everytime you apply power, or when you hit the sync now button. So, unless we run itunes in its fullest all the time we can't count on the wifi sync to do what it is designed for. Running itunes eats up computer resources that some people need when doing school work, job work, and other important things. So please build a new version of itunes that allows it to run in the background and serve as a sync service.
    Anyway this might be the wrong place for a suggestion but hopefully someone will get it to the right people.

    Take a look at something called java service wrapper ,
    http://wrapper.tanukisoftware.org/doc/english/introduct
    on.htmlNot seen that one before. Ta.
    Alexandria software used to support a simpler app called JavaService... google for that maybe if the above is too much.
    /k1

  • Running application as a service

    Hi,
    We have 2 batch files for starting our server. The first one starts the RMI registry and the second one executes the jar file.
    I added these 2 as services because we constantly reboot our server and we don't want each time to log in to windows to start them manually. The problem is that rmiregistry.exe starts normally but the java server application does not start. I made sure that the application depends on the rmi registry to start first. The strange thing is that java.exe is never called. Any ideas why it might be happening?
    We are running windows 2003 Server.
    Thanks

    Hi athalay,
    I have same question...hehe...Is it possible for our application that run in a background listening to a Wireless Data Port and receive all packets sent via SMS or Cell Broadcast destined to that port?
    Is a MIDP application can turning on the phone's cell broadcast reception and adding subscribed cell broadcast channels?
    Can our application can update SIM Card content, specifically the Cell Broadcast Channel list?
    Thanks for u'r great help.
    angin-udara

  • Running weblogic as a service on NT

    We are currently trying to run weblogic as a service on Windows NT. Yet the service
    has hung once and run out of memory once. The hardware and software specification
    is listed below.
    Hardware
    System     Intel
    CPU:     Dual 866 MHz or faster
    Memory:     500 MB
    Hard Drives:     2 x 10 GB RAID-1 System Drive
    Network:     Static IP allocation and TCP/IP network protocolTwo Fast Ethernet 10/100
    Software
    Windows NT 4.0 Option Pack Typical InstallBEA WebLogic Version 5.1 with Service Pack
    8 and JDBC drivers for MSSQL ServerJava 2 SDK Version 1.3.1 RC 2
    The WebLogic server has been using the srvany.exe and instsrv.ex utilities (part
    of the NT Resource Kit) . Note that it is necessary to use the srvany utility rather
    than the custom BEA service utilities in order to allow the passing of command line
    parameters to the JVM. An important JVM parameter is &#8211;Xrs which prevents JDK1.3
    applications which run as a service on NT from shutting-down when the user who started
    the service logs out. This problem does not occur on Win2K systems.
    1.     Set-up a &#8216;weblogic&#8217; user account that is a member of the Users group
    and has explicitly assigned 'log on as a service' right.
    2.     At a command prompt install srvany with the command
    INSTSRV WGO_server c:\winnt\system32\srvany.exe
    3.     Use the services applet (in the Control Panel) to ensure that the service will
    run using the weblogic account and that the service is set for automatic startup
    4.     Use the Registry Editor REGEDT32.exe to configure srvany as follows:
    a.     Highlight HKEY_LOCAL_MACHINE\SYSTEM\CurrentContrelSet\Services\WGO_server and
    select Add Key from the edit menu.
    b.     The key to be added should have the name &#8220;Parameters&#8221; &#8211; the
    class field may be left empty.
    c.     Highlight the newly created Parameters key and select the Add Value option from
    the edit menu. The name of the value to be added is &#8220;Application&#8221; and
    the type of value is REG_SZ. When you o.k. these options, you will be asked to provide
    the string value representing the application to be triggered by servany &#8211;
    type in the path to the startweblogic.cmd file:
    c:\weblogic\WGO_server\startweblogic.cmd
    d.     With the Parameters key still highlighted, select the Add Value option from the
    edit Menu. The name of the value is &#8220;AppDirectory&#8221; and the type is REG_SZ.
    Set the directory in which the application runs by typing in the path
    c:\weblogic\WGO_server
    5.     To start the weblogic server, return to the Service applet in the control panel
    and start the service named WGO_server. To shutdown the service, first run the script
    c:\weblogic\WGO_server\shutdown to shutdown weblogic cleanly, wait a few moments
    and then stop the WGO_server service via the Service applet.
    If anyone has experienced a similar problem please let me know
    Thanks
    Jo

    I would look at all the other startup script you have on your machine already.
    They are usually placed in /etc/init.d and these files are often linking into /etc/rc3.d
    I suggest you google on how to setup a service for your flavour of linux as they are not all the same.

  • Help trying to get the F_ApiWinConnectSession initialized and running in the background.

    Fellow FM Developers,
    I have the FDK8 and have been using framemaker as a processor of templates. We have successfully written a program that uses the framemaker in a user account currently logged in. In other words, USER A logs in with their account on Computer A and processes files just fine.  Now, we would like to set up a system where jobs are submitted by USER A and runs on a remote Computer B which processes the document and saves it as a PDF.
    We want to make it so users can submit a job through a web service using the .NET framework. We have tried to do this, however we are failing on one crucial part of our development. I am trying to use the single most important (asynchronis) connectivity line:
    F_ApiWinConnectSession( NULL, NULL, &ClassID );
    This is because we want to have framemaker start in the background with this execution of this service.  Unfortunately, without the GUI available this command fails.  We have obviously created a Progid and it has been registered in the registry. We did this by runnning :
    FrameMaker.exe /progid:FrameMaker.Automation.2 /auto
    Can anyone help me with trying to get framemaker to run in a background.  Is there a way to process the documents without have the GUI up and loaded and then have it process the document.
    Your help is greatly appreciated,
    Adam

    Adam,
    The server license is more tuned to the type of output that you are creating, regardless of the number of users. If you are creating content from external sources and generating a PDF in an automated way via FM, then you need a server license (period).
    Read your FM EULA carefully.
    2.2.  Limitations on Server and Network Use.  You may install one copy of  the Software on your Computer file server for the sole purpose of downloading  and installing the Software onto other Computers within your internal network up  to the Permitted Number, provided that the total number of users that are  permitted to download and install the Software from such Computer file server,  does not exceed the Permitted Number.  Except as explicitly described above, no  other network or server use is permitted under this license, including but not  limited to, using the Software either directly or through commands, data or  instructions from or to any other Computer, for internet or web hosting services  or by any user not licensed to Use this copy of the Software through a valid  license from Adobe.  For the avoidance of doubt, this Agreement does not permit  the Software to be Used in any batch-oriented environment where such Use of the  software is to produce Postscript or PDF output from data originating from any  other application, unless such Use is merely incidental to a Use clearly  permitted by the license.To obtain rights for additional server, batch oriented  or network licensing uses, you may purchase a license(s) for the FrameMaker®  Server product. The FrameMaker Server product license is available for review  at, http://www.adobe.com/products/eulas/main.html.
    This has greatly impacted the database publishing side of things. If all of  your content is completely created in FrameMaker, then you should be ok.  However, if you create or get any content outside of FrameMaker and pass it  through FM to make your documentation sets, then according to Adobe, you need to  be using the FrameServer product (for creating the PDFs).

  • Since the update i can not open webpage,also even when i close it keeps running in the background.

    since the update i can not open any webpage,ex:homepage i use www.besthomepageever,nothing open there,i tried yahoo.com same thing,plus it keeps running in the background when i close it and im asked to restart the comp.
    First time in all these year i have problem like this
    Thanks
    Gerard
    Ps,i deleted it and reinstalled it same thing

    '''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Start Firefox in Safe Mode]''' {web link}
    While you are in safe mode;
    Press the '''Alt''' or '''F10''' key to bring up the tool bar.
    Followed by;
    Windows; '''Tools > Options'''
    Linux; '''Edit > Preferences'''
    Mac; ''application name'' '''> Preferences'''
    Then '''Advanced > General.'''
    Look for and turn off '''Use Hardware Acceleration'''.
    Poke around safe web sites. Are there any problems?. Then restart.

Maybe you are looking for

  • How to use ZMATERIAL info object attribute in existing report

    Hi all,          Using generic extraction we have created data source related that data source we have created navigational attribute for info object ZMATERIAL. Data available for ZMATERIAL info objects. Now ZMATERIAL info object related navigational

  • Problem installing App Server 8.1 on Linux

    I've got App server 8.1 that came with a Messaging Server bundle. I tried installing on a new machine, and it wouldn't go through with the full configuation at the time of install, so I took the "configure later" option. I'm now trying to manually co

  • Maintain separate line item for discount-Urgent response will be appreciate

    Hi SD Gurus, I need to apply a separate credit line item on a invoice to reduce the net amount billed against that invoice.The scenarios is Engineer-To-Order.The billing document is order relevant only.So pls help me on this.whether I have to create

  • OrdSys.OrdImage

    Hi Guys Have a bit of a problem here I have a ordsys.ordimage columns in my DB i use a adf:render on the column to display it on the jsp now the problem is i have there images that will display on the jsp ... it displays the images but what it does i

  • Consolidation for SAP BPC

    HI Gurus, I have gone through the documentation provided by SAP  for  SAP BPC Admin document which  just talks about the various business rules available for consolidation. Can someone o explain in brief the sequence  steps that one needs to follow f