LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-10-2006, 11:21 AM   #1
rafiqul
Member
 
Registered: Jan 2005
Location: Chicago
Distribution: Fedora Core 4
Posts: 46

Rep: Reputation: 15
sar iostat sadf mpstat ? vmstat ? for Cent OS 4.2


My OS is Cent OS 4.2, I need to have all the utilities shown (sar, iostat, sadf, mpstat, and also vmstat). I understand that sar...mpstat are from sysstat package, but I could not find the approrpiate mirror, and verion for compatible OS -Cent OS 4.2.

Also vmstat where to find it ?

Can anybody help me to find those, and a little about install instruction ?

many thanks
 
Old 02-10-2006, 11:33 AM   #2
depdiver
Member
 
Registered: Aug 2004
Distribution: RedHat Enterprise, SLED 10, Freespire
Posts: 49

Rep: Reputation: 15
I just did a cd install of CentOS 4.2. Then did a "yum install sysstat" and it loaded right up.

Dep
 
Old 02-10-2006, 12:09 PM   #3
rafiqul
Member
 
Registered: Jan 2005
Location: Chicago
Distribution: Fedora Core 4
Posts: 46

Original Poster
Rep: Reputation: 15
I guess then I have yum question...
when I do "yum install sysstat" - I see error...

Setting Install Process
Setting up repositories..
http://mirror.centos.org/centos/4/up...ata/repomd.xml [Errno 4] IO Error: <urlopen error (-2, Name or Service not known')>
Trying other mirror.
Cannot open/read repmod.xml file for repository:update
failure:repodata/repomd.xml from update : [Errno 256] No more mirror to try.

Please help....
 
Old 02-10-2006, 12:41 PM   #4
depdiver
Member
 
Registered: Aug 2004
Distribution: RedHat Enterprise, SLED 10, Freespire
Posts: 49

Rep: Reputation: 15
can you surf the internet from this machine? can you ping mirror.centos.org? I have seen that error before when I was unable to communicate with the Internet. If you are using DHCP, sometimes dhclient will fix it. Here is my repo list:

[base]
name=CentOS-$releasever - Base
baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4

#released updates
[update]
name=CentOS-$releasever - Updates
baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4

#packages used/produced in the build but not released [addons] name=CentOS-$releasever - Addons baseurl=http://mirror.centos.org/centos/$releasever/addons/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4

#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4

#additional packages that extend functionality of existing packages [centosplus] name=CentOS-$releasever - Plus baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4

#contrib - packages by Centos Users
[contrib]
name=CentOS-$releasever - Contrib
baseurl=http://mirror.centos.org/centos/$releasever/contrib/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4

#packages in testing
[testing]
name=CentOS-$releasever - Testing
baseurl=http://mirror.centos.org/centos/$releasever/testing/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
 
Old 02-10-2006, 12:49 PM   #5
depdiver
Member
 
Registered: Aug 2004
Distribution: RedHat Enterprise, SLED 10, Freespire
Posts: 49

Rep: Reputation: 15
Here's a link to the file if that helps:
http://wuarchive.wustl.edu/pub/linux...0.5-1.i386.rpm
 
Old 07-16-2013, 03:03 PM   #6
anish2good
LQ Newbie
 
Registered: Jul 2011
Posts: 15

Rep: Reputation: Disabled
Why don't you use "which" command, using which command will tell where is the location of the command

which vmstat
which iostat
which free

linux performance tuning commands, uptime,top,mpstat,iostat,vmstat ,free,ping,Dstat Tutorial @
 
Old 07-16-2013, 03:29 PM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,343

Rep: Reputation: 3909Reputation: 3909Reputation: 3909Reputation: 3909Reputation: 3909Reputation: 3909Reputation: 3909Reputation: 3909Reputation: 3909Reputation: 3909Reputation: 3909
Quote:
Originally Posted by anish2good View Post
Why don't you use "which" command, using which command will tell where is the location of the command

which vmstat
which iostat
which free

linux performance tuning commands, uptime,top,mpstat,iostat,vmstat ,free,ping,Dstat
...except this thread has been closed now for SEVEN YEARS, and that installing the sysstat package as was noted before installs the commands you listed?

Also, you've made 15 posts, and from what I can see, 12 of them link to your own youtube videos.

Last edited by TB0ne; 07-16-2013 at 03:33 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Difference between Sar and Vmstat blurblur Linux - Newbie 3 05-03-2005 10:14 PM
how to install iostat, mpstat, vmstat commands in RHEL 3.0 kgvs_prasad Linux - Enterprise 2 02-08-2005 01:02 PM
"sar" and "iostat" equivalents on Debian? aditya_shah Debian 8 08-02-2004 12:53 AM
Monitoring Script (using mpstat) tip ganninu Programming 0 05-12-2004 06:31 AM
Cannot find sar, mpstat, iostat etc. on RedHat 8 rlinuxr Linux - Software 1 08-05-2003 07:33 PM


All times are GMT -5. The time now is 06:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration