maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   How to check background applications (https://talk.maemo.org/showthread.php?t=71092)

Joseph.skb 2011-03-16 06:39

How to check background applications
 
1 Attachment(s)
It seems my battery is draining faster than usual. When I checked the batterygraph, seems some application is running slightly in the background. I don't have development stuffs and not sure how to operate the X-terminal. Can someone share a simple way to check running applications - like Task Manager on PC?

zlatko 2011-03-16 06:46

Re: How to check background applications
 
You can use "top"(table of processes) or "ps ax". You just google their usage.

Alfred 2011-03-16 06:48

Re: How to check background applications
 
isn't htop what you are talking about ?
or just type in terminal "top"

Hmtsjmftsch 2011-03-16 06:48

Re: How to check background applications
 
Or just install conky or htop

jurop88 2011-03-16 09:04

Re: How to check background applications
 
Since the operator says 'not sure about xterm' I second the 'conky' app proposal, too - beware it does not log usage but only shows current situation of running processes every 2 seconds (by memory it should be the default conf, mine is not since long time...)
Htop can also be installed and albeit it works in xterm, the OP is not obliged to know the underlying process. It could be useful for ordering processes in usage time (hit SHIFT+T in htop window) order but at least a bare knowledge of the system is needed for the drill.

vi_ 2011-03-16 09:23

Re: How to check background applications
 
I see you are monitoring this thread too switch_...where to start? Honestly this **** should be wiki'fied we have been through it so many times already.

Bro, if you want to solve this you are going to get your hands dirty.

1. open terminal and enter:

Code:

top > output.txt
2. Paste the file output.txt to this thread.

Joseph.skb 2011-03-16 12:27

Re: How to check background applications
 
Quote:

Originally Posted by vi_ (Post 968783)
I see you are monitoring this thread too switch_...where to start? Honestly this **** should be wiki'fied we have been through it so many times already.

Bro, if you want to solve this you are going to get your hands dirty.

1. open terminal and enter:

Code:

top > output.txt
2. Paste the file output.txt to this thread.

This is going to be humiliating...but, how do you "enter" to run the #1?

I see the "command" ~ $

Sorry, I've never used this before.

9000 2011-03-16 12:32

Re: How to check background applications
 
Quote:

Originally Posted by Joseph.skb (Post 968883)
This is going to be humiliating...but, how do you "enter" to run the #1?

Don't worry about it. ;)

Run xterminal application, or press CTRL-SHIFT-X on the desktop to runt he xterminal.

Open the keyboard, type the following to show a list of running processes, sorted by CPU usage:

Code:

top
It'll run continuously. Press 'q' to quit.

vi_ wants you to redirect the 'top' output to a file for viewing. However, his command doesn't work as expected as the top would run continuously. You might need to force it to run once and redirect it to a file, like that:

Code:

top -n 1 > /home/user/MyDocs/output.txt
Then you can connect your N900 to your PC as mass storage and attach the file here.

Switch_ 2011-03-16 12:54

Re: How to check background applications
 
Quote:

Originally Posted by vi_ (Post 968783)
I see you are monitoring this thread too switch_

Indeedy, that I am - I just hope that after all the help I have been offered that maybe I am able to re-inject some of that into the community.

Too many people are quick to "n00b" someone on these forums already, so, you know ;)

nicholes 2011-03-16 14:00

Re: How to check background applications
 
by typing top in x terminal i can not scroll down the page (it automatically bring me on the top of the page) i have make font smaller by pressing the volume key however i can see all the process running! any help?
i do not want this every time ( top -n 1 > /home/user/MyDocs/output.txt)

Joseph.skb 2011-03-16 23:06

Re: How to check background applications
 
1 Attachment(s)
Quote:

Originally Posted by 9000 (Post 968886)
Don't worry about it. ;)

Run xterminal application, or press CTRL-SHIFT-X on the desktop to runt he xterminal.

Open the keyboard, type the following to show a list of running processes, sorted by CPU usage:

Code:

top
It'll run continuously. Press 'q' to quit.

vi_ wants you to redirect the 'top' output to a file for viewing. However, his command doesn't work as expected as the top would run continuously. You might need to force it to run once and redirect it to a file, like that:

Code:

top -n 1 > /home/user/MyDocs/output.txt
Then you can connect your N900 to your PC as mass storage and attach the file here.

Hi! I ran this code, op -n 1 > /home/user/MyDocs/output.txt - but there was no outcome. Should I change the contents to my user defined names? (eg. home = N900, MyDocs = my documents name? or something else)

I PgDn to one of the highest CPU% to take a snapshot (below).


All times are GMT. The time now is 08:14.

vBulletin® Version 3.8.8