Sign in with
Sign up | Sign in
Your question

Help with processes and memory stuff for Linux

Last response: in Linux/Free BSD
Share
September 29, 2010 3:38:58 AM

1. What is the highest priority process currently running on my system? What is its nice number?

2. What command is used to change the nice number of an already running process?

3. What do the three decimal numbers in the display from uptime mean?

4. what does the 'u' in ps waux stand for?

5. what command will show a text representation of the lineage of all processes on the system?

6. What is a PID?

7. what command will show process names along with their PIDs and PPIDs?

8. what command will allow you to start a process at a different nice number?

9. On a linux system, what is the biggest (lowest priority) nice number?

10. On a linux system, what is the smallest (highest priority) nice number?

11. In plain English, what is the difference between VSZ and RSS in a ps display?

12. Whats the difference between CPU utilization and load average?

13. What are two differences between du and df?

14. How would you call the top command in such a way that it refreshes its display every 3 seconds?

15. On a linux system, how would you display the amount of disk space used on each physical partition, in Kilobytes,
Megabytes and gigabytes?

16. What are 3 ways to handle disk shortage problems?

17. briefly describe, in English as plain and simple as possible, the meaning of four columns from a vmstat display.

18. How to kill non-essential services running on my system and prevent them from starting on next boot?

a b 5 Linux
September 29, 2010 6:16:15 AM

You want us to do your class assignment for you? You'll never learn anything that way.
m
0
l
a b 5 Linux
September 29, 2010 6:41:58 AM

Come on, you could have at least made it sound like something other than homework. Nevertheless, I will give you all the answers: http://linuxmanpages.com/
m
0
l
Related resources
a b 5 Linux
September 29, 2010 1:45:11 PM

~$man man ;) 
m
0
l
September 29, 2010 2:22:47 PM

XD yes it is my hw, but never the less, I didn't know how to do it, and when I get the answers I am actually going to sit and do it to learn, cuz I actually do care! And thanks!
m
0
l
a b 5 Linux
September 29, 2010 2:27:41 PM

No. You'll learn more by doing the research for yourself and finding out the answers rather than asking someone here to spell it all out for you (although randomizer did give you the definitive, complete answer to all of your questions). And, let's face it, it's not very fair on all your classmates if we give you all the answers.
m
0
l
Anonymous
October 6, 2010 5:47:18 PM

hey ryan thanks for posting this. I'm in your class!!! LOL. thought I would just give warrant to ijacks comment, although I will make one correction. We arent learning anything through this class. The teacher is a joke! Rather than being titled Linux 1 this class should be titled how to search the internet for an answer to a question! That is all we are doing and all we are gaining experience in. The teacher tells us a bunch of random crap for 3 hours then says now go online and find the answers. Teaching my ass! What am i paying him to do? Honestly, after spending 20 minutes searching through blogs and articles for answers to one question Im too exhausted and frustrated to retain any information i'm looking at. I just say "thank goodness for finding the answer" and right it down without hardly looking at it so i can move on to the next twenty questions in time to get some sleep. What a joke of a class! What has education come to?!?!
m
0
l
a b 5 Linux
October 6, 2010 6:18:29 PM

Well, let's just hope that your teacher doesn't read Tom's Hardware.
m
0
l
Anonymous
October 6, 2010 6:38:13 PM

I hope he does, unless of course he is afraid to have his feelings hurt and be told he's a bad teacher. If he was a good teacher he would take this posting as a challenge and learn how to become a better teacher, however I'm confident he is more like the former than the latter. Besides we are not cheating, this is how he tells us to get our information is to search the web. Honestly whats the difference between getting your information for 20 questions from 20 different websites with information posted by someone else or from 1? Frankly its a tribute to efficiency and declaration affirming poor teaching methods
m
0
l
a b 5 Linux
October 6, 2010 7:17:34 PM

If you can't see the difference between asking someone to give you the answer to 20 questions and seeking out the information yourself to answer those questions then I guess that any teaching - good or poor - is going to be wasted on you.
m
0
l
Anonymous
October 6, 2010 8:51:19 PM

