Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Terminal monitoring applications


  • Please log in to reply
18 replies to this topic

#1 TsVk!

TsVk!

    penguin farmer


  • Members
  • 6,236 posts
  • ONLINE
  •  
  • Gender:Male
  • Location:The Antipodes
  • Local time:01:12 PM

Posted 01 December 2015 - 08:51 PM

I've recently had a lot of "fun" with some Debain machines going mad on me. Unfortunately all of the machines were remote and GUI-less so I was forced to get a bit more down and dirty with my diagnostics. You'll be pleased to hear (or completely ambivalent to the fact) that everything was resolved and I can now get back to my R&D.

 

In light of what I learned I would like to share this link.

 

There is a great selection and explanation of monitoring tools, but it fails to mention atop. (which is basically just top on steroids)

 

Worth a look.

 

:busy:

 

 



BC AdBot (Login to Remove)

 


#2 wizardfromoz

wizardfromoz

  • Banned
  • 2,799 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:01:12 PM

Posted 02 December 2015 - 01:07 AM

Looks like this might be of considerable use to Sysadmins - taking note, Nick? - good of Netflix to share.

 

And kudos to you.

 

:wizardball: Wizard



#3 NickAu

NickAu

    Bleepin' Fish Doctor


  • Moderator
  • 13,551 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:127.0.0.1 Australia
  • Local time:02:12 PM

Posted 02 December 2015 - 02:58 AM

I use atop.

 

dzvv6b.png



#4 cat1092

cat1092

    Bleeping Cat


  • BC Advisor
  • 7,018 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:North Carolina, USA
  • Local time:11:12 PM

Posted 06 December 2015 - 05:53 AM

It would be great if atop were offered in a .deb package, making things easier for Linux users. 

 

Having to convert files (or make them) from packages is way beyond the scope of a newbie, as well as many whom has ran Linux for years. The .deb file, users can connect with in no time, like the .exe one & would attract more users to Linux. Even if there were an all in one Terminal command to extract/install these type of packages, that would be of some help. 

 

Not much assistance given on the author's site, (s)he is assuming that the user knows which package to download & what to do afterwards. 

 

Cat


Performing full disc images weekly and keeping important data off of the 'C' drive as generated can be the best defence against Malware/Ransomware attacks, as well as a wide range of other issues. 


#5 TsVk!

TsVk!

    penguin farmer

  • Topic Starter

  • Members
  • 6,236 posts
  • ONLINE
  •  
  • Gender:Male
  • Location:The Antipodes
  • Local time:01:12 PM

Posted 06 December 2015 - 06:06 AM

atop is part of the Debian repository... I assume a quick apt-cache search would also turn it up for all Debian children. No?



#6 NickAu

NickAu

    Bleepin' Fish Doctor


  • Moderator
  • 13,551 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:127.0.0.1 Australia
  • Local time:02:12 PM

Posted 06 December 2015 - 04:40 PM

It would be great if atop were offered in a .deb package, making things easier for Linux users. 
 
Having to convert files (or make them) from packages is way beyond the scope of a newbie


What's wrong with installing it via terminal?

sudo apt-get install atop

Or via Software Centre?

ubuntu-software-centre_005.png


Edited by NickAu, 06 December 2015 - 04:41 PM.


#7 Guest_hollowface_*

Guest_hollowface_*

  • Guests
  • OFFLINE
  •  

Posted 06 December 2015 - 05:14 PM

It would be great if atop were offered in a .deb package
-REF:http://www.bleepingcomputer.com/forums/t/598131/terminal-monitoring-applications/#entry3879793

While it is available from both the Ubuntu and Debian repos (though rather and old version), I agree that it would be nice to see the official site offering a DEB version, as that would make it easier to install the latest version.

3rd Party DEB Downloads:
Ubuntu 12.04 AMD64 = http://mirrors.kernel.org/ubuntu/pool/universe/a/atop/atop_1.26-0ubuntu1_amd64.deb
Ubuntu 12.04 i386 = http://mirrors.kernel.org/ubuntu/pool/universe/a/atop/atop_1.26-0ubuntu1_i386.deb
Ubuntu 14.04 AMD64 = http://mirrors.kernel.org/ubuntu/pool/universe/a/atop/atop_1.26-2_amd64.deb
Ubuntu 14.04 i386 = http://mirrors.kernel.org/ubuntu/pool/universe/a/atop/atop_1.26-2_i386.deb
Ubuntu 15.10 AMD64 = http://mirrors.kernel.org/ubuntu/pool/universe/a/atop/atop_1.26-2_amd64.deb
Ubuntu 15.10 i386 = http://mirrors.kernel.org/ubuntu/pool/universe/a/atop/atop_1.26-2_i386.deb
Debian 8 AMD64 = http://ftp.us.debian.org/debian/pool/main/a/atop/atop_1.26-2_amd64.deb
Debian 8 i386 = http://ftp.us.debian.org/debian/pool/main/a/atop/atop_1.26-2_i386.deb

#8 TsVk!

TsVk!

    penguin farmer

  • Topic Starter

  • Members
  • 6,236 posts
  • ONLINE
  •  
  • Gender:Male
  • Location:The Antipodes

Posted 06 December 2015 - 05:36 PM

Meh... the application is beyond the scope of beginner users anyways, most who could use it to its full potential would have the ability to install it in the current format.

 

(really, a tarball isn't rocket science, bloody whingers)



#9 Guest_hollowface_*

Guest_hollowface_*

  • Guests
  • OFFLINE
  •  

Posted 06 December 2015 - 05:52 PM


most who could use it to its full potential would have the ability to install it in the current format.

-REF:http://www.bleepingcomputer.com/forums/t/598131/terminal-monitoring-applications/#entry3880196

 

True, but it's still harder than downloading a DEB, more time consuming to install than a DEB, and the result won't be managed (unless the user builds a DEB), leaving that responsibility to the user. Source Code is great because you can install on all distros, but there are reasons why many distros provide repositories of pre-compiled software, like ease and speed of install.



#10 TsVk!

TsVk!

    penguin farmer

  • Topic Starter

  • Members
  • 6,236 posts
  • ONLINE
  •  
  • Gender:Male
  • Location:The Antipodes
  • Local time:01:12 PM

Posted 06 December 2015 - 07:24 PM

Time and ease really isn't a factor here with this package and  not being managed is irrelevant also.

 

These things can be an issue with other applications but I really don't see your point in this case.



#11 cat1092

cat1092

    Bleeping Cat


  • BC Advisor
  • 7,018 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:North Carolina, USA

Posted 07 December 2015 - 02:55 AM

 

 

What's wrong with installing it via terminal?

 

Nothing, as long as all software would install that simple. :thumbup2:

 

Some things, we have to jump through loops & hoops to install. 

 

hollowface, Thanks for the download links! :)

 

Will install it tomorrow, am having to test a OS for someone else, on it now, unfortunately she wasn't interested in Linux Mint, though I did engage her with an hour of discussion. She's bringing an older PC stashed in the closet since 2009 for me to install it on, though unlike many, was only a year old when placed there. She just didn't like Vista, one of millions, and once got a Windows 7 one, never looked back. I bet with the GPU that I have, a AMD 7770 (MSI rebranded R7770 1GB GDDR5 OC edition), it would make an excellent Linux PC. Is bringing it tomorrow when she picks this one up. 

 

I may just try to talk her into calling it even for the work I performed to get the PC, has a Intel Core 2 Quad. One thing in my favor, because I didn't know how many hours would be needed to reinstall, she told me we'd settle when she picked it up, leaving a huge open door. I spent nearly 24 hours on two reinstall attempts, because she wanted the OEM software intact. My time is valued, especially when one has something I want, though most of what I do is pro bono. 

 

Cat


Performing full disc images weekly and keeping important data off of the 'C' drive as generated can be the best defence against Malware/Ransomware attacks, as well as a wide range of other issues. 


#12 Guest_hollowface_*

Guest_hollowface_*

  • Guests
  • OFFLINE
  •  

Posted 07 December 2015 - 11:27 PM

@TsVk!

Time and ease really isn't a factor here with this package and  not being managed is irrelevant also. These things can be an issue with other applications but I really don't see your point in this case.

I agree that time isn't a factor in this case, but ease and management are.

Ease:
Install Atop From DEB:
cd ~/Downloads
wget "http://mirrors.kernel.org/ubuntu/pool/universe/a/atop/atop_1.26-2_amd64.deb"
sudo gdebi atop_1.26-2_amd64.deb
(Tested on Lubuntu 14.04 AMD64. Success!)

Install Atop From Source Code:
cd ~/Downloads
wget "http://www.atoptool.nl/download/atop-2.2-3.tar.gz"
tar -xzf atop-2.2-3.tar.gz
sudo -i
cd /home/example1/Downloads/atop-2.2-3
make sysvinstall
(Tested on Lubuntu 14.04 AMD64. Failed!)

There are fewer steps to install from DEB, and they are simpler, because you don't have to worry about knowing which init system you're running, or worry about dependencies (if using a package manager to install the DEB).

Management:
If installing the DEB using a package manager, you don't need to check for dependencies, as long as your repos can satisfy the dependencies the package-manager will install them if needed. That said, many distros will likely have atop's dependencies pre-installed. On Lubuntu 14.04 AMD64 the recursive dependency list is: gcc-4.9-base, libc6, libgcc1, libncurses5, libtinfo5, lsb-base, multiarch-support, zlib1g. If you ever forget that you've installed atop and try to install it again, because the install was managed, you'll be told it's already installed. The package manager can also help prevent you from accidentally removing anything atop depends on.

 

