4
votes
2answers
109 views

How can I measure how much RAM has been used by a command

I'm trying to measure the memory of a process that I call via the command line (i.e., I want to find out much RAM it takes to for the process ). Is there any command that I can add to the command ...
1
vote
1answer
60 views

in Ubuntu, why “df” and “du” commands shows different disk usage?

i cannot access ubuntu system on my pc, the error message: "the system is running in low graphics mode" and i tried some commands i searched from internet. i found out a problems seems there is ...
3
votes
1answer
48 views

what will happen If RAM set to 1000 from 1024?

While I am looking at man page of free I came across --si Use power of 1000 not 1024. So from that line we can say that from 1GB(1024MB) of RAM it will use only 1000MB of RAM. But why we are ...
1
vote
1answer
29 views

The limits is restored to the defaults after I reboot

I want to remove "memorylocked" and "maxproc" limits. I am using tcsh shell. I read that if I use "#limit memorylocked unlimited" and "#limit maxproc unlimited" then they will be set to unlimited. I ...
2
votes
1answer
107 views

Getting specific 'Out of memory!' message when running very involved Perl script [closed]

I'm running a Perl script that parses information from around 7,000 HTML files. Probably not really relevant, but I'm just trying to describe that this is, well, doing a lot of stuff. I originally had ...
14
votes
2answers
1k views

Is it possible to query maximum ram my mobo takes?

Is it possible to query through Terminal how much ram my motherboard can take? I'm looking to see if i can even upgrade.
0
votes
1answer
2k views

Display sums of memory usage of “similar processes”

I want to have a whole list of all the processes with their memory usage. I want to sum up the memory usage of similar processes (i.e. processes with the same name or the same father process) How ...
5
votes
1answer
3k views

fork: Cannot allocate memory

frequently getting 'fork: Cannot allocate memory' when running commands over ssh. I have 4Gb of RAM and usually 2Gb free. This happens since I've upgraded ubuntu to 11.10. Drives me crazy already. I ...
1
vote
2answers
971 views

“Cannot fork” error messages

This happens with many different programs from the terminal. Usually accompanied with some error message about not being able to allocate memory. When I try "free -m" this is the output: ...
7
votes
6answers
1k views

How to determine where biggest files/directories on my system are stored?

I was wondering how do you know where the largest files in my system are stored. For example--- Disk Space Used: 1GB Java: 500MB Java Percentage: 50% maybe represented in a pie chart. Maybe? I know ...