if you can see a difference between visiting 20 different websites and writing down an answer and going to one website and writing down 20 answers than i suppose there is no reason to debate on the matter. i am glad to see a convenient approach to getting the answers not because i am lazy but because the practice asserted by the teacher is fruitless. It is a poor method of learning and it is not a method of teaching to say i am going to provide you with 20 questions of which i will spend next to zero time discussing with you, now you go and find the answers. I can come up with 20 questions that i dont know about linux and go search the web for the answers without paying 156$ a credit to allow myself access to someone who has come up with those questions for me. Regardless of whether you agree with me or not the link that the individual provided on this blog did not simply provide the answers nor did it give information on all of the subjects discussed. As a result, I have now visited some 40 websites and written down answers to half of the questions assigned. Being that I still have learned little to nothing doesn't it sound better to visit one website and get the answers rather than 100 to get the answers? At the very least, i would be spared some hours that i could use trying to learn what i have just been asked to research. i would not disagree with you on this matter if the exercise, done with the proper method applied, yielded some positive results, however it does not, regardless of the method you use to acquire the information, bring you closer to the process of understanding. Therefore, being that with this manner of "teaching" I have little opportunity, aside from that which i create on my own, to learn anything I would prefer to spend less time pursuing this useless activity. I will have to come to understand this material myself, using my own methods as the ones the teacher has provided are not constructive. I would rather have purchased a book for 40 dollars rather than a "book on tape" (teacher) for over 500$. Conclusion, I dont blame this student for posting his homework assignment online.
m
0
l
a b 5 Linux
October 6, 2010 9:02:54 PM

But the truth is that those sort of questions fool no-one. (People keep posting their coursework expecting someone to do it for them.) And no-one is going to answer them for you (except for the one extremely good answer that was given - take heed of that, read the manual pages and you will learn a lot). What does that tell you?

If you think that the teaching is inadequate then complain to the college. Or buy a book, as you suggest. But just parroting a list of answers given to you isn't going to profit you much. The people here with enough experience to be able to answer those questions know the value of doing the work for yourself rather than relying on others to do it for you. Actually researching the questions - whether on the Internet or via books - is not the same as just asking someone to give you the answers. How to do that research is something that you need to learn.
m
0
l
a b 5 Linux
October 6, 2010 10:26:18 PM

I can tell you right now that what ijack is telling you is fantastic advice. I'm a student at a post-secondary institute as well, and I know for a fact that just asking somebody for answers will get you nowhere. Some of my teachers are bloody awful as well, but you just need to sit down, read a text book, and Google whatever you don't find. Asking somebody else to do your homework for you won't help you train for your career at all.
m
0
l
Anonymous
October 6, 2010 11:16:20 PM

appreciated but you missed my point. If the homework is worthless then why waste time doing it if there is an easier way? The knowledge comes from applying the answers in a practical hands-on way and from studying the homework not from gathering the answers. No one gains info from searching for answers and writing them down in the answer column. You gain knowledge by practicing and studying which is about 5% of what we do for this class sadly.
m
0
l
a b 5 Linux
October 6, 2010 11:35:56 PM

Then don't do the work. Problem solved.
m
0
l
October 6, 2010 11:42:07 PM

Wow, this much argument over a simple thing.. see some of us work 60 plus hours and have a kid and a house to take care of, and dont have lots of time to spend researching.....
m
0
l
a b 5 Linux
October 7, 2010 12:44:52 AM

ryanla2r said:
Wow, this much argument over a simple thing.. see some of us work 60 plus hours and have a kid and a house to take care of, and dont have lots of time to spend researching.....


I'm not trying to be a jerk about it. I know what it's like, I am going to school full time, paying rent, paying insurance, paying bills... you get the picture. When you registered for school, you should have assumed that your life would be consumed by it; that's how school is. If you don't have the time to do your homework assignments, then you can't put forth a full effort, and there's no point being at school. We're just trying to be helpful in a roundabout kind of way here. You're not gonna learn anything by just having us answering the questions. You'll learn by finding articles and papers written on the subject, and reading the background behind it. If you don't feel the assignment is fair, take it up with your teacher.
m
0
l
Anonymous
October 7, 2010 2:54:58 AM

