How can I watch the process is running in program?

In my program, I fork some processes, and I must watch them timing, how can I know that these processes is running?

<pre>
There could be many way for to see what process is doing.
Easiest is to use "truss" on the process or the program.
Please see the man page of truss.
You can do :
truss -f -p pid_of_process
or
truss -f -o /tmp/out -p pid_of_process &
tail -f /tmp/out
or
truss -f program_exe
Otherwise you can use dbx, run the process in dbx and set
breakpoints at various levels.
Thanks
Kalpesh
</pre>

Similar Messages

  • How can u know the process chain total time, individual time?

    Hi guru's
    How can u know the process chain total time, individual time?
    and what options will available in sm37?
    Thanks
    prabha reddy

    Hi Prabha
    Iam not very sure about total time and individual times.
    But you can go to tcode rspcm for monitoring the daily process chains. it gives you details like 1. status  2.start date & time  3. Log ID  of each process chain.
    or you can go to log view of particular individual chain to know how long it has run.
    SM37: tcode for simple job selection.
    here you check the status of job.
    you can select for certain conditions like
    1. scheduled
    2. released
    3. ready
    4.active
    5. cancelled
    Assign points if it was helpful
    Revert back if you need further info/
    regards
    AP

  • How can I watch the Super Bowl on my Apple TV

    How can I watch the Super Bowl on my Apple TV?

    Last year, I had the Super Bowl streaming online to my macbook pro, and via AirPlay I streamed it to my Apple TV. I plan to do the same thing this year, except using my new iMac. Just need to find a website that is going to be streaming it. Foxsportsgo.com has said they will be streaming and will not required verification of an eligable paid cable/satalite subscription to watch the Super Bowl only. So crossing fingers that it works cause I don't get regular antenna signal where I live, nor do I pay for cable/satalite services.

  • How can I watch the democratic national convention using my apple tv?

    How can I watch the democratic national convention using my apple tv?

    I've got the same issue.  I thought maybe through youtube.  That is, I thought the DNC would have a live stream on youtube, but I can't seem to find it.

  • How can I watch the save password in iPad3 safari ?

    Hello all my apple friends. Please tell me how can I watch the save passwords in my iPad 3 safari.
    I save my password in safari but I want to know how can I watch this password .
    Please suggest me .....

    When you type a letter you can see that letter for a second and then it changes to the dot. That's how it works. I suggest writing the password down first.
    Basic troubleshooting steps  
    17" 2.2GHz i7 Quad-Core MacBook Pro  8G RAM  750G HD + OCZ Vertex 3 SSD Boot HD 
    Got problems with your Apple iDevice-like iPhone, iPad or iPod touch? Try Troubleshooting 101
     In Memory of Steve Jobs 

  • HT1657 if I don't have apple tv how can I watch the movies on my tv because my computer is in a different room from the tv?

    if I don't have apple tv how can I watch the movies on my tv because my computer is in a different room from the tv?

    If you no longer have, or access to, the computer(s) you want to deauthorise,
    Log in to iTunes,  go to "view your account info" on the itunes store,  deauthorise all five, (Please Note: this can only be done Once every 12 months)  and then re-authorize your current Computer(s) one at a time.
    Authorise / Deauthorise About
    http://support.apple.com/kb/HT1420

  • How can you watch the nba playoffs from your mac notebook?

    How can you watch the nba playoffs for free from your Mac notebook?

    I think that you can here http://www.zimbio.com/Watch+NFL+Football+Games+Online+Live+On+Your+Computer

  • How can i check the realtime ability of my program with LV 6.1?

    Hi, i did use a PXI-6053E daq card with Labview RT 6.0.3, after upgrading to
    LV 6.1 the single scan vi in my control loop displays no error, if i put too
    much stuff in the loop. i check data remaining, everything exactly as in
    the example i attached. With Labview 6.0.3 i did use the opcode "read
    oldest" all the time and got a "1" at data remaining output if runnig too
    slow. How can i check the realtime ability of my Program with LV 6.1? The
    attached example is running with 35kHz and green RT-LED, even if i put a
    "wait 1 ms" in the loop.
    Thx4help.
    Joerg
    [Attachment Optimized HW Timed Loop.llb, see below]
    Attachments:
    Optimized_HW_Timed_Loop.llb ‏242 KB

    You should still be able to use the data remaining output of AI SingleScan to indicate that you are maintaining real-time as you did in LabVIEW 6.0.3. If this is not working properly for you, you might try wiping out the ni-rt folder on the RT system and re-installing the RT software on it through MAX on your host computer. Check the versions you have. If you are still seeing data remaining = 0 even when you are running your loop significantly slower than your scan rate, you might want to contact the LabVIEW RT group at National Instruments for additional assistance.

  • How can we know the return code of BDC Program ?

    Hi All,
    Please tell me : How can we know the return code of BDC Program when being exceuted in Session or in Transaction mode.
    In my program, we are uploading data from Excel sheet to SAP via BDC
    The records that are not updated we want to create a log file.
    Now to know whether a record is updated ot not, wat syst field shloud be used?
    Its urgent....
    <b>Reward Point will be there ....</b>
    Thanks,
    Harish

    Hi harish,
    try the logic in this code ...
    i had attached input file in the end.
    TYPES: begin of errmess,
            msgnr type t100-msgnr,
            text type t100-text,
           end of errmess.
    TABLES : t100.
    DATA: BEGIN OF DD_VA01,
           AUART TYPE VBAK-AUART,
           KUNNR TYPE RV45A-KUNNR,
           BSTKD TYPE VBKD-BSTKD,
           MABNR TYPE RV45A-MABNR,
           KWMENG(2) type C,
           KBETR(2) type C,
          END OF DD_VA01.
    DATA:IT_VA01     Like TABLE OF DD_VA01,
         WA_VA01     Like LINE  OF IT_VA01,
         WA_VA01_F   Like LINE  OF IT_VA01,
         IT_BDCDATA  TYPE TABLE OF BDCDATA,
         WA_BDCDATA  Like Line  OF IT_BDCDATA,
         W_FNAME     TYPE STRING,
         messtab like bdcmsgcoll occurs 0 with header line,
         it_errmess type table of errmess,
         wa_errmess like line of it_errmess,
         err_message type string.
    data: zf1 type i,
          zc1 type c value '2',
          fn(20) type c.
    Main Code ************************************************************
    PERFORM get_input using 'C:\Documents and Settings\ic881592\Desktop\Daran_bdc_VA01-e.txt'.
    SORT IT_VA01 BY AUART KUNNR BSTKD.
    LOOP AT IT_VA01 INTO WA_VA01.
      if WA_VA01_F-AUART <> WA_VA01-AUART OR
         WA_VA01_F-KUNNR <> WA_VA01-KUNNR OR
         WA_VA01_F-BSTKD <> WA_VA01-BSTKD.
           PERFORM set_header_flag.
           PERFORM create_bdc_header_data.
      endif.
      PERFORM create_bdc_item_data.
    ENDLOOP.
    PERFORM call_transaction.
    PERFORM errorlog.
    Procedures ***********************************************************
    form get_input using w_fname.
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          FILENAME            = W_FNAME
          HAS_FIELD_SEPARATOR = '#'
        TABLES
          DATA_TAB            = IT_VA01.
    endform.
    form call_transaction.
        PERFORM bdc_field       using 'BDC_OKCODE' '/11'.
        CALL TRANSACTION 'VA01' USING IT_BDCDATA MODE 'A' messages into messtab.
        refresh it_bdcdata.
    endform.
    FORM set_header_flag.
           WA_VA01_F-AUART = WA_VA01-AUART.
           WA_VA01_F-KUNNR = WA_VA01-KUNNR.
           WA_VA01_F-BSTKD = WA_VA01-BSTKD.
           if zf1 = 1.
               PERFORM call_transaction.
           endif.
           zf1 = 1.
    endform.   "set_header_flag.
    form create_bdc_header_data.
         perform bdc_dynpro      using 'SAPMV45A' '0101'.
         perform bdc_field       using 'VBAK-AUART' WA_VA01-AUART.
         perform bdc_field       using 'BDC_OKCODE' '/00'.
         perform bdc_dynpro      using 'SAPMV45A' '4001'.
         perform bdc_field       using 'KUAGV-KUNNR' WA_VA01-KUNNR.
         perform bdc_field       using 'VBKD-BSTKD' WA_VA01-BSTKD.
         perform bdc_field       using 'BDC_OKCODE' '/00'.
         perform bdc_dynpro      using 'SAPMSSY0' '0120'.
         perform bdc_field       using 'BDC_CURSOR' '04/06'.
         perform bdc_field       using 'BDC_OKCODE' '=CHOO'.
         perform bdc_dynpro      using 'SAPMV45A' '4001'.
         PERFORM bdc_field       USING 'BDC_OKCODE' '=POAN'.
    endform. "create_bdcdata
    FORM create_bdc_item_data.
         CONCATENATE 'RV45A-KWMENG(' zc1 ')' INTO FN.
         perform bdc_field       using 'BDC_CURSOR' FN.
         perform bdc_field       using FN WA_VA01-KWMENG.
         CONCATENATE 'KOMV-KBETR(' zc1 ')' INTO FN.
         perform bdc_field       using FN WA_VA01-KBETR.
         CONCATENATE 'RV45A-MABNR(' zc1 ')' INTO FN.
         perform bdc_field       using FN WA_VA01-MABNR.
         perform bdc_dynpro      using 'SAPMV45A' '4001'.
         PERFORM bdc_field       USING 'BDC_OKCODE' '=POAN'.
    ENDFORM.
    form errorlog.
      LOOP AT MESSTAB .
        if MESSTAB-MSGNR = '311' or MESSTAB-MSGTYP = 'E'.
            SELECT SINGLE msgnr text FROM T100
                            into wa_errmess
                            WHERE SPRSL = MESSTAB-MSGSPRA
                              AND ARBGB = MESSTAB-MSGID
                              AND MSGNR = MESSTAB-MSGNR.
            IF SY-SUBRC = 0.
              err_message = wa_errmess-TEXT.
              IF err_message CS '&1'.
                REPLACE '&1' WITH MESSTAB-MSGV1 INTO err_message.
                REPLACE '&2' WITH MESSTAB-MSGV2 INTO err_message.
                REPLACE '&3' WITH MESSTAB-MSGV3 INTO err_message.
                REPLACE '&4' WITH MESSTAB-MSGV4 INTO err_message.
              ELSE.
                REPLACE '&' WITH MESSTAB-MSGV1 INTO err_message.
                REPLACE '&' WITH MESSTAB-MSGV2 INTO err_message.
                REPLACE '&' WITH MESSTAB-MSGV3 INTO err_message.
                REPLACE '&' WITH MESSTAB-MSGV4 INTO err_message.
              ENDIF.
              CONDENSE err_message.
              WRITE: / MESSTAB-MSGTYP, err_message .
            ELSE.
              WRITE: / MESSTAB.
            ENDIF.
        endif.
      ENDLOOP.
    endform. "errorlog
    FORM BDC_DYNPRO USING PROGRAM DYNPRO.
      WA_BDCDATA-PROGRAM  = PROGRAM.
      WA_BDCDATA-DYNPRO   = DYNPRO.
      WA_BDCDATA-DYNBEGIN = 'X'.
      APPEND WA_BDCDATA TO IT_BDCDATA.
      CLEAR  WA_BDCDATA.
    ENDFORM.
    FORM BDC_FIELD USING FNAM FVAL.
      WA_BDCDATA-FNAM = FNAM.
      WA_BDCDATA-FVAL = FVAL.
      APPEND WA_BDCDATA TO IT_BDCDATA.
      CLEAR  WA_BDCDATA.
    ENDFORM.
    input file :
    OR     2148     0001235     R-1162     8     17
    OR     2148     0001235     R-1161     2     30
    OR     2148     0001235     100-400     6     25
    OR     2148     0001235     R-1162     4     12
    OR     2148     0001236     R-1162     3     12
    OR     2148     0001236     R-1161     2     30
    OR     2148     0001236     100-400     1     25
    OR     2148     0001236     R-1162     7     12
    OR     2148     0001236     R-1161     8     30
    OR     2148     0001236     100-400     10     25
    OR     2148     0001235     R-1161     5     30
    OR     2148     0001235     100-400     2     25
    OR     2148     0001235     R-11621     3     12
    OR     2148     0001235     R-1161     2     30
    OR     2148     0001235     100-400     1     25
    OR     2148     0001235     R-1162     7     12
    OR     2148     0001235     R-1161     8     30
    OR     2148     0001235     100-400     10     25
    OR     2148     0001236     R-1162     8     17
    OR     2148     0001236     R-1161     2     30
    OR     2148     0001236     100-400     6     25
    OR     2148     0001236     R-1162     4     12
    OR     2148     0001236     R-1161     5     30
    OR     2148     0001236     100-400     2     25

  • How can I put the report generated by a program into a File?

    Hi all,
       How can I put the report generated by a program into a File?It can be in TXT format or excel format which ever is possible.
    I need to export this file to memory,How can I do that??
    Regards,
    Shashank.

    Hello Shashank,
    Please ignore my previous answer... Ofcourse it works...
    There are several ways to do this...
    two of them are
    1. List -> Save -> File and press enter..
        it will ask for the format, then path where to save it. Just give the path.
    2. Using function module 'GUI_DOWNLOAD'.
    I'm giving the example bellow which explains the usage of both GUI_UPLOAD and GUI_DOWNLOAD.
    To do this... you need to have folder with name 'TEST' and a .txt file in it with name 'test'. And contents of it are :
    TEST1             ,BOT 
    TEST2             ,BOT 
    TEST3             ,BUT 
    with spaces.
    REPORT zssr_bdc .
    DATA: BEGIN OF g_t_itab OCCURS 0,
            matnr LIKE mara-matnr,
            maktx LIKE makt-maktx,
          END OF g_t_itab.
    DATA: g_t_bdcdata TYPE TABLE OF bdcdata.
    DATA: path TYPE string,
          path1 type string.
    path = 'C:\Documents and Settings\ssr3kor\Desktop\TEST\test.txt'.
    path1 = 'C:\Documents and Settings\ssr3kor\Desktop\TEST\test1.txt'.
    *contents of test.txt    *
    *TEST1             ,BOT  *
    *TEST2             ,BOT  *
    *TEST3             ,BUT  *
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        filename = path
      TABLES
        data_tab                      = g_t_itab.
    LOOP AT g_t_itab.
      WRITE:/1(18) g_t_itab-matnr, 20(40) g_t_itab-maktx.
    ENDLOOP.
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
       filename = path1
       filetype                      = 'ASC'
      TABLES
        data_tab                      = g_t_itab.
    Now you will get one .txt file with name 'TEST1.TXT' in the TEST folder.
    <b>REWARD POINTS IF IT IS HELPFUL</b>
    Regards
    Sasidhar Reddy Matli

  • How can we use the standard LDB in custom program.

    Dear all,
    can you please tell me the way , how can we use the standard LDB in custom program.
    Thanks & Regards,
    Jyothi.

    Hi
    You can use the Function module LDB_PROCESS to use the Standard LDB in your Z custome program for further details about using the Standard LDB and accessing the LDB in to the program search SDN
    http://help.sap.com/saphelp_nw04/helpdata/en/64/237f8cd43711d1950b0000e8353423/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/97/b3edb8163111d2953c0000e8353423/frameset.htm

  • How can I delete the apps that run in the background in iOS 7

    HOw can I delete the apps running I the background in the new Ios7. Earlier all that I had to do was to press continuously and then could delete when the   Mark would appear. now I am unable to do it.
    AAlso, I am unable to save a photograph as a wall paper.

    Thanks so much. This solved my problem.
    Can you tell me how to save a photograph as a wall paper on the new IOS 7
    Thanks

  • How can I watch the tv programs contained for exemple in the application called MTS TV directly on my tv?

    I've got some apps on my I-phone 4 such as MTS TV, iPLANETA ONLINE, IPROSTO TV that contains some interesting tv programs that you can see live, but using Airplay I only can listen to what they're saying but I cannot see the images... And how can I watch all my other apps present on my iphone??
    Please help me!!!

    Welcome to the Apple Community.
    Make sure all your software is up to date, video airplay was enabled in a later update than audio airplay.
    Not all apps and websites support video airplay. Developers may simply not gotten around to enabling video airplay in their apps/websites or they may not actually want to.

  • How can i know the servlet is running or not?

    Hi all,
           I have a doubt regarding servlet. I created one servlet and deployed in server. Now i called (RUN) the servlet from the browser. And it is running. Now can i know that the servlet is running or not in the server without seeing in the browser. Can we know the status of the servlet with its URL in the server whether it is running or not?
             Let me explain my problem. In my servlet it will run continously read one table and  do some operation depending on the entries in that table. Now i called the servlet from the browser. After some time i closed the browser. If browser is there i can know whether servlet is running or not. But now how can i know that servlet is running or not. Becoz eventhough we closed the browser the servlet will run in the background. How can i achieve this?
    Thanks and Regards,
    VJR.

    Hi!
    With first call, the servlet will be loaded, and it remains so until server-shutdown, but you need a timer-mechanism execute method calls continuously.
    Regards,
    Thomas

  • How can i start the process in the Process Overview?

    Hallo All,
    i make first steps with nw ce and work on a tutorial. But after i have deployed  my model i can't start the process in the process repository becaus the button "Start Process" is hidden, to see here: [screenshot|http://alexshram.al.ohost.de/pub/procRepOverview.jpg]
    Please, can me one explain how i can start my process.
    Thank you in advance!

    Hi Alex,
    The Process Flow and Start Process button are not enabled because you have selected the Task Definition item('Display Name Age') in the Processes and Tasks table. Please select  Process Defintion itme('prcNameAge' ).
    This should resolve your issue.
    Regards,
    Unni

