Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-16-2010, 08:45 AM   #1
LQ Newbie
Registered: Apr 2010
Posts: 1

Rep: Reputation: 0
Command for applications currently running?

Please can any one assist me?

I am doing a audit on some Linux servers about 40.
One off the recuirments is a list of Applications currently
running on each server.
Does anyone have a command that I can use to show the required
Old 04-16-2010, 09:33 AM   #2
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 613Reputation: 613Reputation: 613Reputation: 613Reputation: 613Reputation: 613
This is Linux preschool.....

ps aux, top (htop, atop), ...
Old 04-16-2010, 09:44 AM   #3
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,053
Blog Entries: 14

Rep: Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226
A good start would be to simply run "ps -ef" and see what processes are running. You could do "ps -ef |grep -v root" to determine those processes not run by the root user. Generally speaking processes run by root are system processes and applications have their own admin user. Unfortunately this is not always the case - many people badly configure systems and have root running applications it shouldn't. There are also special cases where the first process is running as root and it then spawns subprocesses as another user. (Properly configured Apache is a good example of that.)

Many packages on Linux are installed by a package manager and these are different for the various distros. You could use your package manager to show you what packages are there and then try to determine which of these are just system (required to support the application) or are actually the main point of the server. For example you could run "rpm -qa" on a RedHat/Fedora/CentOS system to see all RedHat Package Manager (RPM) packages.

Some packages however are installed by other means - via an extracted compressed tar bundle and/or compiled locally on the server.

I guess it would depend on what the definition of "application" is in this context. Were I charged with doing such an audit my definition would be:
1) Primary purpose application of the system whether it is free or not.
2) Any commercial application (one you pay money for).
3) Some other applications critical to the business whether free or not.

I suspect the main interest in such an audit is number 2 so I would be sure to list any free applications as such.

So if the primary purpose were to be a web server I might list Apache as the application (seen as httpd in ps output) but note that it was Free Open Source Software (FOSS). If I were running MySQL as a primary database server I would list MySQL.

If I were running say Oracle which ships with Apache I would list the Oracle product but not Apache as I would consider it part of Oracle install. (Similarly Oracle is heavily dependent on Java so I wouldn't list Java as it is FOSS.)

If you were running JBOSS as supported by RedHat you might list that as an application even though it is part of your web infrastructure.


application, linux

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Running more applications BIG_Yack Linux - Newbie 1 07-02-2008 02:07 PM
CPU running at 100% usage while no applications are running mike_morley Linux - Desktop 14 05-17-2007 10:39 PM
Applications Running. ranjeet_badhe Solaris / OpenSolaris 1 02-06-2007 02:25 AM
Applications not running... clemons Linux - Software 2 10-28-2004 12:10 AM
Running Applications kingtas Linux - Newbie 3 09-13-2004 05:31 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:20 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration