apt-get Install dstat

How do you install dstat in Linux using apt-get command?

How to Install dstat with apt-get?

apt-get install dstat -y

Install Dstat  Command

Here is a tutorial to learn how to install dstat using apt-get command.

Step 1: Open terminal with su access and enter the command as shown below:
apt-get install dstat -y

Step 2: After completion, the install command exits and instructs the user to restart the running instances of dstat if it is running already.

Result of the Command Execution shown below:

root@hiox:~ apt-get install dstat -y
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
libcache cache perl courier authlib libproc processtable perl php fpdf
libdatetime format mail perl libdevel symdump perl libsm dev libgd text perl
libchart perl libnet daemon perl libsys cpuload perl libdb je java junit4
pure ftpd common libnet ssleay perl libcrypt openssl rsa perl rpm2cpio
pure ftpd mysql postgresql 8.4 libyaml tiny perl bind9
libexception class perl dx doc courier imap ssl libice dev eclipse jdt
realpath libfilesys df perl libauthen sasl perl sasl2 bin libdb4.7 java
eclipse platform data libunshield0 emacs23 bin common libproc process perl
libconvert tnef perl libgd graph3d perl libio stringy perl db4.8 util
libgcj bc gcj 4.4 base libreadonly perl libclone perl libpthread stubs0
libpam unix2 eclipse pde libjtidy java libgd gd2 perl
libapache2 mod log sql ssl libicu4j java courier base eclipse rcp
libapache2 mod log sql mysql libservlet2.4 java dxsamples libdb4.7 java gcj
libsox fmt base rrdtool clamav mysql server bind9utils libossp uuid perl
junit php5 libreadonly xs perl libcrypt ssleay perl unshield libsox fmt alsa
eclipse plugin cvs libdbi perl ncftp libjson xs perl
libdevel stacktrace perl libarchive zip perl libmime tools perl
libstring shellquote perl courier pop ssl liblog log4perl perl libnusoap php
librpmio0 libjson perl librpm0 rpm common dspam librrd4 gcj 4.4 jre lib
libdshconfig1 libipc sharelite perl gettext base libhtml template perl
libjs prototype libapache2 mod php5 clamav base dtc common
libperl6 junction perl libclamav6 libfcgi perl libcommons compress java
dspam doc libnet jabber perl php5 gd x11proto kb dev libdvbpsi5 libebox
libdspam7 libgcj10 libfile mmagic perl libdatetime timezone perl
php mail mime libfile slurp perl libapache2 reload perl libid3 3.8.3c2a
libmail rfc822 address perl libdatetime format w3cdtf perl courier pop tcsh
procmail xtrans dev libxml stream perl php xml serializer libnet cidr perl
libxcrypt1 libelf1 courier ssl gettext sbox dtc libgd graph perl ant
libnss mysql bg php pear x11proto input dev default jdk libjsch java
libgnome2 gconf perl libsoap lite perl php5 curl libt1 5 jarwrapper cvs
libjs scriptaculous libxml rss perl ant optional libparams validate perl
libbsd resource perl libpam mysql expect libfile tail perl libreadline5
mlmmj libxt dev libnet server perl libhdf4 0 postgresql common
libdbd mysql perl libclass container perl libdatetime perl
liblog dispatch perl pax lesstif2 sat4j postfix mysql postgresql
libsys cpu perl libcommons el java postgresql client 8.4
libcompress raw zlib perl cabextract courier authdaemon
libdatetime locale perl libapache2 mod perl2 webalizer libgsm1 libxau dev
libdx4 rpm courier authlib userdb librpmbuild0 libtask weaken perl
courier imap sox courier maildrop mysql client libslf4j java libasm3 java
libnet xmpp perl dwm tools emacsen common libplrpc perl libregexp java
wwwconfig common php xml parser mhonarc libdbd pg perl fastjar
clamav freshclam libjasper java libapache2 mod log sql libmail dkim perl
emacs23 libconvert uulib perl chrootuid postgresql client common libdb4.6
libdb4.7 libberkeleydb perl ant optional gcj libpq5 amavisd new libid3tag0
libio multiplex perl libhamcrest java liblucene2 java php5 mysql libx11 dev
libequinox osgi java liblist moreutils perl libclass data inheritable perl
libintl perl patch eclipse platform libgcj common libcommon sense perl
php5 cli courier authlib mysql php crypt cbc libsox1a libnet libidn perl
libapache singleton perl emacs23 common libxcb1 dev openjdk 6 jdk
libconvert binhex perl ant gcj libcommons digester java clamav daemon
libio socket ssl perl libhtml mason perl libjetty java libossp uuid16
php mail mimedecode librsync1 php5 common openbsd inetd libjline java
mysql server 5.1 libclass singleton perl libnet1 x11proto core dev
javascript common libxdmcp dev libpthread stubs0 dev libunix syslog perl
libcrypt openssl bignum perl mysql client 5.1 libnids1.21 libnetcdf4
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
0 upgraded, 1 newly installed, 0 to remove and 49 not upgraded.
Need to get 68.8kB of archives.
After this operation, 487kB of additional disk space will be used.
Get:1 http://old releases.ubuntu.com/ubuntu/ lucid/universe dstat 0.7.0 2 [68.8kB]
Fetched 68.8kB in 0s (102kB/s)
Selecting previously deselected package dstat.
(Reading database ... (Reading database ... 5%(Reading database ... 10%(Reading database ... 15%(Reading database ... 20%(Reading database ... 25%(Reading database ... 30%(Reading database ... 35%(Reading database ... 40%(Reading database ... 45%(Reading database ... 50%(Reading database ... 55%(Reading database ... 60%(Reading database ... 65%(Reading database ... 70%(Reading database ... 75%(Reading database ... 80%(Reading database ... 85%(Reading database ... 90%(Reading database ... 95%(Reading database ... 100%(Reading database ... 195835 files and directories currently installed.)
Unpacking dstat (from .../archives/dstat_0.7.0 2_all.deb) ...
Processing triggers for man db ...
Setting up dstat (0.7.0 2) ...

Processing triggers for python central ...

Related Topics

Apt Get Commands