Maybe you are looking for

  • How to bypass fan error on Thinkpad x220. Thank you.

    I am in a urgent need to access my data for work. I tried to press esc but it does not work, both holding down, press frequently, etc. Does anyone can share how to boot the windows regardless the fan does not functioning. Thank you in advance Thana S

  • Automatic creation of installed base?

    Dear all, We are using CRM 5.0 We are creating BOM for material in R3. Line :10 --> Header level item Line : 20 --> Parent item 1 Line : 30 --> Parent item 2. Now as per standard When we are doing the delivery of any item in R3, A Installed base is c

  • Hp stream 8 headphone jack has buzzing sound

    i read about the stream 7 having a simiar problem.  the buzing sound happens when the headphone jack is plugged and sound ismbeing produce.  after the music stops their is a lingering buzzing sound that last after the sound stops.  i have tried diffe

  • Database toolkit & Oracle 11g, problem with timestamps

    I tested my application, based on the Database toolkit, with Access and Oracle XE (10g) databases and all was ok. After moving my database to a Oracle 11g server, i get this error for any query involving a TIMESTAMP WITH TIME ZONE or TIMESTAMP WITH

  • When starting iTunes (for WinXP) and go to Store, crashes with R6002

    As the subject says, when I try to start iTunes on this WinXP machine, and it is set to go to the store (or I start it otherwise, and then choose to go to the store) it crashes (freezes) and gives a R6002 floating point support not loaded error... I