Conclusion:
In my opinion, Installing from a DEB is easier, faster, and once installed it's less work for the user, because it's managed. Many people use distros that are centered around a package management system, because they find it convenient, and so some users may not want to have this one application (atop) that is manually managed. I'm not suggesting there is anything wrong with compiling from source, or that installing from a DEB is better, just pointing out that some people using a distro like Ubuntu, which is centered around DEB usage, may find compiling from source inconvenient. It's completely understandable why the developer doesn't provide a DEB (if I were him I likely wouldn't), but that doesn't change the fact that there are concequences to this decision. I suspect that many Ubuntu, Debian, Ubuntu derivative, and Debian derivative users are probably running outdated versions of atop merely out of the convenience of being able to install using a DEB from the repos and having the package managed.

@Cat1092


Thanks for the download links!

You're welcome.

 


she wasn't interested in Linux Mint, though I did engage her with an hour of discussion.

If you talked about for an hour then perhaps you've sparked enough interest that one day when she's feeling adventurous she'll google it. Once you start googling Linux, it's only a matter of time before you end up trying a distro.
 



#13 NickAu

NickAu

    Bleepin' Fish Doctor


  • Moderator
  • 13,551 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:127.0.0.1 Australia
  • Local time:01:12 PM

Posted 08 December 2015 - 01:03 AM

All the methods shown here for installing Atop work perfectly well in most cases.

 

 

Meh... the application is beyond the scope of beginner users anyways, most who could use it to its full potential would have the ability to install it in the current format.

I totally agree with you. People who use sudo apt-get and software centre/manager wont know what to do with it mostly, people who use .deb maybe or wget might.

 

When a novice sees something like this that needs to be typed in the flesh eating life sucking blood drinking terminal.

cd ~/Downloads
wget "http://www.atoptool.nl/download/atop-2.2-3.tar.gz"
tar -xzf atop-2.2-3.tar.gz
sudo -i
cd /home/example1/Downloads/atop-2.2-3
make sysvinstall

Some will run for the hills in terror or curl up in a little ball under the desk and cry.

 

Sometimes we see people install Kali Linux because they want to be hackers,Right?,  Well here's a tip for those people , You don't actually need Kali to do that stuff, you can actually install a lot of that stuff into most buntu based distros via terminal or build from source, but then again people who can do this also know this and know how to use Kali Linux and terminal.  Installing software by clicking a button on software manager only teaches you so much, Making software teaches you some more, Learn the basics first walk before you try to run.

 

Here's a fun way to learn how to use terminal, A game.

 

 


A collection of challenges in increasing difficulty to learn some linux commands for the terminal:
http://overthewire.org/wargames/bandit
 
regards
myrti

http://www.bleepingcomputer.com/forums/t/548703/new-to-linux-newbies-gurus-not-so-newbies-all-distros-tips-lore/?p=3609394

 

Thank you myrti for the link, I am about to start playing and am thinking of starting thread about it maybe get a few members involved, could be fun.


Edited by NickAu, 08 December 2015 - 02:00 AM.


#14 cat1092

cat1092

    Bleeping Cat


  • BC Advisor
  • 7,018 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:North Carolina, USA
  • Local time:11:12 PM

Posted 08 December 2015 - 04:12 AM

The .deb version worked perfectly for me, unlike some software, was able to right click & install, after password of course, only it's called Htop under System Tools. Though there was a warning or prompt that the same version is available in the Software Manager. 

 

Screenshot-Terminal-5.png

 

Great to have, handy tool, glad that this issue came up! :thumbup2:

 

Cat


Performing full disc images weekly and keeping important data off of the 'C' drive as generated can be the best defence against Malware/Ransomware attacks, as well as a wide range of other issues. 


#15 Al1000

Al1000

  • Global Moderator
  • 7,969 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Scotland

Posted 08 December 2015 - 04:26 AM

atop and htop are different tools.
 
al@my_desktop_pc:~$ apt-cache policy htop
htop:
  Installed: (none)
  Candidate: 1.0.2-3
  Version table:
     1.0.2-3 0
        500 http://mirror.bytemark.co.uk/ubuntu/ trusty/universe i386 Packages
al@my_desktop_pc:~$ apt-cache policy atop
atop:
  Installed: 1.26-2
  Candidate: 1.26-2
  Version table:
 *** 1.26-2 0
        500 http://mirror.bytemark.co.uk/ubuntu/ trusty/universe i386 Packages
        100 /var/lib/dpkg/status





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users