LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 01-30-2011, 07:06 PM   #1
pilsner001
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

Thx
 
Old 01-30-2011, 07:10 PM   #2
macemoneta
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: 344Reputation: 344Reputation: 344Reputation: 344
This command will provide the list of windows opened:

Code:
wmctrl -l
From 'man wmctrl':

Quote:
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
pilsner001
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
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

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


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 03:54 AM.

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