Active Topics

 



Notices


Reply
Thread Tools
Posts: 458 | Thanked: 783 times | Joined on Jan 2010 @ France
#1
Hi all,

Here is my first attempt to package the latest atop utility :

Atop :

Atop is an ASCII full-screen performance monitor that is capable of reporting the activity of all processes (even if processes have finished during the interval), daily logging of system and process activity for long-term analysis, highlighting overloaded system resources by using colors, etc.

Overview :

At regular intervals, it shows system-level activity related to the CPU, memory, swap, disks, and network layers, and for every active process it shows the CPU utilization, the memory growth, priority, username, state, and exit code.

Download packages from extra-devel :

Activate all repositories following this tutorial : Repositories Activation

Then, as usual, as root, install with :

Code:
-bash-2.05b# apt-get install atop && atop --help
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  atop
0 upgraded, 1 newly installed, 0 to remove and 12 not upgraded.
Need to get 188kB of archives.
After this operation, 475kB of additional disk space will be used.
Get:1 http://repository.maemo.org fremantle/free atop 1.26-1maemo2 [188kB]
Fetched 188kB in 0s (336kB/s)
Selecting previously deselected package atop.
(Reading database ... 38848 files and directories currently installed.)
Unpacking atop (from .../atop_1.26-1maemo2_armel.deb) ...
Setting up atop (1.26-1maemo2) ...
atop: invalid option -- -
Usage: atop [-flags] [interval [samples]]
		or
Usage: atop -w  file  [-S] [-a] [interval [samples]]
       atop -r [file] [-b hh:mm] [-e hh:mm] [-flags]

	generic flags:
	  -a  show or log all processes (i.s.o. active processes only)
	  -P  generate parseable output for specified label(s)
	  -L  alternate line length (default 80) in case of non-screen output
	  -f  show fixed number of lines with system-statistics
	  -l  show limited number of lines for certain resources
	  -1  show average-per-second i.s.o. total values

	  -x  no colors in case of high occupation
	  -g  show general process-info (default)
	  -m  show memory-related process-info
	  -d  show disk-related process-info
	  -n  show network-related process-info
	  -s  show scheduling-related process-info
	  -v  show various process-info (ppid, user/group, date/time)
	  -c  show command-line per process
	  -o  show own defined process-info
	  -u  show cumulated process-info per user
	  -p  show cumulated process-info per program (i.e. same name)

	  -C  sort processes in order of cpu-consumption (default)
	  -M  sort processes in order of memory-consumption
	  -D  sort processes in order of disk-activity
	  -N  sort processes in order of network-activity
	  -A  sort processes in order of most active resource (auto mode)

	specific flags for raw logfiles:
	  -w  write raw data to   file (compressed)
	  -r  read  raw data from file (compressed)
	      special file: y[y...] for yesterday (repeated)
	  -S  finish atop automatically before midnight (i.s.o. #samples)
	  -b  begin showing data from specified time
	  -e  finish showing data after specified time

	interval: number of seconds   (minimum 0)
	samples:  number of intervals (minimum 1)

If the interval-value is zero, a new sample can be
forced manually by sending signal USR1 (kill -USR1 pid_atop)
or with the keystroke 't' in interactive mode.
-bash-2.05b#
After successful installation, just use it !!!


Hope you like it ...

A++
 

The Following 11 Users Say Thank You to colin.stephane For This Useful Post:
HtheB's Avatar
Moderator | Posts: 3,718 | Thanked: 7,420 times | Joined on Dec 2009 @ Bize Her Yer Trabzon
#2
Any differences with Htop?
__________________
www.HtheB.com
Please donate if you think I'm doing a good job.
 
Posts: 458 | Thanked: 783 times | Joined on Jan 2010 @ France
#3
Originally Posted by HtheB View Post
Any differences with Htop?
Since I don't like go to web sites for any project, read and report here difference between one or another, I suggest you to read by yourself, and if you have time, report here your conclusions ...

To help you forging an opinion, here is some links :

- Atop Project Home Page.

- Htop Project Home Page.

Hope it help ...

A++
 

The Following User Says Thank You to colin.stephane For This Useful Post:
fpp's Avatar
Posts: 2,853 | Thanked: 968 times | Joined on Nov 2005
#4
Is atop not too hard to read on the N900 ?
From the screenshots it looks like the displays are in two parts, stacked vertically, and are even more packed with information than htop's, which is already small enough on the N900's screen...
__________________
maemo blog
 
Posts: 458 | Thanked: 783 times | Joined on Jan 2010 @ France
#5
Originally Posted by fpp View Post
Is atop not too hard to read on the N900 ?
From the screenshots it looks like the displays are in two parts, stacked vertically, and are even more packed with information than htop's, which is already small enough on the N900's screen...
Hi fpp,

Many console utilities are hard to read with my old eyes

I tend to use theses utilities via ssh from a linux box, so I do not have the problem of readability ...

BTW, effectively just tried in the N900, it's not really good to read.

A++
 
Posts: 151 | Thanked: 93 times | Joined on Sep 2009 @ sofia, bulgaria
#6
@colin.stephane

is there a chance the kernel patches required by atop to enter in kernel power?
 
Posts: 458 | Thanked: 783 times | Joined on Jan 2010 @ France
#7
Originally Posted by lidow View Post
@colin.stephane

is there a chance the kernel patches required by atop to enter in kernel power?
Sure ...

I have successfully applied atop kernel patches across kernel-power-v48 ...

Now, the problem is, how to push the modified packages ?

A++

Last edited by colin.stephane; 2011-08-29 at 23:51. Reason: Atop kernel patches applied ...
 
Posts: 1,397 | Thanked: 2,126 times | Joined on Nov 2009 @ Dublin, Ireland
#8
Originally Posted by colin.stephane View Post
Sure ...

I have successfully applied atop kernel patches across kernel-power-v48 ...

Now, the problem is, how to push the modified packages ?

A++
Send the patch to Pali so he can apply it to KPv49
 
Posts: 3,074 | Thanked: 12,964 times | Joined on Mar 2010 @ Sofia,Bulgaria
#9
Wondering how this patches would affect performance.
 

The Following 2 Users Say Thank You to freemangordon For This Useful Post:
Posts: 458 | Thanked: 783 times | Joined on Jan 2010 @ France
#10
Originally Posted by freemangordon View Post
Wondering how this patches would affect performance.
I don't see any changes of perfomance on my side running the kp48 + this atop patch ...

A++
 
Reply


 
Forum Jump


All times are GMT. The time now is 13:04.