Well again the point is missed. Its not that the assignment is not fair, its not that I dont want to put in effort, I'm an A student and already have a 4 year degree, its not about getting an easy answer. The point is the assignment teaches you nothing or at least next to nothing! It is pointless. its like when you were forced to learn Washingtons birthday in highschool or any other arbitrary fact. The fact alone is worthless unless you discuss how it impacts the nation and what effects it might have had on the development of the country...what it means to Americans now... Having said that obtaining the answers in a quick way seems to me the best option. Look this really is semantics at this point. The link didnt give all the answers anyways so for all that was worried that us kids wouldn't do our homework, i still had to visit some 40+ websites to complete my assignment and I wont learn anything until I study it and practice it on my system. I'm also a little irritated cause im watching the twins screw up. but we have bases loaded right now. Go Twinkies! P.S. thanks to folks on this website that do help out with questions cause academic community is huge!!!
m
0
l
a b 5 Linux
October 7, 2010 3:05:08 AM

ryanla2r said:
Wow, this much argument over a simple thing.. see some of us work 60 plus hours and have a kid and a house to take care of, and dont have lots of time to spend researching.....


Others of us may be in a similar situation and don't have the time to do other peoples' homework. People who have no interest in doing things for themselves are simply a drain on the intellectual resources available on this (and other) forum(s). We help those who help themselves.

And since you're so adamant that you gain nothing from your assignment, perhaps you can spare a thought for those who gain nothing from providing help, and only ask that those who seek help put in a reasonable amount of effort themselves. Simply throwing a bunch of questions into a thread is just poor etiquette.
m
0
l
Anonymous
October 7, 2010 4:44:45 AM

thats a fair point. If simply posting your questions on a forum drains the intellectual community's resources than it isn't beneficial to people who may be more deserving of receiving help. yeah I'll accept that argument.
m
0
l
a b 5 Linux
October 7, 2010 6:32:03 AM

ryanla2r said:
Wow, this much argument over a simple thing.. see some of us work 60 plus hours and have a kid and a house to take care of, and dont have lots of time to spend researching.....

If you work 60 hours plus a week and have a kid and house to take care of and still have time to take a course at a college then I sympathize with your position. But if you are that dedicated then I'm surprised that you can't see that you're wasting your time if you ask others to do your coursework for you. That is not what I call education.

I've no problem with helping people with problems, and I hope my record on these forums speaks for itself in that respect, but I don't think that it is doing anybody a favour to do their school or college homework for them.
m
0
l
a b 5 Linux
October 9, 2010 2:22:21 PM

One of the reasons I post down here is to help others, the other is to improve my knowledge. It alarms me the number of times I've solved things for people within the first three replies from Google.

I made the mistake of giving up on maths as I knew I'd have a calculator, some people seem to give up on retaining any knowledge as they know they can look it up. Personally I've found that the balance sits somewhere between the two ends of the scale. You don't need to remember everything, just have an understanding of the subject and to know what you're actually looking for.
m
0
l
October 10, 2010 9:26:22 PM

This was a useless topic from the absolute beginning. Haha, thanks for fueling this you guys. At the end of it all it was a good laugh, I guess? I spend this much time doing this and that... blah blah blah.

Okay? We get it! Everyone has problems managing time. I am in school too, boohoo, whoa is me. Sorry, you guys sound like 5 year-olds though bickering and carrying on about nothing.

Who's better than who? Round 2? FIGHT!
m
0
l
a b 5 Linux
October 10, 2010 10:43:13 PM

peptobismal said:
This was a useless topic from the absolute beginning. Haha, thanks for fueling this you guys. At the end of it all it was a good laugh, I guess? I spend this much time doing this and that... blah blah blah.

Okay? We get it! Everyone has problems managing time. I am in school too, boohoo, whoa is me. Sorry, you guys sound like 5 year-olds though bickering and carrying on about nothing.

Who's better than who? Round 2? FIGHT!


We were trying to get the point across that we help people that help themselves, and it's against our beliefs to just do people's work for them. Making childish remarks doesn't improve the situation.
m
0
l
a b 5 Linux
October 11, 2010 9:47:35 AM

peptobismal said:
This was a useless topic from the absolute beginning. Haha, thanks for fueling this you guys. At the end of it all it was a good laugh, I guess? I spend this much time doing this and that... blah blah blah.

Okay? We get it! Everyone has problems managing time. I am in school too, boohoo, whoa is me. Sorry, you guys sound like 5 year-olds though bickering and carrying on about nothing.

Who's better than who? Round 2? FIGHT!



No, we were all in complete agreement that you are nothing but an arrogant tosser.
m
0
l
a b 5 Linux
October 11, 2010 10:00:26 AM

Sounds fair to me. ;) 
m
0
l
October 18, 2010 2:21:44 AM

Listen i understand wear you are all coming from. And honestly do not care. this is a site people come to post something and get help hw or not. I dont know how to do it, dont have a lot of time, so if people help me thru it. I learn, and understand, so you dont want to help, then why are you here?

m
0
l
a b 5 Linux
October 18, 2010 2:40:54 AM

Have you even read a single post in this thread?
m
0
l
a b 5 Linux
October 18, 2010 7:52:29 AM

ryanla2r said:
I learn, and understand, so you dont want to help, then why are you here?

I'm here to have discussions with, and sometimes help, people who are interested in Linux and UNIX in general. But I'm not at anyone's beck and call; I choose what I want to post and what I don't want to. I'm not here to help someone who wants to cheat on their college homework.

I guess we can all see why you're here.;)
m
0
l
a b 5 Linux
October 18, 2010 7:10:54 PM

I think it's time to take out the trash..
m
0
l
October 26, 2010 6:10:51 PM

Ijack said:
I'm here to have discussions with, and sometimes help, people who are interested in Linux and UNIX in general. But I'm not at anyone's beck and call; I choose what I want to post and what I don't want to. I'm not here to help someone who wants to cheat on their college homework.

I guess we can all see why you're here.;)


I dropped my Linux class, one due to the fact that no one wanted to help, and 2 because it wasn't a fit for me. I busted my ass in that class, and this was kinda a last resort for help..

I find it almost insulting that you come on here and degrade someone and tell them there "cheating" I came on here for help, because i found this hard. Never asked you to "do my homework" asked for someone to guide me the right way, and or to help me understand what the homework was about so i could learn it.

You clam you are here to help people who want to learn, and here you are insulting and belittling someone requesting help...


Thanks for nothing, and good day.
m
0
l
a b 5 Linux
October 26, 2010 6:24:09 PM

Do you think any of us are going to loose any sleep over it?

m
0
l
a b 5 Linux
October 26, 2010 6:40:04 PM

ryanla2r said:
I dropped my Linux class

Good decision. Just don't blame others for your own shortcomings.
m
0
l
October 26, 2010 6:45:05 PM

No just think you are insulting and rude, and hypocrites.
m
0
l
a b 5 Linux
October 27, 2010 12:34:16 AM

ryanla2r said:
No just think you are insulting and rude, and hypocrites.


Okay, I've been trying to be polite as possible, but I've had it. Leave. Nobody wants you here. You're exactly the reason so many forums have such a bad reputation.

If you don't know how to do something, make an effort to find out. Google it. Show us what you found, show us what you still couldn't find. If your teacher is going to fast, then talk to him about it. We aren't responsible for you. I really don't appreciate being called rude when you strolled in demanding answers for an assignment which you made zero attempt to even TRY to complete.

You're not the only one in post-secondary. I am too, as are many others. I have some bloody AWFUL teachers, I'm doing poorly in classes. Such is life. I persevere, I figure it out, I talk it over with the teacher. That's all I can do. I don't sign up to electronics forums saying "Doing this assignment for me because I'm too lazy to do it myself."
m
0
l
!