How could a computer technician use the "top" command with "ps" and "kill" to investigate how a system is misbehaving?
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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?
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.
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.
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.
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.