LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 02: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, 02:33 PM   #2
biosboy4
Member
 
Registered: Aug 2015
Distribution: Debian, SUSE, NXOS
Posts: 242

Rep: Reputation: 38
Here ya go:

https://lmddgtfy.net/?q=top%20ps%20kill
 
Old 06-27-2016, 04:15 PM   #3
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
oi vey?

Last edited by Habitual; 06-27-2016 at 04:16 PM.
 
Old 06-27-2016, 04:16 PM   #4
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
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 04:19 PM.
 
Old 06-27-2016, 08:57 PM   #5
Fred Caro
Senior Member
 
Registered: May 2007
Posts: 1,007

Rep: Reputation: 167Reputation: 167
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, 09:46 PM   #6
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
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, 05:48 AM   #7
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

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

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
"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, 08:40 AM   #9
biosboy4
Member
 
Registered: Aug 2015
Distribution: Debian, SUSE, NXOS
Posts: 242

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, 08:47 AM   #10
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,220

Rep: Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309
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, 09:55 AM   #11
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,776

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
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, 11:49 AM   #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, 07:23 PM   #13
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,649
Blog Entries: 4

Rep: Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934
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, 07:51 AM   #14
geckono1
LQ Newbie
 
Registered: Jun 2016
Posts: 3

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


Reply



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 04:39 AM
[SOLVED] X: "loading extension glx" "no screens found" "fatal server error" (w/ nvidia driver) Geremia Slackware 7 12-29-2014 11:00 AM
[SOLVED] "net rpc" "failed to connect to ipc$ share on" or "unable to find a suitable server" larieu Linux - General 0 11-09-2014 12:45 AM
[SOLVED] How to add the "dialout" group in my system without the command "groupadd"? floppy_stuttgart Linux - Networking 3 09-19-2013 02:55 PM
Standard commands give "-bash: open: command not found" even in "su -" and "su root" mibo12 Linux - General 4 11-11-2007 10:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:29 PM.

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
Open Source Consulting | Domain Registration