Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Get Installed applications list and applications activity


    Hi,

    Is there a programmatic way to get the list of all installed applications on Linux.

    Also, how can we get the application activities in Linux OS like running applications name, time of day when they started, duration till the applications were running on system, application version etc.

    Is there a way to do this in C/C++.

    I am building an app that runs like a daemon and fetches the applications status and sends it to the network admin for him to monitor the application usage pattern on the user computers in the network.

    I really appreciate any help, workaround or code snippet.

    Thanks a lot..
    Arun

  2. #2
    Linux User
    Join Date
    Jan 2007
    Location
    cleveland
    Posts
    480
    have you considered using either "ps" or "top" as a basis?
    They record active processes in various formats: surely you
    can rig up a wrapper to send the results to sysadmin
    the sun is new every day (heraclitus)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •