Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Desktop
User Name
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.


  Search this Thread
Old 01-30-2011, 07:06 PM   #1
LQ Newbie
Registered: Jan 2011
Posts: 2

Rep: Reputation: 0
Linux task manager equivalent

Hi all,

I'm developing an application logger software. I should make a log file that contains all the applications opened by user. Under Windows is not matter, I could solve it using the tasklist. Under Linux it's a little bit different, because I can get the whole list of running processes olny using command ps. So I need some command/tool or any way to get the list of applications physically opened by user - e.g. list of opened windows.

ps.: it should be a cross-platform logger application

Old 01-30-2011, 07:10 PM   #2
Senior Member
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
This command will provide the list of windows opened:

wmctrl -l
From 'man wmctrl':

wmctrl is a command that can be used to interact with an X Window manager that is compatible with the EWMH/NetWM specification. wmctrl can query the window manager for information, and it can request that certain window management actions be taken.
1 members found this post helpful.
Old 01-31-2011, 04:57 AM   #3
LQ Newbie
Registered: Jan 2011
Posts: 2

Original Poster
Rep: Reputation: 0
Thumbs up

it works, thanks a lot (Y)
Old 02-02-2011, 08:38 AM   #4
LQ 5k Club
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721
Mark the thread as solved.


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
Is There a Linux Task Manager Equivalent to you know who's? Kevin Tough Linux - Newbie 14 11-21-2012 04:47 PM
[SOLVED] Is there a Linux equivalent to the Windows Task Manager? gray53 Linux - Newbie 7 07-30-2009 08:22 PM
Linux equivalent of task manager invinciblegod Linux - General 1 07-26-2005 02:00 AM
linux task manager equivalent. mrpringle Linux - Software 4 07-04-2004 12:13 AM
Equivalent of Windows Task Manager with KDE bottled leaf Linux - Newbie 3 02-21-2004 10:43 AM > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 04:52 AM.

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