maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [ANNOUNCE] atop ... (https://talk.maemo.org/showthread.php?t=75729)

colin.stephane 2011-08-14 09:52

[ANNOUNCE] atop ...
 
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++

HtheB 2011-08-14 17:36

Re: [ANNOUNCE] atop ...
 
Any differences with Htop?

colin.stephane 2011-08-14 17:46

Re: [ANNOUNCE] atop ...
 
Quote:

Originally Posted by HtheB (Post 1069793)
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++

fpp 2011-08-15 19:40

Re: [ANNOUNCE] atop ...
 
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...

colin.stephane 2011-08-15 20:03

Re: [ANNOUNCE] atop ...
 
Quote:

Originally Posted by fpp (Post 1070616)
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++

lidow 2011-08-16 09:29

Re: [ANNOUNCE] atop ...
 
@colin.stephane

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

colin.stephane 2011-08-29 21:17

Re: [ANNOUNCE] atop ...
 
Quote:

Originally Posted by lidow (Post 1071028)
@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++

ivgalvez 2011-08-30 06:33

Re: [ANNOUNCE] atop ...
 
Quote:

Originally Posted by colin.stephane (Post 1078648)
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

freemangordon 2011-08-30 06:53

Re: [ANNOUNCE] atop ...
 
Wondering how this patches would affect performance.

colin.stephane 2011-08-30 08:01

Re: [ANNOUNCE] atop ...
 
Quote:

Originally Posted by freemangordon (Post 1078814)
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++


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

vBulletin® Version 3.8.8