LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-27-2016, 03:01 PM   #1
geckono1
LQ Newbie
 
Registered: Jun 2016
Posts: 3

Rep: Reputation: Disabled
How could a computer technician use the "top" command with "ps" and "kill" to investigate how a system is misbehaving?


Hi,
For my controlled assessment in GCSE Computing one of the questions is:

How could a computer technician use the "top" command with "ps" and "kill" to investigate how a system is misbehaving?

I have to evaluate the usefulness of "top", and the question advises you do do primary research and ask IT professionals their opinions about this question, in order to use the information to evaluate in my essay.

If any one could advise me with this I would be very grateful,
Thanks
 
Old 06-27-2016, 03:33 PM   #2
biosboy4
Member
 
Registered: Aug 2015
Distribution: Devuan/LFS
Posts: 235

Rep: Reputation: 38
Here ya go:

https://lmddgtfy.net/?q=top%20ps%20kill
 
Old 06-27-2016, 05:15 PM   #3
Habitual
LQ Addict
 
Registered: Jan 2011
Location: Youngstown, Ohio
Distribution: LM17.1/Xfce4.11.8
Posts: 7,159
Blog Entries: 10

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
oi vey?

Last edited by Habitual; 06-27-2016 at 05:16 PM.
 
Old 06-27-2016, 05:16 PM   #4
Habitual
LQ Addict
 
Registered: Jan 2011
Location: Youngstown, Ohio
Distribution: LM17.1/Xfce4.11.8
Posts: 7,159
Blog Entries: 10

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
Quote:
Originally Posted by geckono1 View Post
I have to evaluate the usefulness of "top", and the question advises you do do primary research and ask IT professionals their opinions about this question, in order to use the information to evaluate in my essay.
I think you should follow direction and evaluate the usefulness of top and ps and kill, then ask questions of professionals.
Hate to be blunt, but you did ask.

And: This seems worded like an assignment or homework?

Last edited by Habitual; 06-27-2016 at 05:19 PM.
 
Old 06-27-2016, 09:57 PM   #5
Fred Caro
Member
 
Registered: May 2007
Posts: 999

Rep: Reputation: 166Reputation: 166
I am heartened, GCSE GNU/Linux on the (GB) national curriculum it has indeed been a long time coming.

As to your 'homework' you might want to look at reports as opposed to acting upon those reports.

ps, regarding the 'attach site' posted by 'biosboy4' someone needs to remove the link.

Fred.
 
Old 06-27-2016, 10:46 PM   #6
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 2,321
Blog Entries: 1

Rep: Reputation: 447Reputation: 447Reputation: 447Reputation: 447Reputation: 447
nmon is probably more useful. But top can show things like cpu usage (per running process and total). As well as ram and other usage stats. Not that useful if you don't look at it (over time) to see what's changing. But nice to have running and visible if your system becomes unresponsive. Not really anything that you couldn't derive by using man or pressing F1 while running stuff.

$ man top
$ man ps
$ man kill
 
Old 06-28-2016, 06:48 AM   #7
Habitual
LQ Addict
 
Registered: Jan 2011
Location: Youngstown, Ohio
Distribution: LM17.1/Xfce4.11.8
Posts: 7,159
Blog Entries: 10

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
8430 reasons to use a search engine.
 
Old 06-28-2016, 09:00 AM   #8
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,600

Rep: Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241
"kill" is not an investigation tool. It is a "how can I change what is going on" tool. Killing processes changes things.
 
Old 06-28-2016, 09:40 AM   #9
biosboy4
Member
 
Registered: Aug 2015
Distribution: Devuan/LFS
Posts: 235

Rep: Reputation: 38
Quote:
ps, regarding the 'attach site' posted by 'biosboy4' someone needs to remove the link.
Did I do something wrong? I will delete it if needed. I definitely don't want to break any rules or anything. Let me know, thanks!
 
Old 06-28-2016, 09:47 AM   #10
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: Slackware
Posts: 7,002

Rep: Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520
Quote:
Originally Posted by geckono1 View Post
Hi,
For my controlled assessment in GCSE Computing one of the questions is:

How could a computer technician use the "top" command with "ps" and "kill" to investigate how a system is misbehaving?
Was "misbehaving" actually the word they used?
 
Old 06-28-2016, 10:55 AM   #11
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: CentOS
Posts: 2,958

Rep: Reputation: 1267Reputation: 1267Reputation: 1267Reputation: 1267Reputation: 1267Reputation: 1267Reputation: 1267Reputation: 1267Reputation: 1267
Quote:
Originally Posted by biosboy4 View Post
Did I do something wrong? I will delete it if needed. I definitely don't want to break any rules or anything. Let me know, thanks!
There's nothing wrong with that link. Someone is either confused about what that "Let Me Duck Duck Go That For You" site does, or is somehow unaware that duckduckgo.com is a popular search engine.
 
Old 06-28-2016, 12:49 PM   #12
geckono1
LQ Newbie
 
Registered: Jun 2016
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thanks all :)

PS.
Quote:
Originally Posted by Habitual View Post
I think you should follow direction and evaluate the usefulness of top and ps and kill, then ask questions of professionals.
Hate to be blunt, but you did ask.

And: This seems worded like an assignment or homework?
It's a worded coursework assignment, we have to get evidence and information to use when writing it.
 
Old 06-28-2016, 08:23 PM   #13
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 7,151

Rep: Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203
Okay, let me briefly try to "turn this thread into a more-profitable direction," without "giving away The Answer."

A computer technician, upon being presented by The Almighty Customer™ with an Unknown Problem™ that consists (merely, and vaguely ...) of: "it's too slow," is probably going to first want to know:
Quote:
Well, first of all, "what t'hell is this computer doing, right now?"

The obvious advantage of top is that you can sort the resulting display in various ways.

But then, having identified a particular PID = Process-ID as a possible culprit, you might need to know more about it than top alone might display.

Then, finally, you might wish to try to remediate the problem by "killing" something.

The basic purpose of any such question is to gauge your ability to "think on your feet." If you are presented with a raging fire, what do you intend to do? Do you, first of all, recognize that you must determine why the fire is raging? Do you have at-least an intuitive grasp of "probable causes," and of how to go about investigating them? And then, do you know what you might choose to do next?
 
1 members found this post helpful.
Old 07-03-2016, 08:51 AM   #14
geckono1
LQ Newbie
 
Registered: Jun 2016
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thanks for all the help
 
  


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
kindly explain this line.... asm volatile(".byte 15;.byte 49" : "=a"(bottom),"=d"(top)); zaki Rahat Linux - Newbie 1 03-20-2016 05:39 AM
[SOLVED] X: "loading extension glx" "no screens found" "fatal server error" (w/ nvidia driver) Geremia Slackware 7 12-29-2014 12:00 PM
[SOLVED] "net rpc" "failed to connect to ipc$ share on" or "unable to find a suitable server" larieu Linux - General 0 11-09-2014 01:45 AM
[SOLVED] How to add the "dialout" group in my system without the command "groupadd"? floppy_stuttgart Linux - Networking 3 09-19-2013 03:55 PM
Standard commands give "-bash: open: command not found" even in "su -" and "su root" mibo12 Linux - General 4 11-11-2007 11:18 PM


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