Results 1 to 2 of 2
|
Enjoy an ad free experience by logging in. Not a member yet? Register.
|
|
-
05-25-2009 #1
- Join Date
- May 2009
- Posts
- 2
Get Installed applications list and applications activity
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
-
05-27-2009 #2
- 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 sysadminthe sun is new every day (heraclitus)