How to determine which processes are using a module?

I want to find out which processes are using a kernel module.
However this info is shown neither with ``lsmod'' nor in
/sys/modules/<mod_name>/.
It's needed to reload certain modules which are acting buggy,
in a bash script. Right now I just keep a list of processes which
use the module and try to kill'em all, not exactly a beautiful
solution.
To work around it I compiled a kernel with
``CONFIG_MODULE_FORCE_UNLOAD=y'', however actually
trying to unload anything with this results in an unstable system.
Suggestions?

After successfully syncing the configuration database I ran the configuration compliance job once more, however with the same (misleading) results. Cross-checking the configuration reveals that none of the devices marked as compliant are actually having the "ip helper-address" configured.
Maybe it is something wrong with the input data I specified for the compliance template (ref step 1-6 in my first post)?
Or maybe the Compliance Jobs arent the best ways to determine whether or not my devices are having the "ip helper-address" configuration defined?

Similar Messages

  • How can i determine which devices are used at the moment?

    Hi all,
    I am designing an interface with LabVIEW for uing agilent devices. My work colleagues will use this interface.  I want to determine which devices are used at the moment and if I determine used device, i will add automatically device names to interface's main vi. So all my work colleagues can see on the program which devices are used by another colleague. This devices are connected with GPIB. İ want to learn is there any function on Instrument I/O palette.
    Thanks,
    Omer
    Solved!
    Go to Solution.

    Hi Omer,
    so those devices are connected to the PC with a GPIB connection. Will your collegues run several DAQ programs at the same time?
    GPIB-devices being controlled by PC don't have a "in use"-signal. They wait for commands, execute them and send an answer. When you start to control them using two programs they may respond to both programs, mixing up settings/measurement values and so on.
    That being said: In MAX you can see all devices connected to your GPIB port. You could scan the GPIB port using VISA commands in your program. You might even try to access a certain device by it's VISA alias. I really don't know if you will get a "device nopt available" error message when that VISA alias is in use by a different program - but you might do a quick test on your own…
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • How to determine which elements are queryable via Web Services QueryPage

    I am trying to query opportunities by associated opportunity product revenue records, but I continue to receive errors like "Unexpected text: = '9598015'".
    From reviewing the forums, it looks like this is when I am querying a field that is not defined to be queryable.
    Could someone please tell me how to determine which fields are queryable on a particular record type like this? I have tried using basic short text fields and indexed short text fields - but continue to receive the error message above.
    Thanks in advance.

    I found at least partial answers to my questions.
    MessageContext.getPropertyNames() can be used to see the properties on a given flow.
    MessageContext.getProperty(prop) can be used to get information for paroperties such as:
    prop=javax.xml.rpc.service.endpoint.address
    prop=wsdl.portName
    -- Frank

  • How to identify Which ports are using in RAC setup?

    Hi,
    how to identify Which ports are using in RAC setup?
    Thnaks,

    [Viewing Port Numbers and Access URLS|http://download.oracle.com/docs/cd/B19306_01/install.102/b14205/ports.htm#sthref1208]

  • How to find which datasource are using  tables AFRU ,CAUFV and AUFM

    *how to find which datasource are using  tables AFRU ,CAUFV and AUFM*

    Hi,
    You can enter your table names in SE11 transaction and click "Display" and again click "Where -Used-List". Then it will show all the places where these tables are used(Datasources)
    Hope this helps.....
    Regards,
    SUman

  • How to determine the process alias using condition technique in Transportation & Shipment Scheudling?

    Dear All,
    I am trying to use the functionality Transportation and Shipment Scheduling in GATP.
    I would like to know that how the sytem determines the process alias using condition technique in Transportation & Shipment Scheudling?
    As the Transportation & Shipment Scheduling functionality can be extended further by using the configurable process to overcome the complex scenario. But it needs that process alias should not be determined by using the condition technique.
    Moreover, is it possible to use both functionality simultaneously in the system. i.e. Transportation and Shipment Scheduling using condition technique and Transportation and Shipment Scheduling using configurable process?
    Thanks & Regards
    Piyush Ranpura

    Hi Piyush,
    I have added a small overview in the SCN WIKI which shows you the two ways for the process alias determination and also here as attachment:
    http://wiki.sdn.sap.com/wiki/display/SCM/Time+and+Scheduling+Functions
    Yes, depending on your customizing you can use both scheduling methods in parallel. e.g. you activate CPS just for a specific ITEM category or product and/or customer and/or....what ever you want.
    best regards,
    Michael

  • How to determine which queries are in which workbooks?

    HI Folks.
    I am attempting to determine if there is a method by which I can determine which queries are utilized in which workbooks in SAP BW system. 
    I found table RSRWBINDEXT which gives me the workbookid and name.  However I am not able to locate the table that gives me workbook id and query id. 
    Please let me know if you this table?
    Thanks
    Uday

    Hi,
    In BEx... copy workbook technical name.
    After wards goto RSA1 metadata repository click-workbook---find your workbook.
    If you click that workbook It gives receives information from all Queries list
    Thanks,
    Mirza

  • SharePoint Databases - How to determine which ones are being used and which ones aren't

    I am not sure where to exactly post this question.  On the SQL Server side or on a SharePoint side.
    I am a SQL Server Database Administrator who is monitoring some SharePoint databases.  On a daily basis it seems that they are creating new databases but don't delete the databases that they are no longer using.  For example, they might be testing
    on a development server and if things aren't working properly instead of asking that the databases be deleted they just go ahead and create new databases to do what ever they need to do.  Is there a way on the SQL Server side to determine which SharePoint
    databases are being used and which ones aren't being used?  Or does one determine this information through the SharePoint Central Administration console?
    lcerni

    Hello,
    The following query gives you the databases now in use.
    SELECT
    DISTINCT d.name
    FROM
    sys.dm_tran_locks
    tl INNER
    JOIN sys.databases
    d
    ON
    tl.resource_database_id
    = d.database_id
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • How can you determine which pages are using a specific symbol?

    I want to find all the pages that are using a specific symbol, but I don't know how.  I can't simply switch symbols because some have specific text & want to switch them with more generic smart buttons.  I'll have to find every instance to update the text.
    thanks!

    me too, my file has 39 pages with many unuse symbols, now I want to delete those unuse.
    I found that after deleteing those unuse in Page 1, actually they are being used in other page,
    I can't find the way to delete them all at one time for all pages.
    and I am using CS3

  • Mifi 4620L - how do I determine which devices are using my data?

    I Have a couple kids connecting to our Mifi4620 and we keep going over our 20gb data limitation.  How can I find out what devices are using data and when as we. As how much so I can track down my high data usage culprit?

    I have made several comments on another forum about my high data usage.  The forum name is "HIGH DATA USUAGE being used". One thing I have found effective in my trouble shooting is to make sure all devices are off and will not auto connect to the WiFi.
    1. Turn on the WiFi and make a log of everything that you do and with a time.
    2. turn on only one device and do what ever you want to use that device for. (ALL other devices off}
    3. Wait about 5 minutes when finished and then turn the MiFi off.
    4. Wait 5 to 10 minutes before turning the MiFi back on to make sure all data got registered.
    5. Do these steps for each device and keep a log of sites visited and what was done on each device.
    6. Log into your Verizon account and go to data then down nearer the bottom there is a box where you can select a device. Select the router phone number and it will give you a detailed listing of data usage and times.  The time in the listing is the time the session started and will add all data used until the MiFi session is ended.  If nothing is connected it will check about about every 160 minutes ( 2 hrs. 45 minutes) you will see a small data usage.  If something is connected you will see data usage every totaled every 6 hours (approximately). By turning the MiFi off you can stop the 6 hour totaling and only total the session up to that time. Of course you have to wait long enough for their computers to get the total data usage.  At one time I would have to wait 3 to 4 days for some of these to show up but recently it shows up within a couple of hours and has always been updated over night. I have been downloading the detail usage since every morning since August.  I made an excel spread sheet that will total on a daily basis the total data used for a day when I do a copy of my download and paste it into my spreadsheet.
    I hope this helps although you might want to read the other forum,  You are not alone with a problem.  I hope you can solve your problem and if you would not mind posting a reply to me as to what you find if you can solve your problem. I thought my problem was solved but it is back and I have run out of ideas as to what else I can check or change. Today I went to Sprint store and can switch to one of their plans and save $18.00 per month but the problem with that is that the Sprint connection is not quite as good where I live.

  • How can I determine which apps are using excessive data on a Samsung Galaxy?

    We have been going over our data plan for the last couple of months.

    settings > data usage, then you can scroll through the list of apps that are using data
    Also ensure that apps are set to either not update automatically or to update only over wi-fi (through your Google Play app settings).

  • How to see what processes are using my memory?

    I recently added more RAM to my system and I always keep Activity Monitor running with the memory usage icon on the Dock to see how much Lion and my programs use.
    I noticed that even several CS5 programs running at the same time won't use that much, the program I've seen uses the most is Aperture, using anywhere from 500MB on start to 2.5GB while viewing--not editing--photos.
    My questions is, when my system is running normally it uses from a quarter to half the total memory available but just now it's using more than three quarters and it's running not even half programs I use everyday. I quickly added up the memory being used and it's just missing out A LOT. I'm adding a screenshot of Activity Monitor for you to see.
    I now that restarting the system (or by using the purge command in Terminal) will free up memory but this really puzzles me and I'd really like to know what's happening--BTW, even though several GB are missing, the computer is nowhere nears slow, at least.
    Where are all the other processes using the rest of the memory?
    I'm using OS X 10.7.3 Server with 16GB of RAM on an iMac.
    Thanks for all your help,
    Gustavo.

    You will never be able to get those numbers to add up.  This topic has come up before.  Examples:
    Memory used by unknown processes
    Where is my memory?
    And others.  You cannot use the numbers in that display to add up.  Even doing top in terminal produces conflicting numbers.  Many process are dynamic and may be missed in these displays.
    FWIW, here's an apple article on the Activity Monitor memory display:
    Using Activity Monitor to read System Memory and determine how much RAM is being used
    Editorial: In my opinion I do not recommend always running Activity Monitor (or top).  The constant poling and display does have some affect on performance and cpu utilization.  That's why it always usually appears near the top of the process list when sorted by percent cpu unless really outweighed by something much bigger.

  • How to determine which photos are not in an album?

    I have @ 5500 photos in V2.01 vor Os 10.2.8. I would like to determine which photo's are not in an album. I know I can write a perl script to do print this information, but it might be nicer if done from within iTunes.

    Billy,
    There is a way that will take a little time but will give you the results.
    Write down the name of all your Albums and number them.
    In iPhoto add the new numbers (corresponding to the albums) as keywords.
    After all the number keywords have been added you need to give the images in each album that numbered keyword.
    Highlight an album in the source column, select all, then assign them the number keyword for that album.
    do this for all the albums.
    Make sure your view is set to view keywords.
    You should be able to see any photo that does not have one of those number keywords.
    there might be a simpler way, but I don't have iPhoto 2 to test for you.
    Lori

  • How to identify which process is using PSA?

    Hi all,
    Does anybody know if there is some way to identify all infopackages in my environment that are using PSA?
    Thanks in advance,
    Silvio Messias.

    Hi Guys, just to thanks you...
    I have created this ABAP program... Enjoy...
    *& Report  ZLIST_OF_IP_THAT_USE_PSA
    REPORT  zlist_of_ip_that_use_psa.
      Data declaration
    TABLES: rsldpsel, rsldpio.
    TYPES: BEGIN OF ty_rsldpsel,
             logdpid       TYPE rslogdpid,
             objvers       TYPE rsobjvers,
             lnr           TYPE rsnrchar,
             ziel          TYPE rsziel,
             ziel_text(40) TYPE c,
             source        TYPE rsisource,
             logsys        TYPE rsslogsys,
             oltpsource    TYPE rsisource,
           END OF ty_rsldpsel,
           BEGIN OF ty_rsldpio,
             logdpid       TYPE rslogdpid,
             objvers       TYPE rsobjvers,
             source        TYPE rsisource,
             logsys        TYPE rsslogsys,
             oltpsource    TYPE rsisource,
           END OF ty_rsldpio.
    DATA: l_is_rsldpsel TYPE STANDARD TABLE OF ty_rsldpsel,
          l_ih_rsldpio  TYPE HASHED   TABLE OF ty_rsldpio
                        WITH UNIQUE KEY logdpid objvers.
    FIELD-SYMBOLS : <ls_rsldpsel> TYPE ty_rsldpsel,
                    <ls_rsldpio>  TYPE ty_rsldpio.
    RANGES: rg_ziel FOR rsldpsel-ziel.
    Processing data...
    PARAMETERS : psa_used AS CHECKBOX DEFAULT 'X'.
    START-OF-SELECTION.
      PERFORM collect_data.
    END-OF-SELECTION.
      PERFORM display.
    *&      Form  COLLECT_DATA
          Collecting database information
    FORM collect_data.
    Valid range of ZIEL
      CLEAR: rg_ziel, rg_ziel[].
      rg_ziel-sign   = 'I'.
      rg_ziel-option = 'EQ'.
      rg_ziel-high   = space.
      rg_ziel-low    = 1.  APPEND rg_ziel.
      rg_ziel-low    = 2.  APPEND rg_ziel.
      rg_ziel-low    = 3.  APPEND rg_ziel.
      IF psa_used IS INITIAL.
        rg_ziel-low = 4.  APPEND rg_ziel.
      ENDIF.
    Selection all INFOPACKAGES that are using PSA tables
      SELECT logdpid objvers lnr ziel
        INTO TABLE l_is_rsldpsel
        FROM rsldpsel
        WHERE objvers EQ 'A'
          AND ziel IN rg_ziel.
      IF sy-subrc EQ 0 AND l_is_rsldpsel[] IS NOT INITIAL.
        DELETE ADJACENT DUPLICATES FROM l_is_rsldpsel COMPARING logdpid.
    Selecting data from RSLDPIO
        SELECT logdpid objvers source logsys oltpsource
           FROM rsldpio INTO TABLE l_ih_rsldpio
           FOR ALL ENTRIES IN l_is_rsldpsel
           WHERE logdpid EQ l_is_rsldpsel-logdpid
             AND objvers EQ l_is_rsldpsel-objvers.
      ENDIF.
      LOOP AT l_is_rsldpsel ASSIGNING <ls_rsldpsel>.
        CASE <ls_rsldpsel>-ziel.
          WHEN 1.
            <ls_rsldpsel>-ziel_text = 'Only PSA'.
          WHEN 2.
            <ls_rsldpsel>-ziel_text = 'PSA in parallel mode'.
          WHEN 3.
            <ls_rsldpsel>-ziel_text = 'PSA and after that to Infoprovider'.
          WHEN OTHERS.
            <ls_rsldpsel>-ziel_text = 'Directly to Infoprovider'.
        ENDCASE.
        READ TABLE l_ih_rsldpio ASSIGNING <ls_rsldpio>
        WITH TABLE KEY logdpid = <ls_rsldpsel>-logdpid
                       objvers = <ls_rsldpsel>-objvers.
        IF sy-subrc EQ 0 AND <ls_rsldpio> IS ASSIGNED.
          <ls_rsldpsel>-source     = <ls_rsldpio>-source.
          <ls_rsldpsel>-logsys     = <ls_rsldpio>-logsys.
          <ls_rsldpsel>-oltpsource = <ls_rsldpio>-oltpsource.
        ENDIF.
      ENDLOOP.
    ENDFORM. " collect_data
    *&      Form  DISPLAY
          Displaying database information
    FORM display .
      TYPE-POOLS: slis.
      DATA: gt_fieldcat TYPE slis_t_fieldcat_alv,
            gs_layout   TYPE slis_layout_alv.
      PERFORM fieldcat_init USING gt_fieldcat[].
      PERFORM layout_init USING gs_layout.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program = 'Z_DB_ENTRIES_COUNTER'
          is_layout          = gs_layout
          it_fieldcat        = gt_fieldcat[]
        TABLES
          t_outtab           = l_is_rsldpsel.
    ENDFORM.                    "DISPLAY
    *&      Form  fieldcat_init
    FORM fieldcat_init USING lt_fieldcat TYPE slis_t_fieldcat_alv.
      DATA: ls_fieldcat TYPE slis_fieldcat_alv.
      CLEAR ls_fieldcat.
      ls_fieldcat-fieldname    = 'LOGDPID'.
      ls_fieldcat-datatype     = 'C'.
      ls_fieldcat-seltext_l    = 'InfoPackage (ID)'.
      ls_fieldcat-seltext_m    = 'InfoPackage (ID)'.
      ls_fieldcat-seltext_s    = 'InfoPackage (ID)'.
      ls_fieldcat-reptext_ddic = 'InfoPackage (ID)'.
      ls_fieldcat-key          = 'X'.
      APPEND ls_fieldcat TO lt_fieldcat.
      CLEAR ls_fieldcat.
      ls_fieldcat-fieldname    = 'SOURCE'.
      ls_fieldcat-datatype     = 'C'.
      ls_fieldcat-seltext_l    = 'InfoSource'.
      ls_fieldcat-seltext_m    = 'InfoSource'.
      ls_fieldcat-seltext_s    = 'InfoSource'.
      ls_fieldcat-reptext_ddic = 'InfoSource'.
      ls_fieldcat-key          = ' '.
      APPEND ls_fieldcat TO lt_fieldcat.
      CLEAR ls_fieldcat.
      ls_fieldcat-fieldname    = 'LOGSYS'.
      ls_fieldcat-datatype     = 'C'.
      ls_fieldcat-seltext_l    = 'Source System'.
      ls_fieldcat-seltext_m    = 'Source System'.
      ls_fieldcat-seltext_s    = 'Source System'.
      ls_fieldcat-reptext_ddic = 'Source System'.
      ls_fieldcat-key          = ' '.
      APPEND ls_fieldcat TO lt_fieldcat.
      CLEAR ls_fieldcat.
      ls_fieldcat-fieldname    = 'OLTPSOURCE'.
      ls_fieldcat-datatype     = 'C'.
      ls_fieldcat-seltext_l    = 'Datasource'.
      ls_fieldcat-seltext_m    = 'OLTPSOURCE'.
      ls_fieldcat-seltext_s    = 'OLTPSOURCE'.
      ls_fieldcat-reptext_ddic = 'OLTPSOURCE'.
      ls_fieldcat-key          = ' '.
      APPEND ls_fieldcat TO lt_fieldcat.
      CLEAR ls_fieldcat.
      ls_fieldcat-fieldname    = 'ZIEL_TEXT'.
      ls_fieldcat-datatype     = 'C'.
      ls_fieldcat-seltext_l    = 'Type of processing'.
      ls_fieldcat-seltext_m    = 'Type of processing'.
      ls_fieldcat-seltext_s    = 'Type of processing'.
      ls_fieldcat-reptext_ddic = 'Type of processing'.
      ls_fieldcat-key          = ' '.
      APPEND ls_fieldcat TO lt_fieldcat.
    ENDFORM.                    "fieldcat_init
    *&      Form  layout_init
    FORM layout_init USING ls_layout TYPE slis_layout_alv.
      ls_layout-zebra             = 'X'.
      ls_layout-colwidth_optimize = 'X'.
    ENDFORM.                    "layout_i

  • How to determine which packs are installed on the Oracle Enterprise Edition

    IS there any way to determine which option packs have been installed on 10g oracle enterprise edition . i don't seem to have grid control installed ?
    Is there some easier way to determine this ?
    regards
    Ajay

    No orainventory directory found However, it's the best way to know what are the installed product against your ORACLE_HOME.
    You can run the OUI and look for the installed components if any.
    Nicolas.
    PS : you need to log on your server.

Maybe you are looking for