banner



How To Use Ksar On Windows

On this folio

  1. Organization Monitoring With sar And ksar
    1. Intro
    2. Preliminary Notation + Disclaimer
    3. 1. sar
    4. two. ksar
    5. 3. URL'southward

Organisation Monitoring With sar And ksar

Intro

sar is ane of the old and famous commandline utilities, which is oft overlooked. It provides a wealth of information when you have kind of performance bottlenecks. By itself it simply provides lengthy columns of numerical data, kind of hard to interpret. sar exists on most Linux distributions, for example Ubuntu, Debian, CentOS, Gentoo, and is also available on Solaris, AIX, and other commercial Unices.

ksar, on the other hand, is a Java based forepart stop for sar's numerical information. It produces friendly graphs which could exist exported to .pdf and some other formats.

Preliminary Note + Disclaimer

For using this tutorial y'all should exist familiar using a vanquish, at to the lowest degree some basic knowledge is advantageous.

The post-obit tutorial is a kind of cooking receipe using sar and ksar. It should easily be adoptable to almost any kind of Linux or Unix, where the prerequisites are available. I tin can not upshot any guarantee that this recipe works likewise for yous.

i. sar

Equally already mentioned higher up sar is commandline driven. It is in a package named like sysstat (Ubuntu, Debian, CentOS, Gentoo, to proper noun some). You should install it using your favourite package manager (apt-get, yum, synaptic, yumex, emerge, ..). Favourably sar could and should be used in conjunction with cron, then you may have a await into /etc/cron.d/sysstat or a similar named file. Information technology should look similar (CentOS in this case):

# run organization activity accounting tool every 10 minutes */ten * * * * root /usr/lib/sa/sa1 1 one # generate a daily summary of process accounting at 23:53 53 23 * * * root /usr/lib/sa/sa2 -A

Not to forget, sar should be installed on the system you lot like to monitor.

sar is run with the aid of cron every 10 minutes, produces a kind of binary snapshot what is going on on the system, and at 23:53 a daily summary is produced. The "homo friendly" daily summary and the binary database are stored in /var/log/sa (CentOS) or in /var/log/sysstat (Debian, Ubuntu). sar produces a file per 24-hour interval, and holds old databases for a month (default). But we desire more, and this is where ksar comes into the game.

2. ksar

ksar is not in the repositories of the common systems, yous have to download it from SourceForge.

ksar could be installed on your PC/workstation, it's not necessary to install it on the system to be monitored (often a server). Main prerequisite is Java, then you should take care that a recent Java is installed on the organization you wish to run ksar. In this instance the Lord's day-Java-6-jre was used.

ksar comes in a .zip archive, you should unpack it using unzip to a destination you like to have it, mayhap /opt or /usr/local/bin.

It is unpacked into a directory of it'southward own, for instance like

/usr/local/bin/kSar-v.0.six

Changing into this directory y'all should find a file named run.sh:

-rwxr-xr-x 1 root root     276 2008-11-25 19:xix run.sh*

I accept changed it's permission to be executable. You tin run ksar by issueing a

/usr/local/bin/kSar-5.0.6/run.sh &

Then the really userfriendly GUI should start. It looks like

kSar

So far not very interesting ..

ksar has a builtin functionality to contact remote systems with the help of SSH. As chances are high that y'all already use SSH to administer your systems with the assistance of SSH, this is quite handy. This functionality is nether "Data/Launch SSH command".

kSar

Another easy possibilty to do offline examinations of sar's performance information is, to merely re-create the ASCII reports produced by sar on the monitored organisation onto your workstation using scp, and examine them offline. Commencement you lot go an overview about the data stored in the dataset you lot accept loaded:

kSar

This is CPU load over a day:

kSar Advertisement

Or Memory Usage over a day:

kSar

It's besides possible to stretch the X-axis, to zoom into a smaller timerange:

kSar

Information technology's upward to you to farther explore the possibilities of sar/ksar. In my opinion they are a dignified source of info regarding arrangement performance and identification of bottlenecks, that could easily exist fabricated accessible.

iii. URL's

  • sysstat (sar): http://sebastien.godard.pagesperso-orangish.fr/
  • ksar: http://sourceforge.net/projects/ksar/
  • Debian: http://world wide web.debian.org/
  • Ubuntu: http://www.ubuntu.com/
  • CentOS: http://www.centos.org/
  • Gentoo: http://www.gentoo.org/

Suggested articles

Source: https://www.howtoforge.com/system-monitoring-with-sar-and-ksar

Posted by: walshculdrought78.blogspot.com

0 Response to "How To Use Ksar On Windows"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel