LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-20-2008, 07:10 AM   #1
ajeetraina
Member
 
Registered: Jun 2007
Location: India
Distribution: Ubuntu,Red Hat, Fedora
Posts: 292

Rep: Reputation: 30
Slow Speed???


In one of my friend interview it was asked that "if Linux machine is in network and running slow.How gonna you check it?

Pls Help
 
Old 05-20-2008, 07:45 AM   #2
ChrisAbela
Member
 
Registered: Mar 2008
Location: Malta
Distribution: Slackware and Debian
Posts: 514

Rep: Reputation: 108Reputation: 108
It depends. Are the other applications also slow? Pinging could give hints. For me there are too many variables to reply. I hope someone else can give a better reply.
 
Old 05-20-2008, 08:21 AM   #3
Nathanael
Member
 
Registered: May 2004
Location: Karlsruhe, Germany
Distribution: debian, gentoo, os x (darwin), ubuntu
Posts: 940

Rep: Reputation: 32
looks like some homework to me :-)
 
Old 05-20-2008, 08:33 AM   #4
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
If it is homework, say that it is.

A better explanation overall would be great. Slow in what way? Network transfer speed slow, or cpu slow, or harddisk I/O slow, or something else going slow?
 
Old 05-20-2008, 09:38 AM   #5
thunyiwe
LQ Newbie
 
Registered: Nov 2006
Distribution: RHEL4,5,6&7,Debian sarge,etch & Fedora 18,19,20
Posts: 28

Rep: Reputation: 15
I also say it depends, but you can use the top command to see whats killing ur machine resources or check running procceses using ps command

Last edited by thunyiwe; 05-20-2008 at 09:39 AM. Reason: spelling error
 
Old 05-20-2008, 09:44 AM   #6
Nathanael
Member
 
Registered: May 2004
Location: Karlsruhe, Germany
Distribution: debian, gentoo, os x (darwin), ubuntu
Posts: 940

Rep: Reputation: 32
vmstat -1 is more acurate than top...
at least at finding out where the issue lies (IO net cpu mem...)
 
Old 05-20-2008, 08:13 PM   #7
fbianconi
Member
 
Registered: Apr 2008
Location: argentina
Distribution: Arch
Posts: 86

Rep: Reputation: 22
Quote:
looks like some homework to me :-)
well it does, but anyway he needs help. He is not asking you to do the homework, but he doesn't know where to begin. My advice: check google something like linux bencharking howto
and please read
How To Ask a Question
I think it's a summary of what Mr. Eric Raymond said about how to ask good questions.
 
Old 05-21-2008, 01:01 AM   #8
ajeetraina
Member
 
Registered: Jun 2007
Location: India
Distribution: Ubuntu,Red Hat, Fedora
Posts: 292

Original Poster
Rep: Reputation: 30
My Friend in reply said the following way:

"...First we need to check processes running thrugh #ps -auxf.
Inerviewer: If all the process status looks fine.
Friend: "...Then we should check with vmstat.."
Intrvwer: That too sounds fine.
Friend:"...then lets see firewalling...stuff".
Intrv: Firewall seems ok"...


What Could be the expected questions???
 
Old 05-21-2008, 02:18 AM   #9
Nathanael
Member
 
Registered: May 2004
Location: Karlsruhe, Germany
Distribution: debian, gentoo, os x (darwin), ubuntu
Posts: 940

Rep: Reputation: 32
again! it depends WHAT is slow: processes on the computer or the network connection!

just - slow speed - is not enough info.

if all processes look fine, and there is not a lot of IO, then i would assume that it's the network connection in question (vmstat does _not_ show network details, and i would run vmstat before ps).

iptraf can give live information (also ntop, or monitoring with vnstat)
but then also if there is a look in the network, the computers connection will be slow.
and if they dont know what a loop is, tell them to take a hub and stick both ends of a network cable into it, and then attach it someone in the network!
 
  


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
Very slow connection speed G00fy Linux - Networking 1 07-12-2007 12:56 PM
Speed from PC to PC very slow ddales Linux - Wireless Networking 0 02-22-2007 07:32 AM
slow ripping speed solar1951 Linux - Hardware 11 01-06-2007 10:24 PM
NIC transfer speed fast... receive speed slow landev Linux - Networking 5 11-07-2006 04:09 PM
a slow work speed kiru Linux - Newbie 5 04-09-2003 04:14 PM


All times are GMT -5. The time now is 11:50 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