Sponsored Content
Top Forums Programming Fetch running applications list in Linux Post 302319442 by arunarora on Monday 25th of May 2009 08:31:49 AM
Old 05-25-2009
Fetch running applications list in Linux

Hi,

I need to write a code which will fetch all the application activity on user computers including app name, time of day, duration, version, etc.
Using this I need to know which applications are running currently in user's computers.

How can it be done programmatically? I need to write the code in C/C++.
The application I am building will run in background like a daemon and will get all the running applications info and will send it to the server.

I really appreciate any help, code snippet....

Thanks a lot.
Arun
 

8 More Discussions You Might Find Interesting

1. OS X (Apple)

Running Applications on my desktop?.....

Hello, I am running MAC OS X PANTHER I was wandering if anyone knew how to make the desired applications run on my desktop? I know how to do this if I make my own apps. using Realbasic, but what if I want to run CPU monitor, calender, CPU temperature, etc...? I know there has to be a way to do... (8 Replies)
Discussion started by: adamcb
8 Replies

2. Shell Programming and Scripting

How to fetch running/failed process

I am trying to fetch failed process but while doing that unable to do so. like; (1)ps -ef | grep snmpCollect o/p is coming like - root 12423 4393 1 19:44:06 pts/0 0:00 grep snmpCollect (2)ps -ef | grep sttps o/p- root 15517 4393 0 19:53:24 pts/0 0:00 grep sttps... (6 Replies)
Discussion started by: kumarabhi84
6 Replies

3. UNIX for Dummies Questions & Answers

Script to list applications in alphabetical order

I've looking over a script for work and I've had a problem with the script not listing the files in alphabetical order. To look up PIDs for apps, it would be beneficial to have them listed in that order. Here is what I've been reviewing. #!/usr/bin/perl $str = sprintf "%4s %-40s", "PID",... (7 Replies)
Discussion started by: whysolucky
7 Replies

4. Solaris

List of only registered applications on solaris machine

Hi All, I am trying to fetch a list which will give only the registred applications installed on soalris box.I want to exclude rest evrything..like drivers,database related packages and the list should contains pure application related packages installed on solaruis machine. i am using... (0 Replies)
Discussion started by: omkar.jadhav
0 Replies

5. AIX

List of installed applications

Hi All, I am new bee in AIX and i am trying to list out installed packages on any AIX machine in below format: packagename:<application/package name> ; <application/package version> ; <application/package vendor> can some one please suggest small script which will use lslpp and provide... (5 Replies)
Discussion started by: omkar.jadhav
5 Replies

6. UNIX for Dummies Questions & Answers

Linux applications finding their files

Hi, I read a way back about how LLd (linux-loader) or execve are not actually given a complete file name to find a file ;my guess a configuration file, but instead do some guessing and processing to figure out which one to load into memory. I have also read where a program that loads the... (2 Replies)
Discussion started by: theKbStockpiler
2 Replies

7. HP-UX

How to fetch all running services on HP-UX?

Hi All, I have a requirement to get all the running services on few HP-UX boxes. In Linux systems I am able to do that successfully using: chkconfig --list. However I can't find anything equivalent in HP-UX. If anyone has any pointers on the same then please suggest. Adyan (4 Replies)
Discussion started by: Adyan Faruqi
4 Replies

8. Shell Programming and Scripting

Grep to fetch exact list

Hi I have below lists of files filename-1.0.0.tar.gz filename-1.0.1.345657676.snapshots.tar.gz so when I do grep -o 'filename-*.tar.gz' | sort | tail -1 then it consider snapshots as a part of it's result. How can I make sure, that it should only display the results from... (3 Replies)
Discussion started by: manas_ranjan
3 Replies
BBACKUPD(8)							    Box Backup							       BBACKUPD(8)

NAME
bbackupd - Box Backup client daemon SYNOPSIS
bbackupd [-DFkqvVT] [-c config-file] [-t tag] DESCRIPTION
bbackupd runs on client computers in the background, finding new files to back up. When it is time for a backup, bbackupd will connect to the server (bbstored) to upload the files. A running bbackupd daemon can be controlled with the bbackupctl command, to make it shut down, reload its configuration, or start an immediate backup. bbackupd needs to be configured to tell it which files to back up, how often, and to which server (running bbstored). See the Client Configuration page for more information. For this, you must write a configuration file. You must either place it in the default location, or tell bbackupd where to find it. You can check the default location with the -h option. The default on Unix systems is usually /etc/box/bbackupd.conf. On Windows systems, it is bbackupd.conf in the same directory where bbackupd.exe is located. If bbackupd cannot find or read the configuration file, it will log an error message and exit. bbackupd usually writes log messages to the system logs, using the facility local5, which you can use to filter them to send them to a separate file. It can also write them to the console, see options below. If bbackupd is not doing what you expect, please check the logs first of all. Options -c config-file Use the specified configuration file. If -c is omitted, the last argument is the configuration file. If none is specified, the default is used (see above). -D Debugging mode. Do not fork into the background (do not run as a daemon). Not available on Windows. -F No-fork mode. Same as -D for bbackupd. Not available on Windows. -k Keep console open after fork, keep writing log messages to it. Not available on Windows. -q Run more quietly. Reduce verbosity level by one. Available levels are NOTHING, FATAL, ERROR, WARNING, NOTICE, INFO, TRACE, EVERYTHING. Default level is NOTICE in non-debugging builds. Use once to drop to WARNING level, twice for ERROR level, four times for no logging at all. -v Run more verbosely. Increase verbosity level by one. Use once to raise to INFO level, twice for TRACE level, three times for EVERYTHING (currently the same as TRACE). -V Run at maximum verbosity (EVERYTHING level). -t tag Tag each console message with specified marker. Mainly useful in testing when running multiple daemons on the same console. -T Timestamp each line of console output. FILES
/etc/box/bbackupd.conf SEE ALSO
bbackupd.conf(5), bbackupd-config(8), bbackupctl(8) AUTHORS
Ben Summers Per Thomsen James O'Gorman Box Backup 0.11 10/28/2011 BBACKUPD(8)
All times are GMT -4. The time now is 09:23 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy